The Linux Kernel Might Finally See Proper Support For The Apple Magic Mouse 2

Written by Michael Larabel in Apple on 27 March 2021 at 09:28 AM EDT. 15 Comments
APPLE
Standard mouse functionality of Apple's Magic Mouse 2 works currently under Linux but the "hid-magicmouse" mainline driver might finally be extended to fully support the Magic Mouse 2.

The Magic Mouse 2 was introduced a half-decade ago already and basic mouse functionality works currently under Linux with the generic HID input code. There has also been out-of-tree / third-party support efforts for the Magic Mouse 2 but lacking mainline support. What's new this weekend are patches sent out for review to improve upon the hid-magicmouse mainline driver to cover the Magic Mouse 2.


John Chen sent out a set of four patches a short time ago to extend the hid-magicmouse driver to cover the Magic Mouse 2 so the battery status and other functionality is working under Linux. The patches are in turn based on third-party GitHub-hosted projects that worked on the Magic Mouse 2 / Magic Trackpad 2 support under Linux. The patchwork also includes extending the HID input driver for the battery support too.

The ~150 lines worth of patches can be found on the kernel mailing list if you are after seeing better mainline support for the Apple Magic Mouse 2 on Linux.

This Bluetooth-connected, rechargeable, multi-touch mouse retails for about $79 USD.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week