2007-12-02 01:08:04 +08:00
|
|
|
|
2010-04-11 02:35:14 +08:00
|
|
|
# uncomment me to log hotplug events
|
|
|
|
# DEVPATH is set {
|
|
|
|
# nothrottle
|
|
|
|
# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
|
|
|
|
# }
|
|
|
|
|
2010-02-13 02:57:01 +08:00
|
|
|
DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
|
2007-12-02 01:08:04 +08:00
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0666
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
|
|
|
DEVICENAME ~~ (tun|tap[0-9]) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/net/%DEVICENAME% 0644
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
|
|
|
DEVICENAME ~~ (ppp) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0600
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
|
|
|
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/snd/%DEVICENAME% 0644
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
2009-09-29 04:05:50 +08:00
|
|
|
DEVICENAME ~~ (lp[0-9]) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0644
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
2009-03-09 23:06:15 +08:00
|
|
|
DEVPATH is set, SUBSYSTEM ~~ (input) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/input/%DEVICENAME% 0644
|
|
|
|
}
|
|
|
|
|
2010-02-12 09:37:02 +08:00
|
|
|
DEVICENAME == device-mapper {
|
2010-04-04 02:21:02 +08:00
|
|
|
nothrottle
|
|
|
|
makedev /dev/mapper/control 0600
|
2010-02-12 09:37:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-12-02 01:08:04 +08:00
|
|
|
DEVPATH is set {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0644
|
|
|
|
}
|
|
|
|
|
2010-04-04 02:21:02 +08:00
|
|
|
FIRMWARE is set, ACTION == add {
|
2007-12-02 01:08:04 +08:00
|
|
|
nothrottle
|
2010-04-04 02:21:02 +08:00
|
|
|
load-firmware /lib/firmware
|
2007-12-02 01:08:04 +08:00
|
|
|
next
|
|
|
|
}
|