Home › Mice › Logitech

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.

Built from public driver and tool lists, not hands-on tests.

Which distros work?

DistroKernelVerdict
Arch Linux
CachyOS, EndeavourOS
✅ 7.2✅ All 7 features with repo packages
Fedora 44
Bazzite, Nobara
✅ 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
Kubuntu, Xubuntu, Ubuntu flavours
✅ 7.0✅ All 7 features with repo packages
Ubuntu 24.04 LTS
Linux Mint 22, elementary OS 8
✅ 6.8✅ All 7 features with repo packages
Ubuntu 22.04 LTS
Linux Mint 21
✅ 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

Kernel versions are each release's default (and optional newer) kernel as of 2026-10-26. Distros sometimes backport drivers, so an older kernel can still work. Basic input and audio work through generic drivers regardless; this table is about the extra features.

Linux features

FeatureProvided by
Battery levelLinux kernel 5.6+, Solaar
DPIlibratbag + Piper, Solaar
Hi-res scrollingLinux kernel 5.6+, Solaar
Button remappinglibratbag + Piper, Solaar
SmartShift wheelSolaar
Multi-device switchingSolaar
Gesture buttonSolaar

Specs from systemd hwdb

SpecValueUSB ID
DPI1000046d:4041
Sampling rate166 Hz046d:4041
Wheel click angle15°046d:4041
Horizontal wheel click angle26°046d:4041
Wheel clicks per turn24046d:4041
Horizontal wheel clicks per turn14046d:4041
DPI1000046d:b012
Sampling rate2000 Hz046d:b012
Wheel click angle15°046d:b012
Horizontal wheel click angle26°046d:b012
Wheel clicks per turn24046d:b012
Horizontal wheel clicks per turn14046d:b012

From systemd's mouse hardware database, matched by USB and Bluetooth vendor:product IDs. These are values recorded by systemd contributors, not measured by us; the database is what desktop software reads to set pointer speed and scrolling.

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

ToolInstall
SolaarArch: sudo pacman -S solaar
Fedora: sudo dnf install solaar
Debian: sudo apt install solaar
Ubuntu: sudo apt install solaar
Flatpak: flatpak install flathub io.github.pwr_solaar.solaar
libratbag + PiperArch: sudo pacman -S piper
Fedora: sudo dnf install piper
Debian: sudo apt install piper
Ubuntu: sudo apt install piper
Flatpak: flatpak install flathub org.freedesktop.Piper
Linux kernelBuilt 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.

Kernel driver: hid-logitech-hidpp — Linux 5.6+

"Supported" means the device appears in that project's device list. We don't test hardware ourselves; see how this works. Something wrong here? Report it.

More Logitech mice

Logitech G502
8 Linux features
Logitech G903 Hero
7 Linux features
Logitech GPro
7 Linux features
Logitech MX Master 3
7 Linux features
Logitech PRO X Wireless
7 Linux features
Logitech Wireless Mouse MX Master 2S
7 Linux features