Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Controllers do not work when running Steam games
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Mappy
n00b
n00b


Joined: 21 Jun 2019
Posts: 38

PostPosted: Sat Jul 25, 2020 1:30 am    Post subject: Controllers do not work when running Steam games Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6722

PostPosted: Sat Jul 25, 2020 2:54 am    Post subject: Reply with quote

Is steam running in any kind of sandbox? Are the controllers wired or bluetooth?
Back to top
View user's profile Send private message
Mappy
n00b
n00b


Joined: 21 Jun 2019
Posts: 38

PostPosted: Sat Jul 25, 2020 3:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Mappy
n00b
n00b


Joined: 21 Jun 2019
Posts: 38

PostPosted: Sat Jul 25, 2020 4:35 am    Post subject: Reply with quote

Just tried it with elogind, I get the same issue.

Here's dmesg:
https://pastebin.com/ymtqg3Yh

And here's what Steam's output looks like...:
https://pastebin.com/CV5PCWX1
Not sure what all of the "broken pipe" warnings are about.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6722

PostPosted: Sat Jul 25, 2020 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Mappy
n00b
n00b


Joined: 21 Jun 2019
Posts: 38

PostPosted: Sat Jul 25, 2020 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
elover
n00b
n00b


Joined: 20 Nov 2019
Posts: 55
Location: Spain

PostPosted: Wed Jul 29, 2020 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum