I have this IR receiver:
Connected to the GPIO like this:
Which was taken from this tutorial
I’m using the MCE remote control by Hauppauge, this is the one:
When running these commands through SSH:
osmc@osmc:~$ sudo modprobe lirc_rpi
osmc@osmc:~$ sudo kill $(pidof lircd)
osmc@osmc:~$ mode2 -d /dev/lirc0
I can click on the remote and see a response:
So the IR receiver and the remote control are both working.
When I issue this command:
osmc@osmc:~$ dmesg | grep lirc
I get this result:
[ 3.980599] lirc_dev: IR Remote Control driver registered, major 245
[ 3.983918] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.226106] pinctrl-bcm2835 3f200000.gpio: pin gpio18 already requested by lirc_rpi; cannot claim for 3f203000.i2s
[ 4.943005] lirc_rpi: auto-detected active high receiver on GPIO pin 17
[ 4.943216] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 4.943225] lirc_rpi: driver registered!
[ 5.102738] input: lircd as /devices/virtual/input/input0
Not sure about the pin 18 error in there.
[Continued in the next post]