Skip to content

USB HID (ble_hid_combo) not working on Linux (Ubuntu 22.04) #2621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
deinhofer opened this issue Mar 31, 2025 · 1 comment
Open

USB HID (ble_hid_combo) not working on Linux (Ubuntu 22.04) #2621

deinhofer opened this issue Mar 31, 2025 · 1 comment

Comments

@deinhofer
Copy link

I tested the tutorials for keyboard emulation and mouse emulation: Bluetooth LE HID Keyboard both on Windows and Linux.

The keyboard only emulation (ble_hid_keyboard) and the mouse only emulation (ble_hid_mouse) seem to work on both Windows and Linux, but the combined version (ble_hid_combo) doese not work on Linux.

I uploaded the tutorial code with espruino ide, then unpaired the device and paired it again.
When I the click the button, nothing happens.

System settings

Ubuntu 22.04.5 LTS, Kernel: 5.15.0-134-generic
X-Server

dmesg log

[182765.933339] input: Puck.js e11f as /devices/virtual/misc/uhid/0005:0000:0000.0025/input/input73
[182766.019332] hid-generic 0005:0000:0000.0025: input,hidraw7: BLUETOOTH HID v0.00 Keyboard [Puck.js e11f] on a4:c3:f0:3c:7e:6c
[182766.674436] input: Puck.js e11f Mouse as /devices/virtual/misc/uhid/0005:0000:0000.0026/input/input74
[182766.674619] input: Puck.js e11f Keyboard as /devices/virtual/misc/uhid/0005:0000:0000.0026/input/input75
[182766.674752] hid-generic 0005:0000:0000.0026: input,hidraw7: BLUETOOTH HID v0.00 Mouse [Puck.js e11f] on a4:c3:f0:3c:7e:6c
@gfwilliams
Copy link
Member

Hi - sorry to hear that. Does it work on Windows?

Interesting that it would appear to have been recognised correctly, so maybe it's just sending the report in the wrong format (but then it wouldn't work on Windows either)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants