[ATrpms-users] lirc not working on CentOS 5.1
David Hobley
davidh at sharpblue.org
Thu Jan 24 06:54:16 CET 2008
Hello,
I am building a HTPC using a Silverstone LC16M case which comes with an iMon IR/VFD device. I have installed Windows on the machine to confirm the hardware is working and am now working to replace that with MythTV.
I have been reading a number of HOWTOs with regards setting up lirc with the iMon VFD device, but I am having no luck.
In short, I have the following kernel installed:
[root at htpc module]# uname -a
Linux htpc 2.6.18-53.1.4.el5.centos.plus #1 SMP Fri Dec 7 07:04:56 EST 2007 i686 i686 i386 GNU/Linux
And the following rpms:
[root at htpc module]# rpm -qa | grep lirc
lirc-kmdl-2.6.18-53.1.4.el5.centos.plus-0.8.2-68.el5
lirc-lib-0.8.2-68.el5
lirc-devices-0.8-4.el5
lirc-0.8.2-68.el5
[root at htpc module]# rpm -qa | grep video4
video4linux-kmdl-2.6.18-53.1.4.el5.centos.plus-20071226-84.el5
video4linux-ivtv-kmdl-2.6.18-53.1.4.el5.centos.plus-20071226-84.el5
With /dev/lircd.conf starting with (I haven't included the whole thing unless someone needs to see it):
#
# this config file was automatically generated
# using lirc-0.7.1pre2(imon) on Tue Mar 1 23:15:44 2005
#
# contributed by Venky Raju
#
# brand: iMON-New
# model no. of remote control: iMON-PAD
# devices being controlled by this remote:
#
...
So, if I run the following I would expect things to start working:
[root at htpc /]# ls -l /dev/lirc*
ls: /dev/lirc*: No such file or directory
[root at htpc /]# modprobe lirc_dev
[root at htpc /]# modprobe lirc_imon
[root at htpc /]# ls -l /dev/lirc*
ls: /dev/lirc*: No such file or directory
[root at htpc /]# service lircd start
Starting infrared remote control daemon: [ OK ]
[root at htpc /]# ls -l /dev/lircd*
srw-rw-rw- 1 root root 0 Jan 24 16:48 /dev/lircd
[root at htpc /]# ps auxww | grep lircd
root 24520 0.0 0.0 3028 540 ? Ss 16:48 0:00 lircd
root 24526 0.0 0.0 3896 648 pts/1 R+ 16:48 0:00 grep lircd
However, what I actually see is that lircd will start and as soon as I run irw to test the remote, irw returns immediately & the lircd daemon stops.
[root at htpc /]# irw
[root at htpc /]# !ps
ps auxww | grep lircd
root 24570 0.0 0.0 3896 668 pts/1 S+ 16:48 0:00 grep lircd
On a related note, it also appears not to create the /dev/lcd0 device required for lcdproc to make use of the VFD.
Anyone any ideas?
Cheers,
David
More information about the atrpms-users
mailing list