lircd on jessie not using /dev/lirc0
Posted: Mon Oct 24, 2016 7:37 pm
I have been trying to get a Pi B 500MB with Jessie to work with an LinkSprite IR Shield. I have followed all the guidelines and suggested processes, but lircd always fails with the error:
If specify the IR receiver to be /dev/lirc0, everything works
For some reason lircd is ignoring the DEVICE setting in /etc/lirc/hardware.conf. Any ideas as what is wrong?
Code: Select all
sudo lircd -n
lircd-0.9.0-pre1[2499]: garbage after 'name' token in line 76 ignored
lircd-0.9.0-pre1[2499]: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.9.0-pre1[2499]: accepted new client on /var/run/lirc/lircd
lircd-0.9.0-pre1[2499]: could not get file information for /[b]dev/lirc[/b]
lircd-0.9.0-pre1[2499]: default_init(): No such file or directory
lircd-0.9.0-pre1[2499]: Failed to initialize hardware
Code: Select all
$ sudo lircd -n -d /dev/lirc0 &
lircd-0.9.0-pre1[2514]: garbage after 'name' token in line 76 ignored
lircd-0.9.0-pre1[2514]: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.9.0-pre1[2514]: accepted new client on /var/run/lirc/lircd
$ irw
0000000000080b47 00 KEY_2 SONY_RMT_B104P
0000000000080b47 01 KEY_2 SONY_RMT_B104PCode: Select all
Changed /etc/lirc/hardware.conf:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=”–uinput”
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""