Ask Your Question
0

Understanding LIRC on Fedora and more Generally.

asked 2013-04-08 16:12:56 -0500

fedorabawks gravatar image

updated 2013-08-01 23:32:26 -0500

FranciscoD_ gravatar image

I just installed Fedora 18 LXDE Spin and I'm trying to use LIRC. I installed the package and the service has started but something isn't working properly as I can't get any "processed" codes in irw from the input device.

Am I correct in thinking the node /dev/lirc0 which LIRC uses is created automatically by the kernel sym-link'd to the actual input-event?

In its configuration file, LIRC has an option called and set as LIRC_DEVICE=/dev/lirc0. Now with this default setting I don't get any codes in irw. But if I change the location to the actual input-event then I can retrieve codes in irw. So should the link be created manually and is it safe to do so?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-06 15:11:09 -0500

In fedora 18 in /etc/sysconfig/lirc I changed the driver line as below

# The infrared receiver (and/or transmitter) driver to be used by lircd(8),
# similar to passing "-H driver" to lircd(8).
# Run "/usr/sbin/lircd -H help" to get a listing of supported drivers.
LIRC_DRIVER="devinput"

and then set the device like this

# Which lirc device will be used by lircd(8).
# This is the same as passing "-d device" to lircd.
# An empty value will use the default /dev/lirc0 device.
LIRC_DEVICE="/dev/input/by-path/pci-0000:04:00.0-event-ir"

your device will most likely be different.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-04-08 16:12:56 -0500

Seen: 1,769 times

Last updated: Aug 01 '13