problem w/ lirc and streamzap usb remote under Arch/xbmc-svn
#1
I'm running Arch Linux i686 which uses lirc v0.8.6 with a streamzap usb remote. I'm trying to get it working and ultimately working with xbmc-svn. For now, I can't get just the remote to function 100 % of the time.

1) I installed both the lirc and lirc-utils packages
2) I copied over the lircd.conf for my remote from /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap
3) I modprobed both modules listed on this page,
4) I started lircd.

I'm using the standard streamzap usb remote/receiver. When I test it with irw, it works for a little while, but then lircd seems to ignore the remote commands completely. I hit buttons, but nothing gets registered by irw.

Code:
# cp /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap /etc/lirc/lircd.conf

# modprobe lirc_dev
# modprobe lirc_streamzap

# /etc/rc.d/lircd start
:: Starting LIRC Daemon

$ irw
00000000000028cc 00 CH_UP Streamzap_PC_Remote
00000000000028ce 00 CH_DOWN Streamzap_PC_Remote
00000000000028c8 00 8 Streamzap_PC_Remote
00000000000028c5 00 5 Streamzap_PC_Remote
00000000000028d2 00 OK Streamzap_PC_Remote
00000000000028d1 00 LEFT Streamzap_PC_Remote
00000000000028d1 01 LEFT Streamzap_PC_Remote
00000000000028d1 00 LEFT Streamzap_PC_Remote
00000000000028d3 00 RIGHT Streamzap_PC_Remote
00000000000028d3 00 RIGHT Streamzap_PC_Remote
00000000000028d3 00 RIGHT Streamzap_PC_Remote
00000000000028d3 00 RIGHT Streamzap_PC_Remote
00000000000028d4 00 DOWN Streamzap_PC_Remote
00000000000028d4 00 DOWN Streamzap_PC_Remote
00000000000028d4 00 DOWN Streamzap_PC_Remote

<<<At this poiint, lircd just ignores the buttons>>>
All I get in my /var/log/lircd is:
Code:
Nov 27 05:25:37 lightning lircd: caught signal
Nov 27 05:25:40 lightning lircd: lircd(default) ready, using /var/run/lirc/lircd
Nov 27 05:25:43 lightning lircd: accepted new client on /var/run/lirc/lircd
Nov 27 05:26:04 lightning lircd: removed client
Suggestions are appreciated.

/etc/lirc/lircd.conf
Code:
#
# 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
Need help programming a Streamzap remote?
Reply
#2
Unbelievable! The problem was that the batteries in the remote were low, I changed them and it works just fine now. My other remotes just don't work when the batts get low. Learn something new every day I guess!
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
problem w/ lirc and streamzap usb remote under Arch/xbmc-svn0