LE11+ broke my Remote Control

  • Hi,

    I'm using HP TSGH-2401 Remote Controls with RF USB dongle on my x86 Kodi boxes. To map some of those remote's special keys I use a python script to read /dev/input/eventX to scan for extra keys and send those to Kodi using something like os.system("kodi-send --action=PAGEUP")

    This used to work great since forever (except that one time when the change from python2 to 3 occured), but I've just updated one of my systems from LE 10.0.4 to LE12 and now the extra keys on the remote don't work anymore.

    It looks like nothing is send into any of the /dev/input/eventX devs any more. I used to be able to check the remote using cat /dev/input/event4 (or 5 depending on the hardware) and I'd get some garbage charactes displayed for each special keypress, but not with LE12 :(

    Any help would be greatly appreciated.


    Cheers,

    Fred

  • The special device files are still created but nothing is received in there:

    lrwxrwxrwx 1 root root 9 Jul 10 12:24 usb-Lite-On_Technology_Corp._HP_Wireless_Keyboard_Kit-event-if01 -> ../event6
    lrwxrwxrwx 1 root root 9 Jul 10 12:24 usb-Lite-On_Technology_Corp._HP_Wireless_Keyboard_Kit-event-kbd -> ../event4
    lrwxrwxrwx 1 root root 9 Jul 10 12:24 usb-Lite-On_Technology_Corp._HP_Wireless_Keyboard_Kit-if02-event-mouse -> ../event8
    lrwxrwxrwx 1 root root 9 Jul 10 12:24 usb-Lite-On_Technology_Corp._HP_Wireless_Keyboard_Kit-if02-mouse -> ../mouse0

    I'll try on other linux systems to see if they behave the same

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • Hello,

    here is the link https://paste.libreelec.tv/renewing-grub.log

    Meanwhile I have tested with a kernel 5 and kernel 6 Linux (debian12) versions and the remote control's events arrive just as expected.

    On Debian12 I noticed that modules evdev and joydev get (re)loaded when I plug in the usb dongle, maybe thats something to do with this?


    Cheers,
    Fred

    Edited once, last by fred98 (July 13, 2024 at 5:19 PM).