aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-05-09 21:10:55 +0200
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-05-09 21:10:55 +0200
commit9bfc0df113edd50bd01acba02a42f2a13db83d71 (patch)
treea0728ac326bfe8b0d887d5b329691cd44cefc7f9 /rules
parentsd-boot: added shim signature/MOK validation (#5702) (diff)
downloadsystemd-9bfc0df113edd50bd01acba02a42f2a13db83d71.tar.gz
systemd-9bfc0df113edd50bd01acba02a42f2a13db83d71.tar.bz2
systemd-9bfc0df113edd50bd01acba02a42f2a13db83d71.zip
50-udev-default.rules.in: set correct group for mediaX/cecX (#5921)
The /dev/mediaX and /dev/cecX devices belong to the video group. Add two default rules for that. The /dev/cecX devices were introduced in kernel 4.8 in staging and moved out of staging in 4.10. These devices support the HDMI CEC bus. The /dev/mediaX devices are much older, but because they are not used very frequently nobody got around to adding this rule to systemd. They let the user control complex media pipelines.
Diffstat (limited to 'rules')
-rw-r--r--rules/50-udev-default.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in
index 064f66a97..e55653302 100644
--- a/rules/50-udev-default.rules.in
+++ b/rules/50-udev-default.rules.in
@@ -34,6 +34,8 @@ SUBSYSTEM=="video4linux", GROUP="video"
SUBSYSTEM=="graphics", GROUP="video"
SUBSYSTEM=="drm", GROUP="video"
SUBSYSTEM=="dvb", GROUP="video"
+SUBSYSTEM=="media", GROUP="video"
+SUBSYSTEM=="cec", GROUP="video"
SUBSYSTEM=="sound", GROUP="audio", \
OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"