summaryrefslogtreecommitdiff
path: root/rules/rules.d/50-udev-default.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-19 21:47:07 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-19 21:47:07 +0100
commit874c43e42af96a43ff4983feeb91c1e6334eff6a (patch)
tree963bf4f25823862a90422229115692c27791b3a9 /rules/rules.d/50-udev-default.rules
parent15b3df5507e4cbc772dd415f2ddbc5924f41aa8e (diff)
rules: merge group "video" into default rules
Diffstat (limited to 'rules/rules.d/50-udev-default.rules')
-rw-r--r--rules/rules.d/50-udev-default.rules11
1 files changed, 10 insertions, 1 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index 9b7f7207d1..64c73b92ec 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -31,21 +31,30 @@ KERNEL=="ts[0-9]*|uinput", NAME="input/%k", MODE="0600"
KERNEL=="js[0-9]*", NAME="input/%k", MODE="0644", SYMLINK+="%k"
# video4linux
+SUBSYSTEM=="video4linux", GROUP="video"
+KERNEL=="vttuner*", GROUP="video"
+KERNEL=="vtx*|vbi*", GROUP="video"
+KERNEL=="winradio*", GROUP="video"
KERNEL=="vbi0", SYMLINK+="vbi"
KERNEL=="radio0", SYMLINK+="radio"
KERNEL=="video0", SYMLINK+="video"
# graphics
-KERNEL=="agpgart", MODE="0600"
+KERNEL=="agpgart", MODE="0600", GROUP="video"
KERNEL=="card[0-9]*", NAME="dri/%k", MODE="0666"
KERNEL=="fb0", SYMLINK+="fb"
+KERNEL=="pmu", GROUP="video"
+KERNEL=="nvidia*|nvidiactl*", GROUP="video"
+SUBSYSTEM=="graphics", GROUP="video"
# DVB video
SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c"
+SUBSYSTEM=="dvb", GROUP="video"
# Firewire
KERNEL=="dv1394*", SYMLINK+="dv1394/%n"
KERNEL=="video1394*", NAME="video1394/%n"
+KERNEL=="dv1394*|video1394*|raw1394*", GROUP="video"
# firmware class requests
SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"