]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
50-udev-default.rules.in: set correct group for mediaX/cecX (#5921)
authorLennart Poettering <lennart@poettering.net>
Tue, 9 May 2017 19:10:55 +0000 (21:10 +0200)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Tue, 9 May 2017 19:10:55 +0000 (21:10 +0200)
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.

rules/50-udev-default.rules.in

index 064f66a9769a7c2527d17bb9fa3236f0b2a7980d..e55653302099729c4b9e70e8a1e79cf8eb84685c 100644 (file)
@@ -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"