News: 0001618191

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 7.0 Fixes Battery Reporting For The Apple Magic Trackpad 2

([Apple] 6 Hours Ago Apple Magic Trackpad 2)


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



Human cardiac catheterization was introduced by Werner Forssman in 1929.
Ignoring his department chief, and tying his assistant to an operating
table to prevent her interference, he placed a ureteral catheter into
a vein in his arm, advanced it to the right atrium [of his heart], and
walked upstairs to the x-ray department where he took the confirmatory
x-ray film. In 1956, Dr. Forssman was awarded the Nobel Prize.