summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-09-25 17:52:42 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-09-25 17:52:42 +0200
commit38e62fef89097ec3604320104197c48ebda0d591 (patch)
tree284e4a71dcdf3e3c54c530d3a5947ec192f13725 /etc
parent8fe5f78b7e53bcae858824f40e03d60ba19eae73 (diff)
rules: Gentoo update
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/gentoo/40-audio.rules23
-rw-r--r--etc/udev/gentoo/65-permissions.rules2
2 files changed, 2 insertions, 23 deletions
diff --git a/etc/udev/gentoo/40-audio.rules b/etc/udev/gentoo/40-audio.rules
deleted file mode 100644
index 8dfcb28624..0000000000
--- a/etc/udev/gentoo/40-audio.rules
+++ /dev/null
@@ -1,23 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-# alsa devices
-SUBSYSTEM=="sound", GROUP="audio"
-KERNEL=="controlC[0-9]*", NAME="snd/%k"
-KERNEL=="hwC[D0-9]*", NAME="snd/%k"
-KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k"
-KERNEL=="midiC[D0-9]*", NAME="snd/%k"
-KERNEL=="timer", NAME="snd/%k"
-KERNEL=="seq", NAME="snd/%k"
-
-# Do we need these? upstream has this in 40-alsa.rules, but we never had these
-#KERNEL=="mixer0", SYMLINK+="mixer"
-#KERNEL=="dsp0", SYMLINK+="dsp"
-#KERNEL=="audio0", SYMLINK+="audio"
-
-# sound devices
-KERNEL=="adsp|adsp[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
-KERNEL=="audio|audio[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
-KERNEL=="dsp|dsp[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
-KERNEL=="mixer|mixer[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
-KERNEL=="sequencer|sequencer[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
-
diff --git a/etc/udev/gentoo/65-permissions.rules b/etc/udev/gentoo/65-permissions.rules
index 1cc31af9ee..523c79d7f8 100644
--- a/etc/udev/gentoo/65-permissions.rules
+++ b/etc/udev/gentoo/65-permissions.rules
@@ -18,3 +18,5 @@ SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[18]", GROUP="tape", MODE=
KERNEL=="ippp*|isdn*|dcbri*", GROUP="uucp"
KERNEL=="pilot", GROUP="uucp"
+# sound devices (sound=alsa, snd=oss)
+SUBSYSTEM=="sound|snd", GROUP="audio"