IR remote with newer KerneL

Raspberry Pi related support

IR remote with newer KerneL

Postby s.k. » 16 Nov 2019, 22:16

Hi,
Since kernel 4.19 the lirc-rpi driver was removed.
Now you have to use the gpio-ir.

Does anyone manage successfully to install his IR remote with the newer (4.19.xx) Kernel?

Regards
Stavros
s.k.
 
Posts: 86
Joined: 04 Jan 2017, 08:38

Re: IR remote with newer KerneL

Postby s.k. » 19 Nov 2019, 13:07

I am the only one who have implement a IR remote in previous builds and likes to experience with Rern’ s new achievements ?
That’s really strange !
No one faced similar problem ?
s.k.
 
Posts: 86
Joined: 04 Jan 2017, 08:38

Setup an IR remote on Rern’s new achievements

Postby s.k. » 21 Nov 2019, 09:43

Hi to all !
For who may concern to setup an IR remote on Rern’s new achievements :
RuneAudio+R e2 & RuneOS - DIY RuneAudio+R e
Both 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#p26310

This 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=xx

Note :
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
s.k.
 
Posts: 86
Joined: 04 Jan 2017, 08:38

Re: IR remote with newer KerneL

Postby eea123 » 21 Nov 2019, 13:26

s.k. wrote:I am the only one who have implement a IR remote in previous builds and likes to experience with Rern’ s new achievements ?
That’s really strange !
No one faced similar problem ?


Thanks for sharing your solution. While I am not using IR with Rune, the rest of my home stereo is IR based. In fact I have older Niles Audio IRR-4 wall plate receivers throughout the house with an IRP6+ in my cabinet. I also have 2 Niles Intellipad wall remotes in the mix, which learn and store IR codes from the various remotes. This might be something to work on, but honestly I really like using Rune's tablet & computer interface.
eea123
 
Posts: 84
Joined: 23 Dec 2017, 19:19

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 10 guests
cron