-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 hardware.steam-hardware.enable should add the uinput module to kernelModules #70471
Comments
I didn't have to do this with my Steam controller, but I am on NixOS unstable |
19.09 is still very close to master/unstable – forked less than a month ago. |
@nyanloutre I am also on nixos-unstable, and I have to run @cdepillabout Thank you for the |
@lhindir Sorry, I believe I was misleading. I'm actually experiencing the exact same symptoms as you. Without loading the However, the controllers don't work in the one game I own, Overcooked. I haven't tried the controllers in other games. @nyanloutre Do you have the |
uinput needs to be added to boot.kernelModules in order for the udev rules defined by steam to be run and set permissions correctly on /dev/uinput. See NixOS#70471.
Actually, I got the same bug. I remember it worked before though. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/sunshine-self-hosted-game-stream/25608/7 |
Describe the bug
I use a PlayStation 3 controller over bluetooth to control steam. I recently updated to nixos-19.09.
In previous releases of nixos, I've had to add the following udev rule to be able to use my controller with some steam games:
This rule changes
/dev/uinput
so it is read-write by people in theinput
group. Some info about this is described in the following issue: #50901With a recent version of Steam (which is in 19.09), this udev rule is apparently no longer needed: #66916
However, now that I have updated to 19.09, I've found that this still doesn't work for me.
The reason appears to be that until the
uinput
kernel module is loaded, the correct permissions are not applied to/dev/uinput
. I figured this out through the following comment:chrippa/ds4drv#93 (comment)
My workaround has been to explicitly enable the
uinput
module:My suggestion is to add
uinput
toboot.kernelModules
wheneverhardware.steam-hardware.enable
is enabled.I will send a PR for this if it will be accepted.
Metadata
"x86_64-linux"
Linux 4.19.76, NixOS, 19.09beta606.3ba0d9f75cc (Loris)
yes
yes
nix-env (Nix) 2.3
""
"nixos-19.09beta606.3ba0d9f75cc"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
cc @nyanloutre @mmahut @vcunat @globin (who all have interacted on steam-releated PRs)
The text was updated successfully, but these errors were encountered: