testsAndMisc/linux_configuration
Krzysztof kuhy Rudnicki 7e2d78c7db Add the G29 shifter HID-BPF fix (1st/3rd engage reliably)
Live on this host since 2026-09-11 but never committed. The wheel firmware
decodes the shifter's hall sensor itself and this unit's top row rests at
Y 180-193, below the ~195 engage threshold, so 1st/3rd often did not
register. g29_shifter.bpf.c re-decodes those two gates from the raw X/Y
bytes with hysteresis (engage >= 160, release <= 140) and ORs the bit in
before hid-logitech parses the report; it never clears a bit, so the
firmware's working gates cannot regress. fix_g29_shifter.sh builds,
attaches and installs it persistently (udev-hid-bpf rule + a systemd
safety-net unit pulled in on every re-enumeration); g29_shifter_capture.py
records and grades raw captures per gate.

Two files were over the 250-line cap: the test file is split at the
record/CLI boundary with the report builders moved into a conftest fixture
(the naming hook allows only test_*.py in tests/), and the grader's
docstrings are tightened. No behaviour change to the installed fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SS8M5wk88nJTXxDWz61KKk
2026-09-14 22:12:31 +02:00
..
.githooks Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
.github Cache prettier's verdict so a push stops paying Node startup 2026-09-11 21:03:57 +02:00
boot_recovery Cap extensionless scripts, and split the one that was hiding 2026-08-23 19:13:40 +02:00
C/atop_agg atop_agg: split atop_agg.c 478 -> 204 + state + emit 2026-08-17 10:49:46 +02:00
diagnostics Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
docs Add the G29 shifter HID-BPF fix (1st/3rd engage reliably) 2026-09-14 22:12:31 +02:00
dwm Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
features Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
feedback-appimage Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
fixes Add the G29 shifter HID-BPF fix (1st/3rd engage reliably) 2026-09-14 22:12:31 +02:00
fresh-install Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
gaming Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
i3 Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
i3blocks Put the screen-locker status back on the i3 bar 2026-08-29 22:55:24 +02:00
installers Extract digital-wellbeing; the directory-depth cap now enforces 2026-08-23 20:57:51 +02:00
lib Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
meta Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
misc Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
periodic_background Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
tests Add the G29 shifter HID-BPF fix (1st/3rd engage reliably) 2026-09-14 22:12:31 +02:00
utils Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
zsh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
.gitignore Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
install_core_system.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
test_results.log Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00