Re: [PATCH v2] HID: apple: Report Magic Keyboard 2021 with fingerprint reader battery over USB

From: Jiri Kosina
Date: Wed Feb 16 2022 - 10:50:58 EST


On Tue, 8 Feb 2022, José Expósito wrote:

> Like the Apple Magic Keyboard 2015, when connected over USB, the 2021
> version with fingerprint reader registers 2 different interfaces. One of
> them is used to report the battery level.
>
> However, unlike when connected over Bluetooth, the battery level is not
> reported automatically and it is required to fetch it manually.
>
> Add the APPLE_RDESC_BATTERY quirk to fix the battery report descriptor
> and manually fetch the battery level.
>
> Tested with the ANSI variant of the keyboard with and without numpad.
>
> Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs