Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound...
[openwrt.git] / package / hotplug2 / files / hotplug2.rules
1 DEVICENAME ~~ (tun|tap[0-9]) {
2 makedev /dev/net/%DEVICENAME% 0644
3 next
4 }
5
6 DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
7 makedev /dev/snd/%DEVICENAME% 0644
8 next
9 }
10
11 DEVPATH is set {
12 makedev /dev/%DEVICENAME% 0644
13 }
14
15 FIRMWARE is set {
16 exec /sbin/hotplug-call firmware;
17 next
18 }
19
20 SUBSYSTEM ~~ (net|button) {
21 exec /sbin/hotplug-call %SUBSYSTEM%;
22 }
This page took 0.048305 seconds and 5 git commands to generate.