1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-14 05:57:40 +03:00

rules: Gentoo update

This commit is contained in:
Matthias Schwarzott 2007-09-25 17:52:42 +02:00 committed by Kay Sievers
parent 8fe5f78b7e
commit 38e62fef89
2 changed files with 2 additions and 23 deletions

View File

@ -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"

View File

@ -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"