1 # do not edit this file, it will be overwritten on update
3 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
4 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
5 KERNEL=="ptmx", GROUP="tty", MODE="0666", OPTIONS+="last_rule"
6 KERNEL=="tty", GROUP="tty", MODE="0666", OPTIONS+="last_rule"
7 KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620", OPTIONS+="last_rule"
8 KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty", OPTIONS+="last_rule"
9 KERNEL=="console", MODE="0600", OPTIONS+="last_rule"
12 KERNEL=="tty[A-Z]*|pppox*|ircomm*|noz*", GROUP="uucp"
13 KERNEL=="ppp", MODE="0600", OPTIONS+="ignore_remove"
14 KERNEL=="mwave", NAME="modems/mwave", GROUP="uucp"
15 KERNEL=="hvc*|hvsi*", GROUP="uucp"
16 KERNEL=="lirc0", SYMLINK+="lirc"
19 KERNEL=="null|zero|full|random|urandom", MODE="0666"
20 KERNEL=="null", SYMLINK+="XOR"
21 KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
22 KERNEL=="ram0", SYMLINK+="ramdisk"
23 KERNEL=="ram1", SYMLINK+="ram"
26 KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640"
27 KERNEL=="ts[0-9]*|uinput", NAME="input/%k", MODE="0600"
28 KERNEL=="js[0-9]*", NAME="input/%k", MODE="0644", SYMLINK+="%k"
31 KERNEL=="vbi0", SYMLINK+="vbi"
32 KERNEL=="radio0", SYMLINK+="radio"
33 KERNEL=="video0", SYMLINK+="video"
36 KERNEL=="agpgart", MODE="0600"
37 KERNEL=="card[0-9]*", NAME="dri/%k", MODE="0666"
38 KERNEL=="fb0", SYMLINK+="fb"
41 SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c"
44 KERNEL=="dv1394*", SYMLINK+="dv1394/%n"
45 KERNEL=="video1394*", NAME="video1394/%n"
47 # firmware class requests
48 SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
51 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
54 KERNEL=="parport[0-9]*", GROUP="lp"
55 SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
56 SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp"
57 KERNEL=="lp[0-9]*", GROUP="lp", SYMLINK+="par%n"
58 KERNEL=="irlpt[0-9]*", GROUP="lp"
60 # block, tapes, block-releated
61 SUBSYSTEM=="block", GROUP="disk", MODE="0640"
62 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
63 SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
64 SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"
65 KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
66 KERNEL=="fd[0-9]", GROUP="floppy"
67 KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"
68 KERNEL=="sch[0-9]*", GROUP="disk"
69 KERNEL=="sg[0-9]*", ATTRS{type}!="3|6", GROUP="disk", MODE="0640"
70 KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="disk"
71 KERNEL=="pg[0-9]*", GROUP="disk"
72 KERNEL=="pt[0-9]*|npt[0-9]*", GROUP="disk"
73 KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk"
74 KERNEL=="rawctl", NAME="raw/%k", GROUP="disk"
75 SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
76 KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k"
77 KERNEL=="pktcdvd", NAME="pktcdvd/control"
78 KERNEL=="qft0", SYMLINK+="ftape"
79 SUBSYSTEM=="bsg", NAME="bsg/%k"
80 SUBSYSTEM=="aoe", NAME="etherd/%k", GROUP="disk"
83 KERNEL=="tun", NAME="net/%k", MODE="0666", OPTIONS+="ignore_remove"
86 KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid"
87 KERNEL=="msr[0-9]*", NAME="cpu/%n/msr"
88 KERNEL=="microcode", NAME="cpu/microcode", MODE="0600"
91 KERNEL=="fuse", MODE="0666"
92 KERNEL=="rtc|rtc0", MODE="0644"
93 KERNEL=="rtc0", SYMLINK+="rtc"
94 KERNEL=="auer[0-9]*", NAME="usb/%k"
95 KERNEL=="hw_random", NAME="hwrng", SYMLINK+="%k"
96 KERNEL=="mmtimer", MODE="0644"
97 KERNEL=="rflash[0-9]*", MODE="0400"
98 KERNEL=="rrom[0-9]*", MODE="0400"
99 KERNEL=="sbpcd0", SYMLINK+="sbpcd"
100 KERNEL=="slram[0-9]*", SYMLINK+="xpram%n"
101 KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
102 KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
103 KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
105 # do not delete static device nodes
106 ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove"