Does the Logitech Wireless Mouse MX Master work on Linux?
Works out of the box for pointer input with the in-kernel driver hid-logitech-hidpp (since Linux 5.6).
Extra features: DPI, button remapping, SmartShift wheel, multi-device switching and gesture button need Solaar; battery level and hi-res scrolling come with the kernel driver.
The default kernel of all 9 tracked distro releases already includes the driver.
Which distros work?
| Distro | Kernel | Verdict |
|---|---|---|
| Arch Linux | ✅ 7.2 | ✅ All 7 features with repo packages |
| Fedora 44 | ✅ 7.2 | ✅ All 7 features with repo packages |
| Fedora 43 | ✅ 7.2 | ✅ All 7 features with repo packages |
| openSUSE Tumbleweed | ✅ 7.2 | ✅ All 7 features with repo packages |
| Ubuntu 26.04 LTS | ✅ 7.0 | ✅ All 7 features with repo packages |
| Ubuntu 24.04 LTS | ✅ 6.8 | ✅ All 7 features with repo packages |
| Ubuntu 22.04 LTS | ✅ 5.15 | ✅ All 7 features with repo packages |
| Debian 13 | ✅ 6.12 | ✅ All 7 features with repo packages |
| Debian 12 | ✅ 6.1 | ✅ All 7 features with repo packages |
Linux features
| Feature | Provided by |
|---|---|
| Battery level | Linux kernel 5.6+, Solaar |
| DPI | libratbag + Piper, Solaar |
| Hi-res scrolling | Linux kernel 5.6+, Solaar |
| Button remapping | libratbag + Piper, Solaar |
| SmartShift wheel | Solaar |
| Multi-device switching | Solaar |
| Gesture button | Solaar |
Specs from systemd hwdb
| Spec | Value | USB ID |
|---|---|---|
| DPI | 1000 | 046d:4041 |
| Sampling rate | 166 Hz | 046d:4041 |
| Wheel click angle | 15° | 046d:4041 |
| Horizontal wheel click angle | 26° | 046d:4041 |
| Wheel clicks per turn | 24 | 046d:4041 |
| Horizontal wheel clicks per turn | 14 | 046d:4041 |
| DPI | 1000 | 046d:b012 |
| Sampling rate | 2000 Hz | 046d:b012 |
| Wheel click angle | 15° | 046d:b012 |
| Horizontal wheel click angle | 26° | 046d:b012 |
| Wheel clicks per turn | 24 | 046d:b012 |
| Horizontal wheel clicks per turn | 14 | 046d:b012 |
What this means on Linux
- Battery level
- The charge level can be read from Linux through the tool or driver listed above.
- DPI
- DPI is the sensor's sensitivity (dots per inch). The listed tool can show or change the DPI steps from Linux.
- Hi-res scrolling
- High-resolution scrolling reports finer wheel steps, so apps that support it can scroll more smoothly.
- Button remapping
- The mouse buttons can be remapped from Linux with the listed tool.
- SmartShift wheel
- SmartShift switches the scroll wheel between ratcheted and free-spinning. The listed tool can configure it.
- Multi-device switching
- Switching which paired computer the device talks to (for example Logitech Easy-Switch) can be done from Linux.
- Gesture button
- The gesture button's actions can be configured from Linux.
What to install
| Tool | Install |
|---|---|
| Solaar | Arch: sudo pacman -S solaarFedora: sudo dnf install solaarDebian: sudo apt install solaarUbuntu: sudo apt install solaarFlatpak: flatpak install flathub io.github.pwr_solaar.solaar |
| libratbag + Piper | Arch: sudo pacman -S piperFedora: sudo dnf install piperDebian: sudo apt install piperUbuntu: sudo apt install piperFlatpak: flatpak install flathub org.freedesktop.Piper |
| Linux kernel | Built in, nothing to install. |
Is this my device?
Run lsusb and look for one of these IDs: 046d:4041, 046d:b012.
Or paste your whole lsusb output into the lookup on the home page.