Solaar/lib
Ken Sanislo e06c4ce93a HeadsetAutoSleep: read-modify-write a single uint8 timer slot
HID++ 0x0108 is not a single integer: V3 carries two uint8 timer slots,
V4+ carries three. The old code decoded the response as one big-endian
integer and wrote the user's value into byte[0] with the other slots
zeroed — which the firmware rejects, so writes silently never round-tripped.

_AutoSleepRangeValidator now decodes only the user-facing slot (byte[0]
on V<3 and V4+, byte[1] on V3 per LGHUB) and builds the wire payload by
reading the current bytes and mutating only that slot. Range becomes the
real uint8 0–255 (not the arbitrary 240), and the description drops the
"minutes" claim since per-slot units are device-specific.

See ~/ghub/solaar_0x0108_autosleep_impl_guide.md for the RE notes.
2026-05-10 16:48:28 -07:00
..
hid_parser Fix duplicate class field typo in HID parser data 2026-05-05 14:43:03 -04:00
hidapi Add G522 LIGHTSPEED headset support (Centurion 0x50 transport variant) 2026-05-10 15:39:16 -07:00
keysyms keysymdef: Rename key symbols 2024-10-11 07:42:38 -04:00
logitech_receiver HeadsetAutoSleep: read-modify-write a single uint8 timer slot 2026-05-10 16:48:28 -07:00
solaar Add G522 headset layout to per-key painter 2026-05-10 15:58:15 -07:00