Remote control
For exclusive access stop kodi and eventlircd:
systemctl stop kodi
systemctl stop eventlircd
Check IR receiver configuration (especially supported protocols)
ir-keytable
Test supported protocols (e.g. nec)
ir-keytable -p nec -t
Enable (tested) protocols (e.g. lirc, nec):
ir-keytable -p lirc,nec
For lirc only (if protocol enabled) display raw data
ir-ctl -r