From: florian Date: Tue, 15 May 2007 08:20:31 +0000 (+0000) Subject: Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound... X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=c57399881171036f92a5d545f535b3ac5dead9a5;p=openwrt-10.03%2F.git 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 --- diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index 5122ada37..b88ea5669 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 }