Linux 7.0 Fixes Battery Reporting For The Apple Magic Trackpad 2
([Apple] 6 Hours Ago
Apple Magic Trackpad 2)
- Reference: 0001618191
- News link: https://www.phoronix.com/news/Linux-7.0-Fix-Magic-Trackpad-2
- Source link:
Merged back in 2018 for Linux 5.0 was [1]support for the Apple Magic Trackpad 2 . Merged this week for the in-development Linux 7.0 kernel is fixing battery reporting for those using the Magic Trackpad 2 under Linux.
This week's [2]HID fixes pull for Linux 7.0-rc3 contains just a few fixes. There are some memory leak fixes in some of the C code, potential kernel crashes in some of the drivers, and also fixing a potential null pointer dereference too. For end users what's likely most notable is fixing battery reporting for the Apple Magic Trackpad 2.
[3]
It was recently discovered that battery reporting is not working for the Apple Magic Trackpad 2 if it is connected via USB. Due to an incorrect HID descriptor check for its length, a necessary fix was not being applied. But now with a one line change to the hid-magicmouse driver, the battery reporting is now working correctly for the Apple Magic Trackpad 2 USB.
The HID fixes were merged ahead of Linux 7.0-rc3 due out later today. The small fix will likely be back-ported to current Linux stable kernel versions in the coming days.
[1] https://www.phoronix.com/news/Magic-Trackpad-2-Linux-Queue
[2] https://lore.kernel.org/lkml/aartWCMziwt2tLB8@beelink/
[3] https://www.phoronix.com/image-viewer.php?id=2026&image=magic_trackpad_2_lrg
This week's [2]HID fixes pull for Linux 7.0-rc3 contains just a few fixes. There are some memory leak fixes in some of the C code, potential kernel crashes in some of the drivers, and also fixing a potential null pointer dereference too. For end users what's likely most notable is fixing battery reporting for the Apple Magic Trackpad 2.
[3]
It was recently discovered that battery reporting is not working for the Apple Magic Trackpad 2 if it is connected via USB. Due to an incorrect HID descriptor check for its length, a necessary fix was not being applied. But now with a one line change to the hid-magicmouse driver, the battery reporting is now working correctly for the Apple Magic Trackpad 2 USB.
The HID fixes were merged ahead of Linux 7.0-rc3 due out later today. The small fix will likely be back-ported to current Linux stable kernel versions in the coming days.
[1] https://www.phoronix.com/news/Magic-Trackpad-2-Linux-Queue
[2] https://lore.kernel.org/lkml/aartWCMziwt2tLB8@beelink/
[3] https://www.phoronix.com/image-viewer.php?id=2026&image=magic_trackpad_2_lrg