RE: RPi kernel upgrade breaks lirc
Joshua Post <[email protected]> Tue, 19 Mar 2019 12:12:14 +0000
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <BL0PR02MB568179A4402543A212CD610AC9400@BL0PR02MB5681.namprd02.prod.outlook.com> |
I posted with the same issue including moving to gpio-ir and gpio-ir-tx to get the lircX devices back, but I’m having trouble with irrecord receiving proper data from my IR Receiver under kernel 4.19 or 4.14 so not specific to the new kernel, but the version of lirc that is in the rpi repo. I posted my same original message to the Raspberry Pi forums and received responses suggesting ir-keytable and ir-ctl which may work, but looks to be more cumbersome than lirc when it is functioning as expected and a whole new method to learn, so would prefer to get lirc working if possible. Thread on the Raspberry Pi forums: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=235918 ________________________________ From: Matthias Reichl <[email protected]> Sent: Tuesday, March 19, 2019 6:46:44 AM To: [email protected] Subject: Re: RPi kernel upgrade breaks lirc 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