LibreELEC) 9.x and hwdb.d modifications to enable detection of button presses

  • With LE 8.2.5 using a RPI 1+ I added the following into a file called 99-keyboard.hwdb in the folder configfiles/hwdb.d :

    1. # RF Remote
    2. evdev:input:b0003v2319p0014*
    3. KEYBOARD_KEY_090001=enter

    This file worked just fine to enable the button in kodi for 8.2.5. But in LE 9.0.1 and 9.0.2 this has no effect at all. Is this a bug or should I do it some other way in 9.x?

  • I'm going to reactivate this thread since I found something interesting. I think I stumbled upon the solution when I was trying 9.1.002 which has the very same problem.

    If you simply do:

    1. LibreELEC:~ # systemctl stop kodi
    2. LibreELEC:~ # udevadm trigger
    3. LibreELEC:~ # systemctl start kodi

    ...everything will work again. So my guess is that whatever udevadm trigger does has be performed before Kodi is started in the boot up process.

  • Does it work at boot if you add the trigger to

    1. echo udevadm trigger >>/storage/.config/