研究了1天,终于有解决方法了,如下:
===================================
查看/boot/overlay/README,发现raspbian-buster中 为以下内容:
Name: lirc-rpi
Info: This overlay has been deprecated and removed - see gpio-ir
Load: <Deprecated>
==========================================
意思是说lirc-rpi已经废弃,改用gpio-ir了
因此将/boot/config.txt
中dtoverlay=lirc-rpi改为dtoverlay=gpio-ir
重新启动,mode2 就可以检测到红外线遥控器的按键了
|