Fedora 7 lircd & /dev/lirc

Been trying to configure lircd on my fedora installation and connect to it via freevo but kept getting this error from the lircd daemon when freevo was fired up

could not open /dev/lirc

Finally found the answer on the mythtv site somewhere ( lost the link ) what you have to do is
cat /dev/input/event1
then press buttons on the remote and look for garb to be printed if not keep counting on the events until it is eg
cat /dev/input/event2
cat /dev/input/event3

…etc

Once you found the correct event device for your remote you need to start lircd with the following options

lircd -H dev/input -d /dev/input/event5

assuming you found your remote on event5.

To use this with fedora service and chkconfig command you need to edit the file /etc/sysconfig/lircd to read
LIRCD_OPTIONS=”-H dev/input -d /dev/input/event5″
replacing event5 with the one you identified earlier. lircd can now be started with the service command.
service lircd start

Leave a Reply

-->