Trouble Shooting - How to check IR remote
How to check IR remote
- Enable 
gpio-irfunction by editing/boot/config.txtfile. 
dtoverlay=gpio-ir,gpio_pin=17
- Install 
lircsoftware. 
sudo apt-get -y install lirc
- Modify configuration file 
/etc/lirc/lirc_options.confand 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.