2007-12-01 19:08:04 +02:00
|
|
|
|
2011-05-08 13:48:38 +03:00
|
|
|
DEVICENAME ~~ (null|full|ptmx|zero|gpio|hvc) {
|
2007-12-01 19:08:04 +02:00
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0666
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
|
|
|
DEVICENAME ~~ (tun|tap[0-9]) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/net/%DEVICENAME% 0644
|
|
|
|
}
|
|
|
|
|
|
|
|
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/snd/%DEVICENAME% 0644
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
2009-09-28 23:05:50 +03:00
|
|
|
DEVICENAME ~~ (lp[0-9]) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0644
|
|
|
|
next
|
|
|
|
}
|
|
|
|
|
2009-03-09 17:06:15 +02:00
|
|
|
DEVPATH is set, SUBSYSTEM ~~ (input) {
|
|
|
|
nothrottle
|
|
|
|
makedev /dev/input/%DEVICENAME% 0644
|
|
|
|
}
|
|
|
|
|
2010-02-12 03:37:02 +02:00
|
|
|
DEVICENAME == device-mapper {
|
2010-04-23 18:32:22 +03:00
|
|
|
nothrottle
|
|
|
|
makedev /dev/mapper/control 0600
|
2011-05-08 13:48:38 +03:00
|
|
|
next
|
2010-02-12 03:37:02 +02:00
|
|
|
}
|
|
|
|
|
2011-05-08 13:48:38 +03:00
|
|
|
ACTION == add, DEVPATH is set {
|
2007-12-01 19:08:04 +02:00
|
|
|
nothrottle
|
|
|
|
makedev /dev/%DEVICENAME% 0644
|
|
|
|
}
|
|
|
|
|
2011-05-08 13:48:38 +03:00
|
|
|
ACTION == add, DEVPATH is set, DEVICENAME ~~ ^tty {
|
|
|
|
chmod 0666 /dev/%DEVICENAME%
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTION == add, DEVPATH is set, DEVICENAME ~~ ^ppp {
|
|
|
|
chmod 0600 /dev/%DEVICENAME%
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTION == remove, DEVPATH is set, MAJOR is set, MINOR is set {
|
|
|
|
remove /dev/%DEVICENAME%
|
|
|
|
}
|
|
|
|
|
2010-04-23 18:32:22 +03:00
|
|
|
FIRMWARE is set, ACTION == add {
|
2007-12-01 19:08:04 +02:00
|
|
|
nothrottle
|
2010-04-23 18:32:22 +03:00
|
|
|
load-firmware /lib/firmware
|
2007-12-01 19:08:04 +02:00
|
|
|
next
|
|
|
|
}
|