docs(docs): root-cause and record the phantom pad in a dual remap#11
Merged
Conversation
Two DualSense both in ps5-xbox make Steam list a fifth, inert PlayStation pad. Hardware verification shows the hidraw gate holds on both pads (both nodes 000, no holder); the leak is the second pad's evdev node, re-opened by Steam during the second transition's driver rebind. EVIOCGRAB keeps it input-dead, so it is cosmetic, not double input. No lightweight robust fix exists: the daemon is a --user service sharing Steam's UID, so an evdev permission/ACL barrier that blocks Steam also locks out the remapper's own grab. Decision: document and defer; escalate to a root fd-passing grab (born-gated evdev node + SCM_RIGHTS) only if a game-side slot test shows functional harm (stolen player slot). - docs/decisions/evdev-enumeration-leak.md: full analysis and decision - docs/troubleshooting.md: symptom + inert-case verification - ROADMAP.md: status entry and known-limitation backlog item
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.
What
Documents the phantom fifth controller Steam lists when two DualSense are both in
ps5-xbox, and records the decision to defer the fix.Root cause (hardware-verified, 2026-07-15)
000, no holder) — hidraw is not the leak.the driver rebind of the second
ps5-xboxtransition.EVIOCGRABstill holds it, so it isinert —
evtestreports the node grabbed, no events leak, no double input.EVIOCGRABhides events, not enumeration; Steam reads the VID/PID off the evdev node andlists it regardless of the grab. Always the second pad, position- not device-specific.
Why deferred
The daemon is a
--userservice sharing Steam's UID, so any evdev permission/ACL barrier thatblocks Steam also locks out the remapper's own grab. The only robust fix (born-gated evdev node
SCM_RIGHTS+ a raw-read remapperpath) expands a security-sensitive privileged surface for a cosmetic list entry. Decision:
document and defer; escalate only if a pending game-side slot test shows functional harm.
Changes (docs only, no runtime change)
docs/decisions/evdev-enumeration-leak.md— full analysis, decision, rejected alternativesdocs/troubleshooting.md— symptom + inert-case verificationROADMAP.md— status entry and known-limitation backlog itemRepo validation (
scripts/validate-repo.sh) passes, including internal-link checks.