Merged back in 2018 for Linux 5.0 was 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 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.
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.
