]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Allow console users access to media* nodes
authorBastien Nocera <hadess@hadess.net>
Tue, 26 Oct 2021 09:57:30 +0000 (11:57 +0200)
committerBastien Nocera <hadess@hadess.net>
Tue, 26 Oct 2021 09:57:30 +0000 (11:57 +0200)
Newer webcams and video devices have controls only available through
/dev/media* nodes. Make sure they're accessible in the same way as
/dev/video* nodes.

Closes: #21054
src/login/70-uaccess.rules.in

index 28740ea647b14e0062729761f094866c476fa7ab..2e29846e113518a10cafe04d5c6e7480d89799c0 100644 (file)
@@ -33,6 +33,7 @@ SUBSYSTEM=="sound", TAG+="uaccess", \
 # Webcams, frame grabber, TV cards
 SUBSYSTEM=="video4linux", TAG+="uaccess"
 SUBSYSTEM=="dvb", TAG+="uaccess"
+SUBSYSTEM=="media", TAG+="uaccess"
 
 # industrial cameras, some webcams, camcorders, set-top boxes, TV sets, audio devices, and more
 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_MIDI}=="1", TAG+="uaccess"