toml files in .config/rc_keymaps/ are not being loaded during booting

  • Tested for LibreELEC 11.0.6 on RPi 4B

    ir-keytable -r gives

    scancode 0x80d800 = KEY_0 (0x0b)
    This is from the keymaps provided by the kernel

    After loading manually my keymap for a hx1838 infrared sensor,

    ir-keytable -c -w .config/rc_keymaps/rc6_mce.toml

    Now the scancode is correct and coupled to the correct button.

    ir-keytable -r
    scancode 0x807081 = KEY_0 (0x0b)
    ...

    After pressing the zero button of my remote:
    ir-keytable -v -t -p all shows
    2563.603123: lirc protocol(necx): scancode = 0x807081
    2563.659787: lirc protocol(necx): scancode = 0x807081 repeat
    ...

    The key, the zero button is not shown in the output, but in Kodi it works.

    According to https://wiki.libreelec.tv/configuration/startup-shutdown I have put

    (sleep 2

    ir-keytable -c -w /storage/.config/rc6_mce.toml

    )&

    to /storage/.config/autostart.sh

    It is a temporary solution to circumvent the bug.

    Edited 2 times, last by Johpin: Added temporary solution to circumvent the bug. (January 9, 2025 at 10:29 AM).

  • Thanks for referring to the remote control part of the wiki and the suggestion to adapt rc_maps.cfg.

    After removal of my autostart.sh file I tried:

    1. coping my .config/rc_keymaps/rc6_mce.toml to libreelec_multi.toml

    This works.

    After removal of libreelec_multi.toml and copying /etc/rc_maps.cfg to .config/ I tried

    2. in .config/rc_maps.cfg I commented out
    *               rc-rc6-mce      libreelec_multi.toml
    and uncommented
    #*              rc-rc6-mce      rc6_mce.toml

    This also works.

    The issue seems not to be a bug, but is a decision by LibreELEC to deviate from Linux distributions, like Raspberry Pi OS and Slackware. In dmesg you will find rc-rc6-mce. The issue has been solved for me.