Logitech Dinovo Edge Bluetooth keyboard no longer working after update to 11.95.1

  • Hi,

    After updating LibreElec to version 11.95.1 my Dinovo Edge keyboard no longer works.

    When switching on the keyboard the green Bluetooth indicator turns green for a moment
    indicating the keyboard is connected. In LibreElec --> Bluetooth it says that the keyboard
    is connected. Tried to delete it and pair it again, but no luck.

    Anyone else having problems with bluetooth keyboards?

    Thank you,

    Erik

  • That was the first thing I tried ;-). I charged it to full.

    It connects to my IPhone and I can use it, so keyboard looks OK. However, it does not connect to my Mint laptop, what is strange.

    Edited once, last by ehoitinga (April 2, 2024 at 9:25 PM).

  • Some update:

    LibreElec installed on Intel NUC7I5BNK.

    Code
    mediacenter:~ # bluetoothctl devices
    Device 65:A1:D3:FC:B2:93 65-A1-D3-FC-B2-93
    Device 00:1F:20:04:44:38 Logitech diNovo Edge
    Device E7:A7:BD:33:69:8E 846B213F84AC33ADE9
    mediacenter:~ #

    Looks like it is connected, however keystrokes are not arriving.

  • Google shows this patch being advised/required in a couple of places: https://git.launchpad.net/ubuntu/+source…435523d2f374161

    So the probable reason it doesn't work is: LE doesn't include that patch, or the udev rules file it's modifying, or the hid2hci binary that would be used if we did.

    Simple binaries that aren't compiled/linked against other libraries can often be copied from e.g. Ubuntu and used on LE. So I would try copying hid2hci to /storage/bin/ and the 70-hid2hci.rules file to /storage/.config/udev.rules.d/ and then mod the rules file (with the changes in the patch) so it runs "/storage/bin/hi2hci" (explicit path) not "hid2hci" (which relies on the binary being in $PATH).

  • LE is including the patch in the source but bluez require --enable-hid2hci since 5.55.

    hid2hci was only included until LE 9.2.8.

    Should be easy to add again but have to test it first (currently fighting against xz 5.4.6 source archive not being available, maybe someone can upload it to the LE source mirror).

  • Simple binaries that aren't compiled/linked against other libraries can often be copied from e.g. Ubuntu and used on LE. So I would try copying hid2hci to /storage/bin/ and the 70-hid2hci.rules file to /storage/.config/udev.rules.d/ and then mod the rules file (with the changes in the patch) so it runs "/storage/bin/hi2hci" (explicit path) not "hid2hci" (which relies on the binary being in $PATH).

    I copied hid2hci from my Mint laptop to /storage/bin:

    copied the 70-hid2hci.rules file to /storage/.config/udev.rules.d and adapted the content using the patch:

    Deleted the keyboard, rebooted and repaired the keyboard. No luck. Still the same problem.

    I can successfully pair it and LE says its connected but keystrokes are not arriving. When I disconnect and re connect it in LE, I get the BlueTooth error "br-connection-create-socket".

    Probably because bluetoothd is not complied with --enable-hid2hci as mentioned by mglae ?

    Thank you very much for the help so far.

  • Quote

    1. Which version did you use before LE 11.95.1?

    Latest version on branch 11.0. I believe it was 11.3.1.

    Quote

    2. bluetoothctl devices is only listing known devices, please use bluetoothctl info 00:1F:20:04:44:38

    Quote

    3. Executed udev rules can be watched with udevadm monitor

    System-Tools Addon v11.80.6.1 installed.

    Switching the keyboard on:

    Code
    KERNEL[619.454889] add      /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)
    UDEV  [619.460616] add      /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)

    Switching the keyboard off:

    Code
    KERNEL[660.720462] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)
    UDEV  [660.727544] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)

    Deleting the keyboard:

    Code
    KERNEL[685.982996] remove   /devices/virtual/misc/uhid/0005:046D:B309.0001 (hid)
    UDEV  [685.990624] remove   /devices/virtual/misc/uhid/0005:046D:B309.0001 (hid)

    Switching on and Pairing (connect button) the keyboard:

    Code
    KERNEL[1192.205704] add      /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)
    UDEV  [1192.212845] add      /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/bluetooth/hci0/hci0:256 (bluetooth)
    KERNEL[1207.450247] add      /devices/virtual/misc/uhid/0005:046D:B309.0002 (hid)
    UDEV  [1207.460254] add      /devices/virtual/misc/uhid/0005:046D:B309.0002 (hid)
    Quote

    4. After installing system System-Tools Addon evtest list and test available input devices.

    Hmm, I dont' see the keyboard here. Info on keyboard MAC address seems OK. Executed udev rules seems OK.

    Further info:

    Bluetooth wireless interface is present.

  • With the keyboard working in LE11 likely the udeb rule is not needed any more.

    For reference I've added a BT keyboard to my test installation. Is working well beside some lagging during installation:

    Code: related journal
    Apr 06 11:43:15.002183 marsle12gbm kernel: apple 0005:05AC:0239.0002: unknown main item tag 0x0
    Apr 06 11:43:15.002492 marsle12gbm kernel: apple 0005:05AC:0239.0002: Fn key not found (Apple Wireless Keyboard clone?),
     disabling Fn key handling
    Apr 06 11:43:15.002674 marsle12gbm kernel: input: Anker Bluetooth Keyboard as /devices/virtual/misc/uhid/0005:05AC:0239.
    0002/input/input17
    Apr 06 11:43:15.002699 marsle12gbm kernel: apple 0005:05AC:0239.0002: input,hidraw1: BLUETOOTH HID v1.1b Keyboard [Anker
     Bluetooth Keyboard] on 20:79:18:70:43:91
    Apr 06 11:43:15.103053 marsle12gbm systemd-logind[507]: Watching system buttons on /dev/input/event13 (Anker Bluetooth Keyboard)

    Looks like no kernel driver is loaded for your keyboard although le LE kernel is including the logitech HID drivers.

    By not connecting to Mint too I'm out of ideas.

  • Code
    By not connecting to Mint too I'm out of ideas.

    On my mint laptop (21.1, 6.5.0-26) the keyboard doesn't even appear in the search list of blueman app. However, with the bluetoothctl command I see it detected and subsequently deleted and it will not pair.

    I thought perhaps my keyboard was broken. But is does pair to my IPhone 11 and I can use the keyboard. So I think I can conclude that the keyboard works.

    It is a rather old keyboard but I like its backlit Fn functions. I also use "Sybu" on my Iphone but blind typing on a smartphone is somewhat difficult ;)

    With the keyboard there was also a USB 2.0 receiver included, but unfortunately I can't find it anywhere. So no possibility to test it.

    A bit odd that it stopped working when jumping from v11.3.1 to 11.95.1. Did something change in the Bluez package? It is the only thing I can think of.

    Edited once, last by ehoitinga (April 7, 2024 at 11:56 AM).

  • 12.0-nightly-20230309-5426f16: Keyboard working.

    12.0-nightly-20240406-4b7642d: Keyboard not working.

    Will investigate in between versions to see were it went wrong.

    Ok, after trying 10 builds I figured out that the problem was introduced in LibreELEC-Generic.x86_64-12.0-nightly-20240311-86dba4b.img.gz.

    In build LibreELEC-Generic.x86_64-12.0-nightly-20240309-f3b540d.img.gz the keyboard is working fine.

    Just to find out what changed...

  • Perhaps the changes regarding Bluetooth in kernel 6.6.21?

    Are you able to boot your Mint with an older kernel like 6.5.0-21?

    Edited once, last by HarryH (April 8, 2024 at 9:54 PM).

  • Sorry that I can't provide any solutions but I would like to point out that the excact same combination of LE and keyboard is still working for me.

  • Sorry that I can't provide any solutions but I would like to point out that the excact same combination of LE and keyboard is still working for me.

    Sorry for quoting myself, couldnt find any editing option ... Anyway, that's what i forgot to mention:

    I am using the provided Logitech USB dongle which makes the whole thing work out of the box without even having to enable bluetooth within LE. Maybe that's why it is still working for me ...