From: sschweizer@gmail.com Date: Sat, 5 Feb 2005 23:41:53 +0000 (+0100) Subject: [PATCH] gentoo/udev.rules: add default permissions for sound devices X-Git-Tag: 052~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a84d7556531f93c7f47f2bd9c820418cdad5d9;p=systemd [PATCH] gentoo/udev.rules: add default permissions for sound devices --- diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules index 7f708b63..b5f23902 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"