Re: [PATCH] HID: magicmouse: fix battery reporting for Apple Magic Trackpad 2
From: Jiri Kosina
Date: Sat Feb 21 2026 - 04:51:06 EST
On Sat, 14 Feb 2026, Julius Lehmann wrote:
> Battery reporting does not work for the Apple Magic Trackpad 2 if it is
> connected via USB. The current hid descriptor fixup code checks for a
> hid descriptor length of exactly 83 bytes. If the hid descriptor is
> larger, which is the case for newer apple mice, the fixup is not
> applied.
>
> This fix checks for hid descriptor sizes greater/equal 83 bytes which
> applies the fixup for newer devices as well.
Applied to hid.git#for-7.0/upstream-fixes. Thanks,
--
Jiri Kosina
SUSE Labs