Summary: | LIRC stops working after upgrading to lirc-0.7.0-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jim Faulkner <dogshu> |
Component: | Current packages | Assignee: | Heinrich Wendel (RETIRED) <lanius> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | CC: | g1gsw, throstur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jim Faulkner
2005-02-06 18:42:06 UTC
maybe the device is not correctly set in /etc/conf.d/lirc? i remember that it changed during the development of 0.7 dogshu@delta-9 conf.d $ pwd /etc/conf.d dogshu@delta-9 conf.d $ cat lircd # Options to pass to the lircd process LIRCD_OPTS="-d /dev/input/event0" dogshu@delta-9 conf.d $ That looks right to me. I don't use any LIRC kernel patches, so I don't understand why the device would change when upgrading LIRC and not the kernel. Any idea what I should change it to? Well, here the correct device is LIRCD_OPTS="-d /dev/lirc0" /dev/lircd doesn't seem to work, irexec and irw say "Connection refused", and this shows up in my /var/log/messages: Feb 20 12:42:17 delta-9 0.7.0[7973]: accepted new client on /dev/lircd Feb 20 12:42:17 delta-9 0.7.0[7973]: initializing '/dev/lircd' Feb 20 12:42:17 delta-9 0.7.0[7973]: unable to open '/dev/lircd' When the device is set to /dev/input/event0 lircd starts up correctly: Feb 20 12:46:34 delta-9 0.7.0[8385]: lircd(devinput) ready Feb 20 12:46:37 delta-9 0.7.0[8385]: accepted new client on /dev/lircd However, neither irw or irexec ever receive any input when I try to use my remote. As before, downgrading to lirc-0.7.0_pre3 solves the problem. Here's what irw prints when I press the "TV" button under 0.7.0_pre3: 0000000000010179 00 KEY_TV Hauppauge I'll post some of my configuration files in case that helps to figure out what's happening here. I have this line in my make.conf: LIRC_OPTS="--with-driver=devinput" and here is my lircd.conf: begin remote name Hauppauge begin codes KEY_0 0x00010052 KEY_1 0x0001004f KEY_2 0x00010050 KEY_3 0x00010051 KEY_4 0x0001004b KEY_5 0x0001004c KEY_6 0x0001004d KEY_7 0x00010047 KEY_8 0x00010048 KEY_9 0x00010049 KEY_MUTE 0x00010071 KEY_VOLUMEUP 0x00010073 KEY_VOLUMEDOWN 0x00010072 KEY_RESERVED 0x000100d9 KEY_MINIMIZE 0x0001008e KEY_RADIO 0x00010074 KEY_TV 0x00010179 KEY_CHANNELUP 0x00010192 KEY_CHANNELDOWN 0x00010193 KEY_CHANNEL 0x0001016b KEY_ZOOM 0x0001008b end codes end remote Sorry, I misread your post. /dev/lirc0 doesn't exist on my system: delta-9 root # ls -al /dev/lirc* srw-rw-rw- 1 root root 0 Feb 20 12:50 /dev/lircd delta-9 root # And it does not appear to work either: Feb 20 12:59:11 delta-9 0.7.0[26446]: lircd(devinput) ready Feb 20 12:59:28 delta-9 0.7.0[26446]: accepted new client on /dev/lircd Feb 20 12:59:28 delta-9 0.7.0[26446]: initializing '/dev/lirc0' Feb 20 12:59:28 delta-9 0.7.0[26446]: unable to open '/dev/lirc0' irw and irexec both say "connection refused". I finally figured it out! After looking around for a while, I found this post: http://sourceforge.net/mailarchive/message.php?msg_id=10159895 I added "bits 32" to my lircd.conf, so now it looks like this: begin remote name Hauppauge bits 32 begin codes KEY_0 0x00010052 KEY_1 0x0001004f KEY_2 0x00010050 KEY_3 0x00010051 KEY_4 0x0001004b KEY_5 0x0001004c KEY_6 0x0001004d KEY_7 0x00010047 KEY_8 0x00010048 KEY_9 0x00010049 KEY_MUTE 0x00010071 KEY_VOLUMEUP 0x00010073 KEY_VOLUMEDOWN 0x00010072 KEY_RESERVED 0x000100d9 KEY_MINIMIZE 0x0001008e KEY_RADIO 0x00010074 KEY_TV 0x00010179 KEY_CHANNELUP 0x00010192 KEY_CHANNELDOWN 0x00010193 KEY_CHANNEL 0x0001016b KEY_ZOOM 0x0001008b end codes end remote And it works! All of the buttons on my remote are being recognized again. FYI I consider this problem to be fixed... it was a configuration issue as you can see from my previous post. |