summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsschweizer@gmail.com <sschweizer@gmail.com>2005-02-06 00:41:53 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:24:20 -0700
commitc7a84d7556531f93c7f47f2bd9c820418cdad5d9 (patch)
treea1e7200d87a09c7086d78292ee71db900022b1cd
parent3887557706fed195d85c958d5a07eb744b179e4c (diff)
[PATCH] gentoo/udev.rules: add default permissions for sound devices
-rw-r--r--etc/udev/gentoo/udev.rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index 7f708b631..b5f23902c 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -12,6 +12,9 @@
#
###########################################################
+# all block devices
+SUBSYSTEM="block", GROUP="disk"
+
# cdrom symlinks and other good cdrom naming
BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
@@ -32,6 +35,7 @@ KERNEL="nvidia*", NAME="%k", GROUP="video"
KERNEL="3dfx*", NAME="%k", GROUP="video"
# alsa devices
+SUBSYSTEM="sound", GROUP="audio"
KERNEL="controlC[0-9]*", NAME="snd/%k"
KERNEL="hw[CD0-9]*", NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
@@ -212,9 +216,6 @@ KERNEL="diskonkey*", NAME="%k", GROUP="disk"
# rem_ide devices
KERNEL="microdrive*", NAME="%k", GROUP="disk"
-# all block devices
-SUBSYSTEM="block", NAME="%k", GROUP="disk"
-
# kbd devices
KERNEL="kbd", NAME="%k", MODE="0664"