My bluetooth controller isnt working with libreelec on the rockpro64 rk3399. I have tried 3 different chipsets rtl8761bu rtl8821cu and the broadcom BCM20702A0 I'm getting the same behavior across all 3 chipsets. Im starting to think it's not the bluetooth or the controller, but something to do with inputs to the menus in kodi itself.
The controller does the same things, pairs connects and identifies in all 4 modes. I can see the hci traffic with btmon just fine. The only one that looks to be having issues is the sony profile on the controller. Sometimes however, when I pair the controller, the session crashes to tty until I reboot. That particular crash has persisted across mutliple SD cards and EMMC cards, does not happen with anything else. Its something specific to libreelec and not kodi. It does not happen with kodi on coreelec. Controller tested working with all chipsets in all modes on my arch desktop.
[ 73.655927] input: 8BitDo Pro 2 as /devices/platform/usb@fe900000/http://fe900000.usb/xhci-hcd.4.aut…05/input/input5
[ 73.656675] microsoft 0005:045E:02E0.0005: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8BitDo Pro 2] on e8:48:b8:c8:20:00
[ 289.569259] input: 8BitDo Pro 2 as /devices/platform/usb@fe900000/http://fe900000.usb/xhci-hcd.4.aut…06/input/input7
[ 289.569593] hid-generic 0005:2DC8:6006.0006: input,hidraw4: BLUETOOTH HID v1.00 Gamepad [8BitDo Pro 2] on e8:48:b8:c8:20:00
[ 289.569259] input: 8BitDo Pro 2 as /devices/platform/usb@fe900000/http://fe900000.usb/xhci-hcd.4.aut…06/input/input7
[ 289.569593] hid-generic 0005:2DC8:6006.0006: input,hidraw4: BLUETOOTH HID v1.00 Gamepad [8BitDo Pro 2] on e8:48:b8:c8:20:00
[ 440.539721] sony 0005:054C:05C4.0007: unknown main item tag 0x0
[ 440.550101] sony 0005:054C:05C4.0007: Failed to get calibration data from Dualshock 4
[ 440.552171] sony 0005:054C:05C4.0007: hidraw4: BLUETOOTH HID v81.00 Gamepad [Wireless Controller] on e8:48:b8:c8:20:00
[ 440.552180] sony 0005:054C:05C4.0007: failed to claim input
[ 461.016274] Bluetooth: hci0: Opcode 0x 401 failed: -16
[ 593.685836] nintendo 0005:057E:2009.0008: hidraw4: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on e8:48:b8:c8:20:00
[ 595.726409] nintendo 0005:057E:2009.0008: using factory cal for left stick
[ 595.764407] nintendo 0005:057E:2009.0008: using factory cal for right stick
[ 595.855313] nintendo 0005:057E:2009.0008: using factory cal for IMU
[ 596.012268] nintendo 0005:057E:2009.0008: controller MAC = E4:17:D8:3A:84:A2
[ 596.583591] nintendo 0005:057E:2009.0008: Failed to set home LED default, unregistering home LED
[ 597.116902] leds 0005:057E:2009.0008:blue:player-5: Setting an LED's brightness failed (-110)
[ 597.117242] input: Nintendo Switch Pro Controller as /devices/platform/usb@fe900000/http://fe900000.usb/xhci-hcd.4.aut…8/input/input10
[ 597.117897] input: Nintendo Switch Pro Controller IMU as /devices/platform/usb@fe900000/http://fe900000.usb/xhci-hcd.4.aut…8/input/input11
I also tested with a bluetooth mouse, and a bluetooth speaker, which seem to work, so this is controller input related and specifically on libreelec