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
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
journalctl -fu lircd
irsend --device=/var/run/lirc/lircd-tx SEND_ONCE TEST KEY_0
To check supported IR and enabled protocols run sudo ir-keytable
, to enable all possible protocols run sudo ir-keytable -p all -t -v