![]() Sudo su -c "grep '^deb ' /etc/apt/sources.list | sed 's/^deb/deb-src/g' > /etc/apt//deb-src.list" ![]() Perform the steps below to build LIRC from source, to patch it and to enable the infrared receiver and transmitter on ANAVI Infrared pHAT: If you need to setup ANAVI Infrared pHAT on an older version of Raspbian, for example from, please have a look at the old user's manual. This tutorial is updated for Raspbian Buster. In 2019 lirc_rpi, the Linux kernel module provided with Raspbian before, was replaced with gpio-ir and gpio-ir-tx. Try a very very simple remote before moving on to fancier devices. ![]() Furthermore, I know for a fact that some TV and cable box remotes, for whatever reason, are too complex to work with LIRC. I know for a fact that many Comcast/Xfinity cable remotes are actually RF devices and need to have IR mode turned on manually. If you see your hardware is sending a signal and/or you can see that the IR input is seeing some signal, then you know your setup works and the issue may be that the remote you're trying to learn simply won't work with LIRC. Before you go crazy trying to debug issues sending a signal, grab an existing lirc config for any remote and use the lirc CLI to send a signal out and verify your hardware is sending the signal by viewing the IR LED through a front-facing smartphone camera (almost all smartphone front cameras - even new iPhones - will not filter out IR light and you should see the LED flash when sending a signal). Everyone's hardware and system will be a bit different so your mileage may vary. I can verify it works on a Pi 3B running the latest OS as of summer 2019. ![]() Beware: These instructions have been cobbled together from all of the sources I found that got my specific unit working. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |