Our builds come with a limited selection of IR remote configurations for devices.
Currently the following devices are supported out-of-the-box and have IR remote configurations built into our builds…
- WeTek (all)
- Tanix (all)
- Khadas (all)
- Odroid C2
If you have a remote that is not listed above you will need to follow the below instructions to create a config and get it working.
Firstly you must SSH into your device and then Kodi and eventlircd services must be stopped.
systemctl stop kodi systemctl stop eventlircd
Next you need to run ir-keytable to scan for remote codes.
Start to press all of the buttons on your remote and make a note of each scan code in notepad on your computer.
When you have created your map file it needs to be saved in the following location.
You must also create the following file
/storage/.config/rc_maps.cfg with the following contents.
meson-ir * YOURMAPNAME
Now you must load your config and start Kodi and eventlircd back up to test your changes.
ir-keytable -a /storage/.config/rc_maps.cfg -s rc0 systemctl start eventlircd systemctl start kodi
If your config works and you are happy with it then you are not required to do anything further and it will be loaded automatically when rebooting/powering on your device.
Pre-made remote control configurations can be found here.