ANAVI Infrared pHAT is an open source hardware add-on board that converts your Raspberry Pi into a smart remote control that can bring your old consumer electronic devices, like air conditioning, TV, set top boxes and Hi-Fi systems to the Internet of Things (IoT) era.
Released in the beginning 2017 now, more than two years later, thousands of people use ANAVI Infrared pHAT. Recently with the release of Raspberry Pi 4, Raspberry Pi Foundation also release Buster, the new version of Raspbian and Debian GNU/Linux distributions. It brings some major changes to the software. Earlier this year, lirc_rpi, the Linux kernel module provided with Raspbian before, was replaced with gpio-ir and gpio-ir-tx. Because of this the old way for setting up ANAVI Infrared pHAT was no longer worked so we have just updated the user’s manual!
The new version of the user’s manual of ANAVI Infrared pHAT contains the exact steps how to patch and build LIRC from source and to configure it on your Raspberry Pi with the latest version of Raspbian as of today. This approach is valid with latest Raspbian no matter if you are using Raspberry Pi 4 Model B or any of the other supported hardware versions.
Have a look at section “Setting up LIRC” in the user’s manual for details. This new approach is based on the posts by neuralassembly at Raspberry Pi forums.