[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2202161650240.11721@cbobk.fhfr.pm>
Date: Wed, 16 Feb 2022 16:50:30 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: José Expósito <jose.exposito89@...il.com>
cc: benjamin.tissoires@...hat.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] HID: apple: Report Magic Keyboard 2021 battery over
USB
On Tue, 8 Feb 2022, José Expósito wrote:
> Like the Apple Magic Keyboard 2015, when connected over USB, the 2021
> version 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, ISO and JIS variants of the keyboard.
>
> Signed-off-by: José Expósito <jose.exposito89@...il.com>
Applied.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists