Greg Woods wrote:

On Sun, 2005-09-04 at 21:22 +1000, Ben wrote:

Please post your modprobe lirc_streamzap dmesg


First I see:

lirc_dev: no version for "struct_module" found: kernel tainted.
lirc_dev: IR Remote Control driver registered, at major 61 lirc_streamzap[-1]: Streamzap, Inc. Streamzap Remote Control on usb3:3
attached
lirc_dev: lirc_register_plugin: sample_rate: 0
usbcore: registered new driver lirc_streamzap
lirc_streamzap $Revision: 1.12 $ registered

But later I see:


usb_unlink_urb() is deprecated for synchronous unlinks.  Use B()
instead.
Badness in usb_unlink_urb at drivers/usb/core/urb.c:461 (Tainted:
PF    )
[<c02c7d30>] usb_unlink_urb+0x98/0x9a
[<dc9d1ddb>] irctl_close+0x77/0xe3 [lirc_dev]
[<c01785d7>] __fput+0xdc/0x10a
[<c0176d13>] filp_close+0x3f/0x6f
[<c010394d>] syscall_call+0x7/0xb
Yes, I saw this too when I unplugged the usb receiver

The file I'm using is the one I got from
lirc.org though:

# 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
Yes same file I have here

Since  would appear that Chris s one of the main developers for lirc, I
would presume this file has been well tested with a Streamzap remote and
this module. From that, my best guess is that I've got a new style
remote, that needs it's own lircd.conf file.

To that end, I tried running "irrecord" to produce a lircd.conf file.
When I did that, and then ran "irw", every button showed up as the first
one declared ("OK" in this case).

When I use irw I then get a syslog message (assuming you used syslog log compile option) showing a connection
# cat /var/log/syslog |  grep lirc
Sep 6 10:07:30 localhost kernel: lirc_dev: IR Remote Control driver registered, at major 61 Sep 6 10:07:30 localhost kernel: lirc_streamzap: no version for "lirc_unregister_plugin" found: kernel tainted. Sep 6 10:07:30 localhost kernel: lirc_streamzap[-1]: Streamzap, Inc. Streamzap Remote Control on usb1:2 attached Sep 6 10:07:30 localhost kernel: lirc_dev: lirc_register_plugin: sample_rate: 0 Sep 6 10:07:30 localhost kernel: usbcore: registered new driver lirc_streamzap Sep 6 10:07:30 localhost kernel: lirc_streamzap $Revision: 1.12 $ registered
Sep  6 10:07:31 localhost lircd-0.7.2[4710]: lircd(streamzap) ready
Sep 6 10:07:31 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd Sep 6 10:07:51 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd Sep 6 13:25:07 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd
Sep  6 13:28:05 localhost lircd-0.7.2[4710]: removed client
Sep 6 13:30:50 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd
Sep  6 13:35:44 localhost lircd-0.7.2[4710]: removed client
Sep 6 13:36:11 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd
Sep  6 13:40:45 localhost lircd-0.7.2[4710]: removed client


After running irw I see:
Sep 6 14:25:29 localhost lircd-0.7.2[4710]: accepted new client on /dev/lircd
Sep  6 14:25:30 localhost lircd-0.7.2[4710]: removed client


Do you see the connection attempt with irw? Do you see any other lirc errors

I will need to play with irrecord more
before I make any conclusions, but it's clear that the stock lircd.conffile does not work with my remote.
Mine works with this file.  IIRC irecord bypasses the daemon, irw doesn't
Let us know how you progress.

Cheers Ben
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to