Home › Mice › Logitech

Does the Logitech G502 X Wireless work on Linux?

Works out of the box for pointer input with the in-kernel driver hid-logitech-hidpp (since Linux 7.3).

Extra features: DPI and button remapping need libratbag + Piper; battery level and hi-res scrolling come with the kernel driver.

0 of 9 tracked distro releases ship a new enough default kernel; older: Arch Linux, Fedora 44, Fedora 43, openSUSE Tumbleweed, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, Debian 13, Debian 12 (see the table below).

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

Which distros work?

DistroKernelVerdict
Arch Linux
CachyOS, EndeavourOS
7.2 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Fedora 44
Bazzite, Nobara
7.2 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Fedora 437.2 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
openSUSE Tumbleweed7.2 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Ubuntu 26.04 LTS
Kubuntu, Xubuntu, Ubuntu flavours
7.0 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Ubuntu 24.04 LTS
Linux Mint 22, elementary OS 8
6.8 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Ubuntu 22.04 LTS
Linux Mint 21
5.15 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Debian 136.12 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3
Debian 126.1 (driver in 7.3)⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3

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 7.3+
DPIlibratbag + Piper
Hi-res scrollingLinux kernel 7.3+
Button remappinglibratbag + Piper

Specs from systemd hwdb

SpecValue
DPI1200, 2400 (default), 3200, 6400
Sampling rate1000 Hz

From systemd's mouse hardware database, matched by USB vendor:product ID. 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.

What to install

ToolInstall
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:409f, 046d:c098. Or paste your whole lsusb output into the lookup on the home page.

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

"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
7 Linux features