-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uaccess ACL not applied to /dev/uinput without OPTIONS+="static_node=uinput" #4794
Comments
Hi Simon, Which recommendation are you referring to? In this post it looks like we have that option specified: http://steamcommunity.com/app/353370/discussions/0/490123197956024380/ Are you using our Steam package containing our udev rules file as-is, or a Debian variant of it? |
Hello @Plagman, I'm seeing |
The 1.0.0.54-1 Debian package maintained by the Debian Games Team, which is apparently based on something that Valve releases. On the linked Debian bug 818905 the maintainer said
but did not elaborate on which Valve package or documentation it came from. The version from the steamcommunity article
isn't suitable for distros, because distros can't know which group is right. I assume that's why you used However, the version with a |
(Debian's |
Correct, we used uaccess for our package but GROUP for the general recommendation because uaccess seemed like a distro-specific mechanism. We can change our package to include the static_node=uinput clause for sure, do you have details on when the current line would break exactly? Is it an upcoming Debian change? |
Sort of; it's specific to distros that use a vaguely recent systemd-logind. The Gentoo wiki also mentions Sorry, I don't know whether there's a cutoff version of something (udev/systemd? Linux?) where the version without |
It turns out the reason this works on SteamOS (at least brewmaster) is a patch to the default device permissions rules in
So SteamOS is already relying on the equivalent of the change I proposed. The For context, the purpose of the See |
That package is in fact a slightly cut-down version of Valve's |
It seems the Debian maintainer still waits for Valve to add |
Yes. I think the concern might be that the licensing for Valve's @Plagman, would Valve be willing to put some permissive license (like MIT/X11) on that rules file, or clarify that the udev rules are intended to be modifiable under §1B(ii) in the EULA, or otherwise give permission for distros that redistribute it to modify it to be more suitable for their udev/kernel? |
FWIW I'm seeing the same thing on Debian Sid. I don't want to start a chain of +1s, but it would be nice to have this resolved upstream so that Debian (and other distros) can integrate it. I manually edited my file the way that @smcv suggested and it works as expected. Alternatively the change to the license would be great too. Apologies for the added noise. |
Is this issue still considered by Valve ? |
The configuration files were relicensed MIT here: https://github.com/ValveSoftware/steam-devices This issue is (mostly) no longer valid as distros should be repackaging the udev rules for their own setup (eg systemd or no-systemd) |
Oh OK I didn't know it was under MIT, thanks for the link ! |
I downloaded the launcher from https://steamcdn-a.akamaihd.net/client/installer/steam.deb and that appears to contain the correct udev rule. Thus I think this issue can be closed. |
Yes I can confirm it's working with latest version on NixOS |
Closing as fixed in Debian's 1.0.0.54-6 Steam package and ValveSoftware/steam-devices#2. |
This is Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818905.
/dev/uinput
does not receive non-trivial ACLs, and as a result Steam's Steam Controller support cannot synthesize gamepad input events for games that expect an X-Box-style controller (specifically, I'm testing with Shadow Tactics: Blades of the Shogun in Big Picture mode).Expected:
where
somebody
is whichever user is logged in on the currently active virtual console.Actual:
Suggested solution
A change to the udev rules seems to resolve the issue: replace Valve's current recommendation
with
The text was updated successfully, but these errors were encountered: