Trouble Shooting - How to check IR remote
How to check IR remote
- Enable
gpio-ir
function by editing/boot/config.txt
file.
dtoverlay=gpio-ir,gpio_pin=17
- Install
lirc
software.
sudo apt-get -y install lirc
- Modify configuration file
/etc/lirc/lirc_options.conf
and make sure it contains those two parameters:
driver = default
device = /dev/lirc0
- Save it and reboot Raspberry Pi.
sudo sync
sudo reboot
- Test it by:
mode2 -d /dev/lirc1
NOTE: Please aim your IR remote controller direct to the power button. and different IR remote controller may have different response time.