AlexanderBykin / rpi-lirc

Setup LIRC on Raspberry Pi with kernel 4.19
MIT License
4 stars 1 forks source link

rpi-lirc

Summary config LIRC 0.10.1-5.2 as Transmitter and Receiver for Raspberry (Raspbian or DietPi) with Kernel 4.19 based on elmicha comment on 30 May 2019

Steps to setup:

1) copy all files from this repo to your Raspberry 2) install patched and builded LIRC as it does here for 4.19 kernel

cd ./lirc-patched
sh ./deps-install.sh
sh ./lirc-install.sh // this will fail it's normal

3) run sh lirc-setup.sh to copy all files at needed destination 4) add two lines into /boot/config.txt or /DietPi/config.txt

dtoverlay=gpio-ir,gpio_pin=17
dtoverlay=pwm-ir-tx,gpio_pin=18

5) reboot

Instruction to wire

Testing

Inspect IR

To check supported IR and enabled protocols run sudo ir-keytable, to enable all possible protocols run sudo ir-keytable -p all -t -v

Known issues