move input device nodes to /dev/input
[openwrt-10.03/.git] / package / base-files / files / etc / hotplug2-common.rules
1
2 DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
3         nothrottle
4         makedev /dev/%DEVICENAME% 0666
5         next
6 }
7
8 DEVICENAME ~~ (tun|tap[0-9]) {
9         nothrottle
10         makedev /dev/net/%DEVICENAME% 0644
11         next
12 }
13
14 DEVICENAME ~~ (ppp) {
15         nothrottle
16         makedev /dev/%DEVICENAME% 0600
17         next
18 }
19
20 DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
21         nothrottle
22         makedev /dev/snd/%DEVICENAME% 0644
23         next
24 }
25
26 DEVPATH is set, SUBSYSTEM ~~ (input) {
27         nothrottle
28         makedev /dev/input/%DEVICENAME% 0644
29 }
30
31 DEVPATH is set {
32         nothrottle
33         makedev /dev/%DEVICENAME% 0644
34 }
35
36 FIRMWARE is set {
37         nothrottle
38         exec /sbin/hotplug-call firmware;
39         next
40 }