First pass at controlling the G522's RGB LEDs via feature 0x0620 HEADSET_RGB_HOSTMODE. Exposes two settings: 1. headset-rgb-hostmode — boolean toggle for SetHostModeState (function 8). Turning this on claims LED control; off returns control to firmware effects. 2. headset-rgb-color — preset color chooser (Off, Red, Green, Blue, White, Yellow, Cyan, Magenta, Orange, Purple). On write it enables host mode, queries zone IDs via GetRGBZoneInfo (function 1), calls SetRgbZonesSingleValue (function 5) with the chosen RGB, then commits via FrameEnd (function 6). "Off" issues SetHostModeState(0) only. Protocol reference: ~/ghub/LOGITECH_HIDPP2_PROTOCOL.md functions on 0x0620. We skip the SetSWControl on 0x0600 step because the G522 doesn't expose 0x0600. If the device rejects host-mode writes without that prerequisite we'll add it back. Falls back to zones 0x01/0x02 (typical left/right earcup) if GetRGBZoneInfo returns an unexpected format. |
||
|---|---|---|
| .github | ||
| bin | ||
| docs | ||
| lib | ||
| po | ||
| rules.d | ||
| rules.d-uinput | ||
| share | ||
| tests | ||
| tools | ||
| .coveragerc | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .python-version | ||
| CHANGELOG.md | ||
| COPYRIGHT | ||
| LICENSE.txt | ||
| MANIFEST.in | ||
| Makefile | ||
| README.md | ||
| RELEASE.md | ||
| RHEL.md | ||
| Release_Notes.md | ||
| mkdocs.yml | ||
| pyproject.toml | ||
| release.sh | ||
| setup.py | ||
README.md
Solaar
Solaar is a Linux manager for many Logitech keyboards, mice, and other devices that connect wirelessly to a Unifying, Bolt, Lightspeed or Nano receiver as well as many Logitech devices that connect via a USB cable or Bluetooth. Solaar is not a device driver and responds only to special messages from devices that are otherwise ignored by the Linux input system.
More Information - Usage - Capabilities - Rules - Manual Installation - Known Issues
Solaar supports:
- pairing/unpairing of devices with receivers
- configuring device settings
- custom button configuration
- running rules in response to special messages from devices
For more information see the main Solaar documentation page. -
Installation Packages
Up-to-date prebuilt packages are available for some Linux distros (e.g., Fedora) in their standard repositories. If a recent version of Solaar is not available from the standard repositories for your distribution, you can try one of these packages:
- Arch solaar package in the extra repository
- Ubuntu/Kubuntu package in Solaar stable ppa
- NixOS Flake package in Svenum/Solaar-Flake
Solaar is available from some other repositories but may be several versions behind the current version:
- a Debian package, courtesy of Stephen Kitt
- a Ubuntu package is available from universe repository
- a Gentoo package, courtesy of Carlos Silva and Tim Harder
- a Mageia package, courtesy of David Geiger