mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 13:47:47 +01:00
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
Pre-commit checks / pre-commit (push) Has been cancelled
Python tests / test (push) Has been cancelled
Shell tests / shell-tests (push) Has been cancelled
Shell tests / arch-tests (push) Has been cancelled
kuhy: "I do not want it to work like this, I want it to just work normally." PS4 mode (046D:C260) cannot be supported on this PC (no kernel driver, SDL lg4ff has no c260 either, so FFB is dead there too) and the selector is physical. Keep the mode detection so the journal and --status name PS4 mode instead of "not found"; drop the desktop notification and the 5-minute Restart loop. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVfC2T6DyvCFqse9A99zef
20 lines
786 B
Desktop File
20 lines
786 B
Desktop File
[Unit]
|
|
# Safety net for the G29 shifter HID-BPF fix (see docs/DOCS-g29-shifter.md).
|
|
# udev-hid-bpf's own rule attaches the program on "add"; this unit re-checks
|
|
# after boot and on every hotplug, and re-attaches if that rule ever misses.
|
|
# It exits 0 with no wheel present, and FAILS (visibly, in the journal and
|
|
# systemctl --failed) when the wheel is present in a mode the fix cannot
|
|
# attach to (PS4 selector -> 046D:C260); flipping the selector re-enumerates
|
|
# the wheel and the udev rule below runs it again.
|
|
# Installed by fixes/fix_g29_shifter.sh; __SCRIPT__ is substituted there.
|
|
Description=Ensure the G29 shifter HID-BPF fix is attached
|
|
After=systemd-udevd.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=no
|
|
ExecStart=__SCRIPT__ --ensure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|