summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev')
-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"