Comments (21)
@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.
-> https://gitlab.com/Fabish/steam-devices
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.
from com.valvesoftware.steam.
@PureTryOut In that case you can just use:
https://github.com/ValveSoftware/steam-devices
However I still provide a few more devices (including the steam-devices) in
https://gitlab.com/fabis_cafe/game-devices-udev
from com.valvesoftware.steam.
@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
from com.valvesoftware.steam.
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
from com.valvesoftware.steam.
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 steam-launcher/subprojects/steam-devices/
.
Note there is also a SteamVR rules file in there, but SteamVR has other issues preventing it from being used, #636.
from com.valvesoftware.steam.
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.
from com.valvesoftware.steam.
By the way my steam controller does work fine here in big picture mode at least (host is F26).
from com.valvesoftware.steam.
Make sure you do not have a native Steam package installed, as that will implement udev rules and load them during boot.
from com.valvesoftware.steam.
I don't have steam installed on the host.
EDIT: Oh but I have sc-controller
so that might do it.
from com.valvesoftware.steam.
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.
from com.valvesoftware.steam.
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/
from com.valvesoftware.steam.
@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.
from com.valvesoftware.steam.
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.
from com.valvesoftware.steam.
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.
from com.valvesoftware.steam.
Sounds like exactly why I found https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions in the first place
from com.valvesoftware.steam.
You can do something hacky:
flatpak-spawn --host pkexec cp $the_udev_rule_in_our_install $the_host_udev_path
from com.valvesoftware.steam.
Wow, that's really scary :)
from com.valvesoftware.steam.
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:
# file /etc/udev/rules.d/99-steam-controller-perms.rules
# Valve USB devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
# Steam Controller udev write access
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input"
# 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"
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.
from com.valvesoftware.steam.
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...
from com.valvesoftware.steam.
FTR, you can also take the udev rules included in rpmfusion's steam package.
from com.valvesoftware.steam.
Oh I didn't realize they have tagged releases for that in a separate repo, awesome!
from com.valvesoftware.steam.
Related Issues (20)
- Steamwebhelper is not responding HOT 3
- Steam updates installed games on every launch
- Steam opens multiple instances after todays update. HOT 2
- Incredibly laggy experience with new update HOT 1
- Prevent multiple Steam instances with the same user HOT 1
- Unable open external disk on Ubuntu 24.04 HOT 2
- Steam isn't opening HOT 1
- Unable stop games from stop button HOT 1
- Games wont launch with --unshare-network HOT 1
- Steam stuck in restarting loop on Debian HOT 1
- Steam sometimes starts with tray icon only. HOT 3
- Weird Inconsistencies and Issues With Graphics of Pretty Much Every Game
- HDR on KDE don't work HOT 18
- Steam crashes on glXChooseVisual HOT 4
- Steam invalid X11 window HOT 1
- GUI does not open. HOT 1
- Steam failed to launch due to a segfault HOT 2
- Fails to start if all of xdg-config is made available
- Keyboard Input lag HOT 1
- Steam flatpak crash on startup: Error "steamwebhelper is not responding". (Last Ubuntu apparmor upgrade issue). FIXED HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com.valvesoftware.steam.