summaryrefslogtreecommitdiff
path: root/etc/udev/udev.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/udev.rules')
-rw-r--r--etc/udev/udev.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index e72751656e..12c7c581ec 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"
+