-DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
+# uncomment me to log hotplug events
+# DEVPATH is set {
+# nothrottle
+# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
+# }
+
+DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
nothrottle
makedev /dev/%DEVICENAME% 0666
next
DEVICENAME ~~ (tun|tap[0-9]) {
nothrottle
makedev /dev/net/%DEVICENAME% 0644
- next
}
DEVICENAME ~~ (ppp) {
next
}
+DEVICENAME ~~ (lp[0-9]) {
+ nothrottle
+ makedev /dev/%DEVICENAME% 0644
+ next
+}
+
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644
}
+DEVICENAME == device-mapper {
+ nothrottle
+ makedev /dev/mapper/control 0600
+}
+
+
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644
}
-FIRMWARE is set {
+FIRMWARE is set, ACTION == add {
nothrottle
- exec /sbin/hotplug-call firmware;
+ load-firmware /lib/firmware
next
}