summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJulius Lehmann <lehmanju@devpi.de>2026-02-14 22:34:21 +0300
committerJiri Kosina <jkosina@suse.com>2026-02-24 11:41:21 +0300
commit5f3518d77419255f8b12bb23c8ec22acbeb6bc5b (patch)
tree537fb54e014e2949fbf14e9be6126a611891fd13 /scripts
parent97d5c8f5c09a604c4873c8348f58de3cea69a7df (diff)
downloadlinux-5f3518d77419255f8b12bb23c8ec22acbeb6bc5b.tar.xz
HID: magicmouse: fix battery reporting for Apple Magic Trackpad 2
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. Signed-off-by: Julius Lehmann <lehmanju@devpi.de> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions