fix(ffb): aim the proxy at the wheel, log its reasons, reload udev on install - #110
Merged
Merged
Conversation
… install Three faults behind one report (#105), where the DirectInput proxy route left DiRT Rally 2.0 not starting and nothing in the log said why. The launcher's lookup of the wheel's USB parent, used to aim logi-ffb at the session's wheel, ran cd on a sysfs symlink and resolved the parent logically, landing in /sys/bus/hid; nothing below matched, so the aim never fired on any machine and the proxy fell back to its own scan. readlink -f gives the real parent. logi-ffb's messages, including the one reason it refused to start, went to stderr, which under Steam is a console nobody reads; the lines that do reach the launcher log come from the daemon's redirected stderr, not the game's. The proxy now mirrors every user-facing message into the file LOGI_LAUNCH_LOG names, and the launcher exports that for its children. Debug traces stay on stderr. The Debian and RPM packages never reloaded udev after installing their rules, so /dev/uhid kept its root-only mode until the next reboot and the proxy could not create its virtual wheel. Both now reload and re-trigger misc, hidraw and input; Arch's own udev-reload hook and the from-source installer already did. The Arch install notice also stops telling people to set PROTON_ENABLE_HIDRAW by hand.
mescon
enabled auto-merge
September 19, 2026 23:36
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



For #105. Three defects on our side: the launcher never aimed logi-ffb (logical
cd ..through a sysfs symlink, verified on this machine), logi-ffb's start-up error never reached the launcher log, and the deb/rpm packages never reloaded udev so/dev/uhidstayed root-only until reboot. logi-ffb tests (72) and core tests pass; clippy clean; shellcheck unchanged.