Repository navigation
Present the Ally gaming pad as a Steam Deck - #90
DanielJBurbridge merged 2 commits into
Conversation
DanielJBurbridge
left a comment
There was a problem hiding this comment.
dev-red review at cc671ec: content PASS, but not mergeable yet (mechanical issue only).
Blocker (mechanical): docs/handheld/alpha-followups.md conflicts with integ b35296c, because #89's L300–L309 and this PR's L310 both append at the end of the file. Rebase onto b35296c and keep both blocks. I'll do one delta re-check on the new head.
Checks:
- One commit, with the
Model: grok-4.7trailer, and the PR body states the model. - CI
testis green. - alpha-followups: additions only, and the L310–L319 range is clean.
inputplumber-profile-test.shpasses, and reverting to ds5-edge makes it fail.gaming.yamlvalidates against the InputPlumber v0.84.0 schema.
Safety: the exit paths are unchanged.
- Command Centre short is still Guide, and Armoury long is still the overlay.
- Armoury short is now a real QAM button.
- Switch to Desktop is in the Steam UI and doesn't depend on the controller type.
- If the Deck pad can't be created, Steam sees no gamepad, but touch and power still work. ds5-edge had the same no-fallback behaviour.
Mediums (alpha-followups):
- M1: vhci_hcd isn't loaded on the Ally (kernel 7.2.15, inputplumber 0.84.0). After a kernel upgrade without a reboot, the modprobe fails and gaming starts with no pad. Before the device deploy, either ship a gated
modules-load.dentry for vhci-hcd (hardware leaf plus a migration), or verify after the load thatdeckis live and fall back togamepadif not. - M2: InputPlumber sends West as Deck Y (steam_deck.rs:622–623), so Command Centre long gives Steam+Y. Steam's keyboard chord is Steam+X.
docs/rog-ally-touch-keyboard.mdis wrong about this. After a press test, change the button toNorthand update the test assert at :150.
Lows:
- Docs still name ds5-edge: 01-controller-button-map D1/D7/C3/C4, README:50, and 02-mode-switch D8/OQ-11.
- Reword the GPL note at
gaming.yaml:4: it's a target name only, and nothing was copied. install-option-b.shstill verifies054c:0df2. It needs28de:1205.- L4/R4 paddles need a press test.
- InputPlumber omacom#433: the Deck target can race when SDL opens it, which may affect non-Steam launchers.
Parity: matches Bazzite 44+, which defaults handhelds to the Steam Deck pad. Picking deck over deck-uhid is defensible, given InputPlumber omacom#709.
Model: grok-4.7
The gaming profile emulated a DualSense Edge, so Steam drew PlayStation glyphs. The deck target is Valve 28de:1205, with gyro, back paddles and ABXY in the Ally's printed positions. Desktop profiles stay on xbox-elite. Model: grok-4.7 Co-authored-by: Daniel Burbridge <DanielJBurbridge@users.noreply.github.com>
A kernel upgrade without a reboot left the gaming profile with no pad. The Ally leaf and a migration write modules-load.d, and a gaming load falls back to ds5-edge when the module or its sysfs directory is absent. Model: grok-4.7 Co-authored-by: Daniel Burbridge <DanielJBurbridge@users.noreply.github.com>
cc671ec to
4159852
Compare
DanielJBurbridge
left a comment
There was a problem hiding this comment.
dev-red delta review at 4159852: PASS.
- Rebased onto integ b35296c, which is an ancestor. The alpha-followups changes are additions only (0 deletions), and both the L300 and L310 blocks are kept.
- Two commits, both with
Model: grok-4.7. - CI:
testandi18n-checkare green. - M1 fixed:
install-vhciis root-only and a no-op offomarchy-hw-rog-ally. It writes/etc/modules-load.d/omarchy-rog-ally-vhci.confthrough_write_bytes, which refuses to write through a symlink.- It's called from the hardware leaf with a warn-and-continue, and from migration 1795442196, both gated on the Ally.
- A gaming load modprobes the module and checks sysfs. If either fails, that load only sends ds5-edge and logs it, and gaming.yaml is left unchanged. That also covers the case where the kernel was upgraded without a reboot.
- Desktop loads don't touch vhci.
- Tests cover these paths: module absent, modprobe OK but sysfs absent, module appearing later, module present, desktop, and non-root.
- M2 is logged as L311. The docs lows are fixed, and the gaming.yaml licence wording is fine.
Low (alpha-followups): the migration has no || warn, so a write error would fail that migration. That's a rare case, since a failed modprobe already returns 0.
The 054c:0df2 check was in the box deploy script /workspace/ally-recover-20261123/install-option-b.sh (lines 66 and 228), not in this repo. It needs 28de:1205 before the next Ally deploy.
Model: grok-4.7
a58c8ec
into
feat/ally-parity-integration-20261111
What changes
In the handheld gaming session,
Omarchy Ally gamingemulated a Sony DualSense Edge (054c:0df2), so Steam drew PlayStation glyphs on an Ally whose face buttons are labelled ABXY. The gaming profile now uses InputPlumber'sdecktarget, the virtual Valve Steam Deck controller28de:1205.That target is the one that keeps the three things this pad needs at once. It reports a gyroscope and an accelerometer, so the Ally's BMI323 can reach Steam. It maps
LeftPaddle1andRightPaddle1to Deck L4 and R4, and the profile still does not remap the grips, so M1 and M2 pass through. Steam draws A at the bottom, B on the right, X on the left and Y on the top, which is where the Ally prints them. Quick Access is its own button on this target, so Armoury short is the Deck…button.xbox-elite(045e:0b00) andxbox-series(045e:0b12) are Xbox glyphs with no gyroscope capability, and both turn Quick Access into Guide then South, which also presses A.xbox-serieshas no paddle capabilities.deck-uhiduses the same report, but on the Ally composite it advertises28de:12fd. InputPlumber only attaches the real Deck id28de:1205ondeck, because Steam checks the interface number.Bazzite's handheld note says paddles want a DualSense Edge or Steam Deck target, that an Xbox target drops gyro, and that
deck-uhidis the fallback when gyro misbehaves. HHD's Ally path has no[inputplumber]section, so that stack loadsdeck-uhid. Those trees were compared and nothing was copied. The target name is the InputPlumber 0.84.0 schema enum. The profile makes no licence claim.Guide, Quick Access, Armoury long (
omarchy_overlay) and Command Centre long (Guide then West) are unchanged. Desktop, the greeter and the on-screen keyboard stay onxbox-elite.packages/omarchy-gaming-sessionis untouched, so pkgrel stays 13, which #89 already set. L300–L309 from that merge stay in the ledger, and L310–L319 follow them.Rebased onto
feat/ally-parity-integration-20261111atb35296cc.vhci_hcdis what creates the Deck pad.install-vhciwrites/etc/modules-load.d/omarchy-rog-ally-vhci.confonly whenomarchy-hw-rog-allysucceeds.install/hardware/asus/inputplumber.shcalls it inside that same predicate, andmigrations/1795442196.shcalls it the same way for an install that is already on the machine. A gaming load tries the module and then checks/sys/module/vhci_hcd. If the module cannot be loaded, or that directory is absent, that load sendsds5-edge, logs it, and leavesgaming.yamlon disk asdeck. A later load with the module present sendsdeckagain. Desktop, the greeter and the on-screen keyboard do not load the module.Command Centre long stays Guide then West. InputPlumber sends West as Deck Y, so the chord arrives as Steam+Y. That mapping waits for a press test (L311). After the test, the button becomes North.
Model: grok-4.7
Rollback: put
ds5-edgeback as the gamepad entry indefault/inputplumber/profiles/gaming.yamland runsudo omarchy-inputplumber-profile load gaming.Risks
28de:1205as a Steam Deck. It can apply Deck controller config, including trackpad settings this pad does not have. A game that only reads an Xbox evdev node does not see this virtual USB device until Steam Input translates it.vhci_hcdcannot be loaded, that gaming load is a DualSense Edge for that boot. The next successful load with the module present returns todeck.Verification
bash test/shell.d/inputplumber-profile-test.shpassed (exit 0). The gaming profile isdeck,mouse,keyboard. A missingvhci_hcdsendsds5-edgefor that load and does not rewrite the file. A present module sendsdeckand does not modprobe again. Desktop does not load the module.install-vhciwrites nothing unlessomarchy-hw-rog-allysucceeds, and a non-root caller is refused.Not checked on an RC71L. This checkout cannot load InputPlumber or Steam, so the glyphs, gyro and paddles are from the 0.84.0 target source, not a press on the pad.
install-option-b.shis not in this tree, so the054c:0df2check named in the review had no file to update.Screenshots
No visible change: the shell, panels and desktop theme are untouched. The glyph change is Steam's controller art in the gaming session on an RC71L, which this checkout cannot drive.