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
nixos/steam-hardware: fix uinput udev rule #50901
Conversation
cc @infinisil |
@infinisil I tried with kernel 4.19 and I can reproduce your behavior, at boot the ACL isn't applied. Edit: sorry for the noise, I just forgot to enable my module |
(triage) @infinisil, you appear to have been involved in the discussion in #49367. I think this PR matches your statement at #49367 (comment) ; but you may want to review it? |
I was trying to use a PS3 controller with steam (to play a windows-only game with Proton) and it wasn't working because steam couldn't read /dev/uinput. After adding this udev rule,
edit: oops, looks like I spoke too soon. With the udev rule proposed in this PR, a windows-only game with Proton (Overcooked) is only able to see one controller, not multiple controllers. I still end up getting these messages in
This is strange, since my user should have permission to write to
Maybe this is caused from the chroot environment steam is running in (actually I haven't looked into this at all, so I don't really know what I'm talking about here)? If I manually run Also, what is strange is that As a work-around, I'm using the following setting: services.udev.extraRules = ''
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput", GROUP="input", MODE="0660"
''; This sets |
Are there any updates on this pull request, please? |
My preference would be for this pull request #49367 as the rule is added in the same file as the other related ones. EDIT: ValveSoftware/steam-for-linux#4794 (comment)
|
Please see #66916 |
Motivation for this change
close #49367
rewrite using
udev.extraRules
instead of patching the Steam packageThings done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)