Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* linux-firmware-mediatek 1:20260810-1 breaks Bluetooth keyboard input
@ 2026-08-27 14:12 Erik Steinkamp
  0 siblings, 0 replies; only message in thread
From: Erik Steinkamp @ 2026-08-27 14:12 UTC (permalink / raw)
  To: linux-mediatek

Dear all,


I've observed something that might be worth for you to know:


Summary:

     Upgrading linux-firmware-mediatek from 1:20260622-1 to 1:20260810-1 
breaks Bluetooth keyboard input (BLE HID-over-GATT) on a MediaTek 
Bluetooth controller. Downgrading back to 20260622-1 fixes it 
immediately, with no other package changes.

Hardware:
     - Bluetooth controller: MediaTek MT7925
     - Peripheral: Keychron K2 HE keyboard, BLE HID-over-GATT (HOGP), 
current QMK firmware
     - Host: CachyOS, kernel linux-cachyos 7.1.8-1 (also reproduced on 
7.2.0-1), bluez 5.87

Symptom:

     the keyboard pairs and bluetoothctl reports Connected: yes, but no 
keystrokes ever register — no input device is created at all (checked 
via evtest/libinput).

bluetoothd logs:

     bluetoothd: src/service.c:service_accept() input-hog profile accept 
failed for <Keyboard-MAC>


A btmon capture shows the actual timing:

     HCI Command: LE Start Encryption ... #64 13.258318
     HCI Event: Command Status (Success) ... #65 13.258704
     bluetoothd: input-hog profile accept failed ... 13.260434
     HCI Event: Encryption Change (Success, AES-CCM) ... #66 13.303230


The HID-over-GATT setup in bluetoothd (a known no-retry race, see 
bluez/bluez#1911) gives up ~43ms before the controller actually reports 
Encryption Change. With linux-firmware-mediatek 20260622-1, the 
controller apparently completes and reports encryption fast enough to 
win this race; with 20260810-1, it consistently doesn't, so every BLE 
HID reconnect fails.

Steps to reproduce:
     1. Pair a BLE HID (HOGP) keyboard/mouse to a MediaTek Bluetooth 
controller running firmware 20260810-1.
     2. Observe it connects but produces no input, with the input-hog 
error above.
     3. Downgrade to linux-firmware-mediatek 20260622-1, rebuild 
initramfs, reboot.
     4. Reconnect the same device — works correctly every time.

Let me know if you need anything else.

Cheers,

Erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-27 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 14:12 linux-firmware-mediatek 1:20260810-1 breaks Bluetooth keyboard input Erik Steinkamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox