Skip to content
  • Janne Grunau's avatar
    usb: kbd: Add probe quirk for Apple and Keychron keyboards · 63f6a449
    Janne Grunau authored and Marek Vasut's avatar Marek Vasut committed
    
    
    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 initial 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).
    
    Reviewed-by: default avatarMarek Vasut <marex@denx.de>
    Reviewed-by: default avatarNeal Gompa <neal@gompa.dev>
    Signed-off-by: default avatarJanne Grunau <j@jannau.net>
    63f6a449