Field testing revealed cross-contamination between function calls on the same sub-device feature. A late-arriving MessageEvent for GetRGBZoneInfo (function 1) was being accepted as the response to a subsequent GetHostModeState (function 7) on the same feature (0x0620), because _is_bridge_response_for only matched on sub_feat_idx. Evidence from tester log: HeadsetRGBHostMode.write: before=b'\x08\x01\x02\x03\x04\x05\x06\x07\x08...' The "before" read of GetHostModeState returned what is clearly a GetRGBZoneInfo response (count=8, zones=[1..8]) queued from earlier. The device echoes our exact sub-device function byte (function<<4 | sw_id) in the response. Plumb that expected value from centurion_bridge_request through _is_bridge_response_for and reject any response whose sub_func_sw doesn't match. Also validate orig_func_sw for error responses. Also removes the zone_id==0 filter in HeadsetRGBColor._zone_ids — with proper response matching the device should now consistently report real zone IDs (G522 has 8 zones at IDs 1-8 per the delayed response capture), and filtering is no longer needed. |
||
|---|---|---|
| .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