LibreELEC 12.95.1: LIRC remote control issue

  • Move one of my LE boxes to 12.95.1.

    Everything seems to be working just fine except 2 issues

    1.My custom remote.xml keymaps required remapping the buttons , after about an hour fixed everything (some changes related to kodi actions changes).

    2.Since started using LE (version 8 i think) had a /storage/.config/lircrc setup

    begin
    prog = irexec
    button = key_red
    config = killall -9 kodi.bin
    end

    Which i rarely used when kodi hangs up.

    I understand LE 13 moved remote control mapping to other subsystem (related to issue 1 here i guess)

    Any way to make the lircrc work on LE 13 ? Or any other way to implement same behavior (using kodi to "kill itself" using kodi keymap is less effective) ?

    Thanks in advance.

    And keep up the great work.

  • The only wake to get lircrc/irexec working is to use lircd (if you have an actual IR receiver) - which I don't recommend though.

    If you really need to kill kodi you need to do it over ssh from your laptop/phone/... or press the power button (the latter will initiate a graceful shutdown).

    so long,

    Hias

  • Thanks for you quick answer.

    I do have an IR receiver but i understand LE stopped using lircd so i guess that is the reason it is not recommended to re-enble it.

    Is there any LE preferred way to create a script which listen for key press outside kodi to monitor for this key press ?

  • You can't listen for specific key presses of a device that is used by kodi as kodi will grab the input device so no other software is able to see key presses.

    It's correct that we don't use lirc anymore, but it's still available if you really want to use it - you have to create a lircd.conf file and create an empty rc_maps.cfg file in the config folder.

    so long,

    Hias