Bug 1118864

Summary: Possible easy fix for Steam Controller issues
Product: [openSUSE] openSUSE Tumbleweed Reporter: Sam G <samueldgv>
Component: OtherAssignee: Sam G <samueldgv>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jon, jonasdcdm, jxu, samueldgv, thomas.rosenberger
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Sam G 2018-12-08 21:55:18 UTC
Hi everyone,

I was wondering why the Steam Controller was not working properly in OpenSUSE although it's working perfectly in any other distribution I tried before. Turns out there is a permissions issue which I guess could be easily handled in the steam-controller package.

Several non-Valve games should be affected by this, and I can confirm it with Hyperlight Drifter in my case. Steam fails to virtualise the Steam controller access due to not having permissions on /dev/uinput

Doing a sudo modprobe uinput, or even more bluntly, a chmod 666 /dev/uinput fixes it.

I wonder why the Games group could not have access to it for example?

This issue also was handled before in steam's issue tracker, link below:

https://github.com/ValveSoftware/steam-for-linux/issues/4083

"Steam will try to open /dev/uinput when it sees a Steam Controller to create the virtual controller device and will fail to do so if it's not able to write to it."
Comment 1 Jonás del Campo 2019-05-28 13:45:28 UTC
Hi,

I have been trying to find a solution for so long, and finally this is it. Simply modprobing uinput fixes it for me on Tumbleweed. Before that I have tried to put my user in the "input" and "games" groups, but nothing would work.

By the time a fix is released, I hope that anyone with this issue can find this simple fix.
Comment 2 Thomas Rosenberger 2019-05-28 15:29:01 UTC
*** Bug 1121672 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Mailänder 2019-09-03 13:58:16 UTC
Bug 1121672 has a suggested fix for https://build.opensuse.org/package/show/games:tools/steam You will have to provide a .patch for the udev files according to https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines to resolve this.
Comment 4 Sam G 2019-10-05 09:21:32 UTC
Hello,

Sorry for not taking a look at this earlier. I went to look into the Steam package and it seems that moozaad already added the udev fix quite a while ago on https://build.opensuse.org/request/show/709576

It's been a while since I used the Steam controller on games so I didn't notice it, but upon a quick check right now it's working flawlessly.

P.D: Is it common for users to be assigned this kind of bugs? (I have no problem with it personally :), I was getting ready today for a trip to the wikis!)
Comment 5 Sam G 2019-10-05 09:22:49 UTC
Setting to Resolved for now.