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).
Which distros work?
| Distro | Kernel | Verdict |
|---|---|---|
| Arch Linux | 7.2 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| Fedora 44 | 7.2 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| Fedora 43 | 7.2 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| openSUSE Tumbleweed | 7.2 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| Ubuntu 26.04 LTS | 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 | 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 | 5.15 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| Debian 13 | 6.12 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
| Debian 12 | 6.1 (driver in 7.3) | ⚠️ 2 of 4 features from repos; battery level, hi-res scrolling: needs Linux 7.3 |
Linux features
| Feature | Provided by |
|---|---|
| Battery level | Linux kernel 7.3+ |
| DPI | libratbag + Piper |
| Hi-res scrolling | Linux kernel 7.3+ |
| Button remapping | libratbag + Piper |
Specs from systemd hwdb
| Spec | Value |
|---|---|
| DPI | 1200, 2400 (default), 3200, 6400 |
| Sampling rate | 1000 Hz |
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
| Tool | Install |
|---|---|
| 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:409f, 046d:c098.
Or paste your whole lsusb output into the lookup on the home page.