Solaar/tests/logitech_receiver
Ken Sanislo bdc17e9fb5 Add startup animation toggle for COLOR_LED_EFFECTS devices
The 0x8070 V1+ NvConfig (GetNvConfig/SetNvConfig, funcs 4/5) carries a
startup-effect toggle under capability 0x0001 — a pure on/off switch
(0x01/0x02) with no color payload, unlike the 0x8071 NvConfig boot
effects; the boot color comes from the NV-persisted zone effect.
GetNvConfig echoes the capability ID ahead of the value.

Wire format captured from G HUB driving a G560 (usbmon) and the
round-trip hardware-verified.  Build probes the capability and
suppresses the setting on devices that NACK it.  The G560's only other
NvConfig capability is 0x0002, which on 0x8071 devices causes a
firmware animation-loop lockup — deliberately not exposed.
2026-07-16 23:07:23 -07:00
..
__init__.py tests: Add tests of common module 2024-02-18 06:10:53 -05:00
fake_hidpp.py Add support for the G560 Gaming Speaker and speaker devices generally 2026-07-16 23:06:34 -07:00
test_base.py G522 LIGHTSPEED headphones support 2026-05-21 10:13:00 -04:00
test_base_usb.py Speedup lookup of known receivers 2025-01-01 11:33:07 -05:00
test_common.py ui: Show offline status for receiver-paired device batteries (#3217) 2026-05-13 17:32:03 -04:00
test_desktop_notifications.py tests: mock the libnotify backend so the suite raises no real notifications 2026-05-21 10:15:12 -04:00
test_device.py G522 LIGHTSPEED headphones support 2026-05-21 10:13:00 -04:00
test_diversion.py Refactor: Introduce Feature enum 2024-10-14 07:28:09 -04:00
test_hidpp10.py device: Handle composite IntFlag.name on Python < 3.11 (#3187) 2026-04-16 11:38:25 -04:00
test_hidpp20_complex.py Add support for the G560 Gaming Speaker and speaker devices generally 2026-07-16 23:06:34 -07:00
test_hidpp20_simple.py Add support for the G560 Gaming Speaker and speaker devices generally 2026-07-16 23:06:34 -07:00
test_notifications.py show better pairing errors (#3063) 2025-12-10 11:18:50 -05:00
test_receiver.py device: Support per-slot unpair on Lightspeed receivers (CLI + GUI) (#3183) 2026-04-17 09:34:58 -04:00
test_rgb_power.py rgb_control: honor the off state — don't auto-claim, init, or shutdown LEDs 2026-05-15 10:45:27 -04:00
test_setting_templates.py Add startup animation toggle for COLOR_LED_EFFECTS devices 2026-07-16 23:07:23 -07:00
test_settings_validator.py common: render RGB color values as 0xrrggbb in config and solaar show 2026-05-12 12:51:36 -04:00