diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-05-15 08:20:31 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-05-15 08:20:31 +0000 |
commit | 5015ad650c5b0586beddaa7270714c532090c2c0 (patch) | |
tree | 48be4c0fd1a8f96f1954c5c125aeda7ba0f012b2 /package | |
parent | 924cd1ffc9b557640f60d2c8b668ceaee8bf3e67 (diff) | |
download | upstream-5015ad650c5b0586beddaa7270714c532090c2c0.tar.gz upstream-5015ad650c5b0586beddaa7270714c532090c2c0.tar.bz2 upstream-5015ad650c5b0586beddaa7270714c532090c2c0.zip |
Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound peripherals (#1677)
SVN-Revision: 7246
Diffstat (limited to 'package')
-rw-r--r-- | package/hotplug2/files/hotplug2.rules | 5 |
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 } |