mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4437] steam-controller not working in steam.profile #2673
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DoPlJoe on GitHub (Aug 3, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4437
As the title states, the steam-controller does not work with the steam.profile.
It does work with the --noprofile option. I've tried commenting out parts of the steam profile, but because I don't know what I'm doing that more often than not leads to steam not starting at all.
AFAIK these are the devices I need access to:
/dev/input/by-id/usb-Valve_Software_Steam_Controller-event-mouse
/dev/input/by-id/usb-Valve_Software_Steam_Controller-if01-event-joystick
/dev/input/by-id/usb-Valve_Software_Steam_Controller-if01-joystick
/dev/input/by-id/usb-Valve_Software_Steam_Controller-mouse
/dev/uinput
I've setup my udev-rules as recommended on the steam forums mapped to the group "input" which my user is part of. I've also tried setting permissions to 0666, but that doesn't work either. Strangely enough other controllers are accessible in steam, as long as the private-dev option is present.
Running Manjaro with the default firejail and steam packages installed.
@rusty-snake commented on GitHub (Aug 3, 2021):
Assuming you use firejail 0.9.66,
/dev/inputis allowed with steam.profile (checkfirejail --profile=steam ls -l /dev/input). If it is a permissions problem with group "input", try toignore nogroupsandignore noroot.@DoPlJoe commented on GitHub (Aug 3, 2021):
From the looks of it that shows all inputs, which are part of the "input"-group on my system. However /dev/uinput remains unavailable even with both those ignore options.
PS
I had similar issues on a headless proxmox server, trying to run steam under lxc. There I was able to solve it by following the instruction on the this reddit-post: https://www.reddit.com/r/Proxmox/comments/oj6ai5/guide_lxc_gpu_accelerated_gaming_desktop_without/
Could it be a similar issue, with /dev/uinput?
@rusty-snake commented on GitHub (Aug 3, 2021):
If it needs to emulate devices,
ignore private-dev.@DoPlJoe commented on GitHub (Aug 3, 2021):
That was the solution, now it works for both the steam-controller as well as regular ones.
Weird that when I had the private-dev thing commented out, I got neither. Thanks for the help.