Does the Logitech G402 work on Linux?
No dedicated driver is listed for it; generic Linux drivers handle pointer input.
Extra features: battery level and device settings need Solaar; DPI and button remapping need libratbag + Piper.
Which distros work?
| Distro | Kernel | Verdict |
|---|---|---|
| Arch Linux | — | ✅ All 4 features with repo packages |
| Fedora 44 | — | ✅ All 4 features with repo packages |
| Fedora 43 | — | ✅ All 4 features with repo packages |
| openSUSE Tumbleweed | — | ✅ All 4 features with repo packages |
| Ubuntu 26.04 LTS | — | ✅ All 4 features with repo packages |
| Ubuntu 24.04 LTS | — | ✅ All 4 features with repo packages |
| Ubuntu 22.04 LTS | — | ✅ All 4 features with repo packages |
| Debian 13 | — | ✅ All 4 features with repo packages |
| Debian 12 | — | ✅ All 4 features with repo packages |
Linux features
| Feature | Provided by |
|---|---|
| Battery level | Solaar |
| DPI | libratbag + Piper |
| Button remapping | libratbag + Piper |
| Device settings | Solaar |
Specs from systemd hwdb
| Spec | Value |
|---|---|
| DPI | 400, 800 (default), 1600, 3200 |
| 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.
- Button remapping
- The mouse buttons can be remapped from Linux with the listed tool.
- Device settings
- Device-specific settings can be changed from Linux with the listed tool.
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 |
Is this my device?
Run lsusb and look for this ID: 046d:c07e.
Or paste your whole lsusb output into the lookup on the home page.