[PATCH 6/6] usb: kbd: Add probe quirk for Apple and Keychron keyboards

Marek Vasut marex at denx.de
Wed Feb 21 13:44:10 CET 2024


On 2/21/24 08:25, Janne Grunau via B4 Relay wrote:
> From: Janne Grunau <j at jannau.net>
> 
> Those keyboards do not return the current device state. Polling will
> timeout unless there are key presses. This is not a problem during
> operation but the inital device state query during probing will fail.
> Skip this step in usb_kbd_probe_dev() to make these devices useable.
> Not all Apple keyboards behave like this. A keyboard with USB
> vendor/product ID 05ac:0221 is reported to work with the current code.
> Unfortunately some Keychron keyboards "re-use" Apple's vendor ID and
> show the same behavior (Keychron C2, 05ac:024f for example).

Uh, fun.

Reviewed-by: Marek Vasut <marex at denx.de>

Thanks !


More information about the U-Boot mailing list