mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4892] steam: gamepad does not work with nou2f due to /dev/hidraw access (and enumeration fails) #2808
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#2808
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 @WPettersson on GitHub (Feb 2, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4892
Description
I've been using steam under firejail for a while now, including a steam controller and everything had worked fine. Until a couple of days ago. It's taken a while to work out what happened, but I think it was down to me switching to using the controller wireless. This meant that the USB dongle is now inserted permanently in my PC, and in particular at boot. And a recent reboot changed
/dev/hidraw?numbering, pushing the steam controller down from/dev/hidraw{9..12}to/dev/hidraw{4..8}.For the record, I'm running Gentoo, firejail is at 0.9.64.4 which is admittedly old. The reason I'm posting this is that I also have a solution to this on my end.
Steps to Reproduce
/dev/hidraw{0..9}(all 5 in that range).Expected behavior
Controller to work, Steam recognises the USB receiver
Actual behavior
Controller does not work, Steam does not recognise the USB receiver
Behavior without a profile
Works fine
Additional context
The problem is access to the Steam controller
/dev/hidraw?devices:This shows that
/dev/hidraw{0..9}are blocked ifnou2fis enabled. Disablingnou2fdoes fix my issue, and the steam controller works again.This leads to some questions:
nou2fclearly was renamed in the past71a3b97ce5but is it still a good name?/dev/hidraw{0..9}- should this be extended to block further elements? Up to/dev/hidraw20? Possibly with wildcard matching?nou2fremoved? Some people might want to keep Steam from accessing u2f, while others (like me) want to use a steam controller.Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)@rusty-snake commented on GitHub (Feb 2, 2022):
#2723
@kmk3 commented on GitHub (Apr 10, 2025):
I'd say probably not, though this is a known issue.
Should be fixed by:
Removed in: