RE of lghub_agent.arm64 revealed that LGHUB's service-layer handler for 0x0618 HeadsetBatterySaverMode (on_headset_battery_saver_set_handler @ 0x100c21790) compares the requested new state against its cached current state and ONLY invokes the devio SetEcoModeState write on a genuine transition. Wire format is confirmed 0/1 (canonical doc correct); the G522 firmware rejects no-op writes with device-specific NACK 0x0B. BooleanValidator's prepare_write already contains the "skip if same as current" branch — it just fires only when current_value is supplied, which requires needs_current_value=True. For default-mask (0xFF) validators, needs_current_value defaults to False so Setting.write skips the pre-read and prepare_write gets current_value=None. HeadsetEcoMode now builds its validator explicitly and forces needs_current_value=True so Setting.write reads first, compares in prepare_write, and skips redundant writes — matching LGHUB exactly. Same fix may apply to other Centurion boolean features whose firmware rejects no-op writes, but leaving those unchanged until observed. |
||
|---|---|---|
| .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