From c7a84d7556531f93c7f47f2bd9c820418cdad5d9 Mon Sep 17 00:00:00 2001 From: "sschweizer@gmail.com" Date: Sun, 6 Feb 2005 00:41:53 +0100 Subject: [PATCH] gentoo/udev.rules: add default permissions for sound devices --- etc/udev/gentoo/udev.rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules index 7f708b631f..b5f23902cb 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" -- cgit v1.2.3-54-g00ecf