I've installed LIRC on FC4. I have an iMon remote.
[ Problem: LIRC does not activate on reboot, but works manually ]
Following the instructions it all installs fine - I check the devices are there like so
Code:
#ll /dev/li*
crw-r--r-- 1 root root 61, 0 Mar 17 01:10 /dev/lirc
prw-r--r-- 1 root root 0 Mar 17 01:10 /dev/lircd
prw-r--r-- 1 root root 0 Mar 17 01:10 /dev/lircm
Then, when I reboot it all goes.
So I looked in the contrib/ folder and found the correct startup script for redhat
I copy that as follows;
Code:
cp lirc.redhat /etc/init.d/lirc
looking in
Code:
# ll *lirc*
lrwxrwxrwx 1 root root 14 Mar 15 04:09 K71lirc -> ../init.d/lirc
I see its linked correctly.
In /etc/modprobe.conf I added
Code:
alias char-major-61 lirc_dev
alias char-major-61 lirc_imon
To load it manually I have to do
Code:
# modprobe lirc_dev
# modprobe lirc_imon
# service lirc start
Starting Infrared Remote Control: [ OK ]
# ll /dev/li*
crw------- 1 root root 61, 0 Mar 17 03:05 /dev/lirc0
srw-rw-rw- 1 root root 0 Mar 17 03:05 /dev/lircd
prw-r--r-- 1 root root 0 Mar 17 03:05 /dev/lircm
note the lirc device has gone from lirc -> lirc0 now
Can anybody help me to get this going at boot please? I've spent hours looking on forums and man pages but no luck.
Any help would be very much appreciated.