Need help setting up GPIO IR please.

  • Good day Libreelecians,

    I have just installed an IR diode to 3.3,GND and GPIO 18 on my Raspberry Pi 3.

    I have then created (as it didnt exist) /storage/.config/lircd.conf and saved it

    I understand the next step is to change a line in /flash/config.txt, but this line did not exist so I have added the line dtoverlay-gpio-ir

    As far as I know this is all I need to 'activate' my IR diode and let Kodi use it (FYI latest stable build of Libreelec 9)?

    I wish to use this IR receiver with an XBox One mini media remote

    Do I need to load up a config for this and if so how please ?

  • Good day Hias, thank you for the reply.

    OK, so Lirc.conf deleted.

    Then from SSH just run

    Code
    ir-keytable -c -w /usr/lib/udev/rc_keymaps/xbox_one

    And I should be good to go?

    I assume this keymap is persistent and I won’t need to do it every reboot?

    Thanks

    Timbo