Hi to all !
For who may concern to setup an IR remote on Rern’s new achievements :
RuneAudio+R e2 &
RuneOS - DIY RuneAudio+R eBoth of them use the new Kernel
4.19.x. who includes
gpio-ir, not lirc_dev.
First you have first to install Lirc (it isn’t preinstall)
Then more or less you can follow the procigure as described here :
https://www.runeaudio.com/forum/post26310.html?hilit=lirc#p26310This changes must be performed :
1) In /boot/config.txt you have to remove Lirc line:
dtoverlay=lirc-rpi
And replace the line :
dtparam=gpio_in_pin=
xx With :
dtoverlay=gpio-ir,gpio_pin=
xxNote :
Modify the gpio
xx numbers according to your IR sensor wiring.
2) In /etc/lirc/hardware.conf you have to replace the :
MODULES="lirc-rpi"
With :
MODULES="gpio_ir_recv"
That was the easy part.
The difficult part regards the remote configuration file (/etc/lirc/lircd.conf.d/lircd.conf)
The signals generated by gpio-ir, is slightly different from that of lirc_dev.
So you have to create a
new configuration file.
To create your own configuration file, there are instructions elsewhere on the net.
Best regards
Stavros