View previous topic :: View next topic |
Author |
Message |
Mappy n00b
Joined: 21 Jun 2019 Posts: 42
|
Posted: Sat Jul 25, 2020 1:30 am Post subject: Controllers do not work when running Steam games |
|
|
Controllers seem to work when running games without Steam, but when running the same games through Steam, there is no input from controllers.
I have enabled uinput in the kernel. I'm not using systemd/elogind/consolekit.
Here is /etc/udev/rules.d/99-steam-controller-perms.rules:
Code: | # Valve USB devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
# Steam Controller udev write access
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
# Valve HID devices over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"
# Valve HID devices over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666" |
Here is getfacl /dev/uinput:
Code: | # file: dev/uinput
# owner: root
# group: uinput
user::rw-
group::rw-
other::--- |
If anyone knows how I might troubleshoot this, I'd appreciate it. Thanks |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Jul 25, 2020 2:54 am Post subject: |
|
|
Is steam running in any kind of sandbox? Are the controllers wired or bluetooth? |
|
Back to top |
|
|
Mappy n00b
Joined: 21 Jun 2019 Posts: 42
|
Posted: Sat Jul 25, 2020 3:08 am Post subject: |
|
|
Ant P. wrote: | Is steam running in any kind of sandbox? Are the controllers wired or bluetooth? |
No sandbox, just a regular Steam install on the rootfs. I've tried a Steam Controller (wired via USB cable and wireless with USB dongle) and Dualshock 4 (wired via USB cable). Both produce the same results. |
|
Back to top |
|
|
Mappy n00b
Joined: 21 Jun 2019 Posts: 42
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Jul 25, 2020 6:58 am Post subject: |
|
|
Are either of them visible in the controller setup screen? This might be a bug in Steam itself, it seems to do this frequently. |
|
Back to top |
|
|
Mappy n00b
Joined: 21 Jun 2019 Posts: 42
|
Posted: Sat Jul 25, 2020 9:45 pm Post subject: |
|
|
I did some more testing and it seems that both controllers only seem to work when using the keyboard/mouse emulation, and only when using Steam's "desktop configuration" or the Steam Controller's kernel driver. I didn't realize that kb/m emulation was being used outside of Steam as well. I must be missing something that allows gamepads to work. I have the joystick interface enabled in the kernel, so I'm not sure what else I could be missing.
Ant P. wrote: | Are either of them visible in the controller setup screen? This might be a bug in Steam itself, it seems to do this frequently. |
In Steam's controller setup screen? Yes, they are visible there, and it can detect button presses on the controller to change their configuration. |
|
Back to top |
|
|
elover Apprentice
Joined: 20 Nov 2019 Posts: 159 Location: Spain
|
Posted: Wed Jul 29, 2020 11:23 pm Post subject: |
|
|
Hey, something like that happens to me.
I go into Big Pinture mode and on controllers I get the profiles of any controller... I have ps4, xbox, jostick, from nintendo and it works on steam. Then in the game it doesn't go. I have to go in big pinture mode and change it from there in controller options so that it doesn't select the profiles that steam creates
I think the mistake is steam. |
|
Back to top |
|
|
|