-
Notifications
You must be signed in to change notification settings - Fork 69
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
Document Steam devices limitations #8
Comments
As I understand it udev has no stability guarantees between versions so it impossible to use in a portable way. So there has to be some stable interface to the host to use it be it another library or service. |
By the way my steam controller does work fine here in big picture mode at least (host is F26). |
Make sure you do not have a native Steam package installed, as that will implement udev rules and load them during boot. |
I don't have steam installed on the host. EDIT: Oh but I have |
Sure enough, that includes udev rules to access the Steam controller. It seems that Steam itself already ships with a libudev library. If it's possible to access udev devices in the flatpak itself anyways, maybe it's possible to include these inside the flatpak? I'm not sure if loading udev rules inside the flatpak sandbox is even possible. |
When there are udev rule problems, you usually can use the steam controller in big picture mode, but not on games. Have you tried gaming, @TingPing? FTR: http://steamcommunity.com/app/353370/discussions/0/490123197956024380/ |
@yajo works fine in game if you have the udev rules on the host. I don't think there is any way for the rules from the guest to work currenlty though. |
Some games (e.g. Dirt Rally) do not work with steering wheels when run in flatpak. Not entirely sure if this is udev related but it seems plausible. |
Seems to me like the only workaround possible for this currently is to manually copy the udev rules from inside the Flatpak app into the host. |
@nanonyme no that wont work. Some distros needs some changes to the udev rules to make them work. like arch for example, where the normal steam udev rules wont work to make the controller work, and it also needs to load uinput. Since we use the same base in Manjaro I try to keep up rules in an external package. So I dont think it's possible to add rules on a flatpak level. So maybe just add some message at the first start. So users will know. |
Sounds like exactly why I found https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions in the first place |
You can do something hacky:
|
Wow, that's really scary :) |
In fedora28 with 4.17 kernel steam-controller doesn't works out-of-the-box too. But probably it could be supported in 4.18 as docummented in: https://wiki.archlinux.org/index.php/Gamepad#Steam_Controller I have got steam-controller support doing it: Create file:
Add users to input group and logoff/logon. source: https://wiki.gentoo.org/wiki/Steam_Controller Also see: https://gitlab.com/Fabish/steam-devices I think it could be good to have it in frequently asked questions wiki. |
@pablodav I dont know if its different on fedora, but mode 666 isnt a good idea. Thats why we're using an additional tag "uaccess" so only the current loged-in user got access to the device. On top of that I need to load the uinput kernel module. I've done some readme now in the gitlab repo |
Added some comments to https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions#my-controller-isnt-recognized-at-all; might turn that into a separate page if it expands too much |
thanks @Tids for your comment, I don't know what's the proper configuration, but great to have better examples in your repo https://gitlab.com/Fabish/steam-devices/blob/master/71-Valve-Controllers.rules I think it is the best set of examples I can find. @nanonyme thanks for adding it on wiki, looks good as it is now, over time linux kernel could get more and more support, let's see what happens in some months... |
FTR, you can also take the udev rules included in rpmfusion's steam package. |
Actually, I would recommend the udev rules used by the official Steam package itself. The latest Steam package can be found here. Once you've downloaded and extracted the archive, the udev rules can be found under Note there is also a SteamVR rules file in there, but SteamVR has other issues preventing it from being used, #636. |
@PureTryOut In that case you can just use: However I still provide a few more devices (including the steam-devices) in |
Oh I didn't realize they have tagged releases for that in a separate repo, awesome! |
Currently (as far as I know), there is no way for a Flatpak application to get udev access. However, Steam needs this in order for the Steam controller, the Steam Link and VR devices (HTC Vive, Oculus, ...) to work.
No udev access -> no Steam devices.
As far as I'm aware there's no way Steam devices could function through SDL, so it needs udev rules.
The text was updated successfully, but these errors were encountered: