aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2/files/hotplug2.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/hotplug2/files/hotplug2.rules')
-rw-r--r--package/hotplug2/files/hotplug2.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
index 5122ada378..b88ea5669f 100644
--- a/package/hotplug2/files/hotplug2.rules
+++ b/package/hotplug2/files/hotplug2.rules
@@ -3,6 +3,11 @@ DEVICENAME ~~ (tun|tap[0-9]) {
next
}
+DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
+ makedev /dev/snd/%DEVICENAME% 0644
+ next
+}
+
DEVPATH is set {
makedev /dev/%DEVICENAME% 0644
}