X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=etc%2Fudev%2Fudev.rules;h=12c7c581ecb3c40b2adfbaf2d3147febdbd8b403;hb=86673eb3edb0f23bb83f2d04ed76f0302ea39fa5;hp=e72751656e3d6e9b192502fa7f4c2a2b16435255;hpb=71cf391508a0f458971b327260d3d90af629131f;p=elogind.git diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index e72751656..12c7c581e 100644 --- a/etc/udev/udev.rules +++ b/etc/udev/udev.rules @@ -55,3 +55,11 @@ KERNEL="dm-[0-9]*", NAME="" # DRI devices always go into a subdirectory (as per the LSB spec) KERNEL="card*", NAME="dri/card%n" +# alsa devices +KERNEL="controlC[0-9]*", NAME="snd/%k" +KERNEL="hw[CD0-9]*", NAME="snd/%k" +KERNEL="pcm[CD0-9cp]*", NAME="snd/%k" +KERNEL="midi[CD0-9]*", NAME="snd/%k" +KERNEL="timer", NAME="snd/%k" +KERNEL="seq", NAME="snd/%k" +