Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound...
authorFlorian Fainelli <florian@openwrt.org>
Tue, 15 May 2007 08:20:31 +0000 (08:20 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 15 May 2007 08:20:31 +0000 (08:20 +0000)
SVN-Revision: 7246

package/hotplug2/files/hotplug2.rules

index 5122ada3787555336d55e8815f607b9a3775a154..b88ea5669f97e8d12a8ded7f1d62c0f94cda6850 100644 (file)
@@ -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
 }