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