You are not logged in.

#1 2009-11-26 21:22:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

problem w/ lirc and streamzap usb remote under Arch/xbmc-svn

I have xbmc-svn 24924 running on an Arch i686 box just fine.  I'm having no joy getting my streamzap USB remote to work with it though.

1) I have lirc installed and it's running
2) I added two files, /etc/lirc/lircd.conf and ~/.xbmc/userdata/Lircmap.xml which I found in the xbmc forums.

Basically, when I test the remote using irw it seems to be working:

$ irw
00000000000028d4 00 DOWN Streamzap_PC_Remote
00000000000028d2 00 OK Streamzap_PC_Remote
00000000000028d0 00 UP Streamzap_PC_Remote
00000000000028d7 00 PLAY Streamzap_PC_Remote
00000000000028d3 00 RIGHT Streamzap_PC_Remote
00000000000028d0 00 UP Streamzap_PC_Remote

I get no movement at all in xbmc though.  Help is appreciated - thanks in advance!

/etc/lirc/lircd.conf

#
# this config file was automatically generated
# using lirc-0.7.1-CVS(serial) on Fri Feb  4 23:20:56 2005
#
# contributed by Christoph Bartelmus
#
# brand:                       Streamzap
# model no. of remote control: PC Remote
# devices being controlled by this remote: USB receiver
#

begin remote

  name  Streamzap_PC_Remote
  bits            6
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           889  889
  zero          889  889
  plead         889
  pre_data_bits   8
  pre_data       0xA3
  gap          108344
  toggle_bit      2


      begin codes
          0                        0x00
          1                        0x01
          2                        0x02
          3                        0x03
          4                        0x04
          5                        0x05
          6                        0x06
          7                        0x07
          8                        0x08
          9                        0x09
          POWER                    0x0A
          MUTE                     0x0B
          CH_UP                    0x0C
          VOL_UP                   0x0D
          CH_DOWN                  0x0E
          VOL_DOWN                 0x0F
          UP                       0x10
          LEFT                     0x11
          OK                       0x12
          RIGHT                    0x13
          DOWN                     0x14
          MENU                     0x15
          EXIT                     0x16
          PLAY                     0x17
          PAUSE                    0x18
          STOP                     0x19
          |<<                      0x1A
          >>|                      0x1B
          RECORD                   0x1C
          <<                       0x1D
          >>                       0x1E
          RED                      0x20
          GREEN                    0x21
          YELLOW                   0x22
          BLUE                     0x23
      end codes

end remote

~/.xbmc/userdata/Lircmap.xml

<remote device="Streamzap_PC_Remote">
        <pause>PAUSE</pause>
        <stop>STOP</stop>
        <forward>>></forward>
        <reverse><<</reverse>
        <left>LEFT</left>
        <right>RIGHT</right>
        <up>UP</up>
        <down>DOWN</down>
        <select>OK</select>
        <pageplus>CH_UP</pageplus>
        <pageminus>CH_DOWN</pageminus>
        <back>EXIT</back>
        <menu>MENU</menu>
        <title>PLAY</title>
        <info>More</info>
        <skipplus>>>|</skipplus>
        <skipminus>|<<</skipminus>
        <display>Teletext</display>
        <start>Home</start>
        <record>RECORD</record>
        <volumeplus>VOL_UP</volumeplus>
        <volumeminus>VOL_DOWN</volumeminus>
        <mute>MUTE</mute>
        <power>POWER</power>
        <myvideo>Videos</myvideo>
        <mymusic>Music</mymusic>
        <mypictures>Pictures</mypictures>
        <mytv>TV</mytv>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
        <mytv>RED</mytv>
        <mymusic>GREEN</mymusic>
        <mypictures>YELLOW</mypictures>
        <myvideo>BLUE</myvideo>
    </remote>

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-11-27 10:37:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: problem w/ lirc and streamzap usb remote under Arch/xbmc-svn

Got it working (kind of).

1) Removed ~/.xbmc/userdata/Lircmap.xml but pasted the contents of that file into /usr/share/xbmc/system/Lircmap.xml

Now xbmc responds to remote commands for a little while, but then it just goes dead and ignores the remote completely.  I opened up a new thread here.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-02-18 16:35:18

ould
Member
Registered: 2007-05-22
Posts: 124

Re: problem w/ lirc and streamzap usb remote under Arch/xbmc-svn

I just wanted to comment on this thread in case anyone else comes across it while searching for streamzap issues. Thanks to the OP I used his config, but I spent the past 2 hours pulling my hair out trying to figure out why I couldn't get it to work even though everything seemed to be working in IRW and even the XBMC log was showing keypresses from the remote. Turns out there is a couple errors in the OP's config which was borking the whole config file.

<forward>>></forward>
<reverse><<</reverse>

<skipplus>>>|</skipplus>
<skipminus>|<<</skipminus>

The way these are presented with the  "<<" it screws up the xml coding. I personally just removed those entries and that fixed it for me, but I think if you want to use those buttons you need to use the ascii codes for those symbols.

Hope this helps someone else. :-)

kevin

Offline

Board footer

Powered by FluxBB