summaryrefslogtreecommitdiff
path: root/rules/gentoo/40-video.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/gentoo/40-video.rules')
-rw-r--r--rules/gentoo/40-video.rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/rules/gentoo/40-video.rules b/rules/gentoo/40-video.rules
new file mode 100644
index 0000000000..2d5e53411c
--- /dev/null
+++ b/rules/gentoo/40-video.rules
@@ -0,0 +1,24 @@
+# do not edit this file, it will be overwritten on update
+
+# video4linux
+KERNEL=="video[0-9]*", NAME="v4l/video%n", SYMLINK+="%k", GROUP="video"
+KERNEL=="radio[0-9]*", NAME="v4l/radio%n", SYMLINK+="%k", GROUP="video"
+KERNEL=="vbi[0-9]*", NAME="v4l/vbi%n", SYMLINK+="%k", GROUP="video"
+KERNEL=="vtx[0-9]*", NAME="v4l/vtx%n", GROUP="video"
+
+SUBSYSTEM=="dvb", GROUP="video"
+
+# device node will be /dev/dri/card?
+KERNEL=="card*", GROUP="video"
+KERNEL=="nvidia*", GROUP="video"
+KERNEL=="3dfx*", GROUP="video"
+
+# svgalib
+KERNEL=="svga*", GROUP="video"
+
+# Framebuffer
+KERNEL=="fb[0-9]*", GROUP="video"
+
+# IEEE1394 (firewire) devices
+KERNEL=="dv1394*|video1394*|raw1394*", GROUP="video"
+