[ATrpms-users] Problem with lircd and imon receiver
Thomas Egrelius
egge at egge.se
Wed Mar 28 23:12:36 CEST 2007
On Wed, 28 Mar 2007, Nick Morrott wrote:
> Have you got the x86_64 kernel modules installed? You seem to be
> running a 64-bit kernel.
Right, I run a 64-bit kernel. I have the following atrpms lirc packages
intalled, and made sure they are the x86_64 ones:
[root at mythfe01 ~]# rpm -q -a |grep lirc
lirc-lib-0.8.2-66_cvs20070301.fc5.at
lirc-devices-0.8-3.fc5.at
lirc-kmdl-2.6.19-1.2288.fc5-0.8.2-66_cvs20070301.fc5.at
lirc-0.8.2-66_cvs20070301.fc5.at
Which in turn provide the following files:
/usr/lib64/liblirc_client.so.0
/usr/lib64/liblirc_client.so.0.2.0
/etc/udev/rules.d/lirc.rules
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_atiusb.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_bt829.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_cmdir.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_dev.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_gpio.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_i2c.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_igorplugusb.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_imon.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_it87.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_mceusb.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_mceusb2.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_sasem.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_serial.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_sir.ko
/lib/modules/2.6.19-1.2288.fc5/updates/drivers/lirc/lirc_streamzap.ko
(not listing the ones from lirc-0.8.2-66_cvs20070301.fc5.at)
> What dmesg/syslog output do you see when the LIRC modules are loaded?
Mar 28 22:41:03 mythfe01 kernel: lirc_dev: IR Remote Control driver registered, at major 61
Mar 28 22:41:03 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/VFD, v0.3
Mar 28 22:41:03 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev at venky.ws>
Mar 28 22:41:03 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
Mar 28 22:41:03 mythfe01 kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Mar 28 22:41:03 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:0)
Mar 28 22:41:03 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<2:3> initialized
Mar 28 22:41:03 mythfe01 kernel: usbcore: registered new interface driver lirc_imon
Mar 28 22:41:05 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: VFD port opened
Starting lircd manually without any arguments:
Mar 28 22:42:39 mythfe01 lircd-0.8.2-CVS[3533]: you should specify a valid gap value
Mar 28 22:42:39 mythfe01 lircd-0.8.2-CVS[3534]: lircd(userspace) ready
Starting irw
Mar 28 22:42:49 mythfe01 lircd-0.8.2-CVS[3534]: accepted new client on /dev/lircd
Mar 28 22:42:49 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: IR port opened
Stopping irw after no reaction when pressing the remote buttons.
Mar 28 22:43:16 mythfe01 lircd-0.8.2-CVS[3534]: removed client
Mar 28 22:43:16 mythfe01 kernel: /var/tmp/bach-build/BUILD/lirc-0.8.2/drivers/lirc_imon/lirc_imon.c: IR port closed
> What LIRC devices do you have? Perhaps you need to start lircd with
> the '--device' option, or check your LIRC udev rules.
[root at mythfe01 egge]# ls -la /dev/lirc*
lrwxrwxrwx 1 root root 5 Mar 28 22:40 /dev/lirc -> lirc0
crw------- 1 root root 61, 0 Mar 28 22:40 /dev/lirc0
srw-rw-rw- 1 root root 0 Mar 28 22:42 /dev/lircd
>From what I understand, lircd should read from /dev/lirc by default.
The udev rules:
[root at mythfe01 ~]# cat /etc/udev/rules.d/lirc.rules
KERNEL=="lirc[0-9]*", NAME="lirc%n"
KERNEL=="lirc0", SYMLINK="lirc"
Do you have any new ideas after this? ;) Or should I look into compiling
my own lircd and see if that helps.
Thanks.
/Thomas
More information about the atrpms-users
mailing list