2 # uncomment me to log hotplug events
4 # exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
7 DEVICENAME ~~ (^null$|^full$|^ptmx$|^tty|^zero$|^gpio|^hvc) {
8 makedev /dev/%DEVICENAME% 0666
12 DEVICENAME ~~ (^tun|^tap[0-9]$) {
13 makedev /dev/net/%DEVICENAME% 0644
17 makedev /dev/%DEVICENAME% 0600
21 DEVICENAME ~~ (^controlC[0-9]$|^pcmC[0-9]D[0-9]|^timer$) {
22 makedev /dev/snd/%DEVICENAME% 0644
26 DEVICENAME ~~ ^lp[0-9]$ {
27 makedev /dev/%DEVICENAME% 0644
31 DEVPATH is set, SUBSYSTEM == input {
32 makedev /dev/input/%DEVICENAME% 0644
35 DEVICENAME == device-mapper {
36 makedev /dev/mapper/control 0600
40 makedev /dev/%DEVICENAME% 0644
43 FIRMWARE is set, ACTION == add {
44 load-firmware /lib/firmware