Re: RPi kernel upgrade breaks lirc
Matthias Reichl <[email protected]> Tue, 19 Mar 2019 12:46:44 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 18, 2019 at 01:43:11PM -0400, Ken Kayser wrote: > I am new to lirc. I installed it on a raspberry pi 3b+ running Raspbian > GNU/Linux 9.8 (stretch) with the current production kernel 4.19. I > installed the current release of lirc, 0.9.4c. I mad the required changes > to config.txt and lirc_options.conf. After rebooting, the device /dev/lirc0 > was missing and of course, lirc wouldn't run. After much research and > experimentation, I discovered that if I downgraded my kernel to 4.14.98, the > /dev/lirc0 device magically reappeared and lirc runs fine. Do you still have dtoverlay=lirc-rpi in your config.txt? In kernel 4.19 the downstream lirc-rpi driver was removed, you can use the upstream gpio-ir-recv (dtoverlay=gpio-ir) and/or gpio-ir-tx (dtoverlay=gpio-ir-tx) drivers from the RC subsystem instead. These drivers will give you /dev/lircX devices as before plus the gpio-ir-recv driver also supports in-kernel decoding (configured with ir-keytable). I'd also recommend checking out the Raspberry Pi forums, you'll find more info about the details there. so long, Hias