aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-15 08:20:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-15 08:20:31 +0000
commit8d2dd06e4c6915970ba7d18fe8a87f533324ac70 (patch)
tree3baa3b0074e4562b1e8d60c7a40aac06f46046b4
parent5feba01b29a228e3168b2da15322576ac11cf4a5 (diff)
downloadmaster-187ad058-8d2dd06e4c6915970ba7d18fe8a87f533324ac70.tar.gz
master-187ad058-8d2dd06e4c6915970ba7d18fe8a87f533324ac70.tar.bz2
master-187ad058-8d2dd06e4c6915970ba7d18fe8a87f533324ac70.zip
Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound peripherals (#1677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7246 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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
}