7 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", OPTIONS="last_rule"
8 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", OPTIONS="last_rule"
9 KERNEL=="vcs*", NAME="%k", GROUP="tty", OPTIONS="last_rule"
10 KERNEL=="vcsa*", NAME="%k", GROUP="tty", OPTIONS="last_rule"
11 KERNEL=="tty", NAME="%k", GROUP="tty", MODE="0666", OPTIONS="last_rule"
12 KERNEL=="tty[0-9]", NAME="%k", GROUP="tty", OPTIONS="last_rule"
13 KERNEL=="tty[0-9][0-9]", NAME="%k", GROUP="tty", OPTIONS="last_rule"
14 KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600"
15 KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666"
18 KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n", GROUP="tty"
19 KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660"
20 KERNEL=="ippp0", NAME="%k", GROUP="tty"
21 KERNEL=="isdn*" NAME="%k", GROUP="tty"
22 KERNEL=="dcbri*", NAME="%k", GROUP="tty"
23 KERNEL=="ircomm*", NAME="%k", GROUP="tty"
26 SUBSYSTEM=="block", GROUP="disk"
28 # cdrom symlinks and other good cdrom naming
29 BUS=="ide", KERNEL=="hd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
30 BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
31 BUS=="scsi", KERNEL=="scd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
32 BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVERS=="sr", GROUP="cdrom"
33 ENV{ID_CDROM}=="?*", PROGRAM="seq_node.sh %r %k cdrom", SYMLINK+="%c", GROUP="cdrom"
34 ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="seq_node.sh %r %k cdrw", SYMLINK+="%c"
35 ENV{ID_CDROM_DVD}=="?*", PROGRAM="seq_node.sh %r %k dvd", SYMLINK+="%c"
36 ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="seq_node.sh %r %k dvdrw", SYMLINK+="%c"
39 KERNEL=="sd*", NAME="%k", GROUP="disk"
40 KERNEL=="dasd*", NAME="%k", GROUP="disk"
41 KERNEL=="ataraid*", NAME="%k", GROUP="disk"
44 KERNEL=="cciss*", NAME="%k"
45 KERNEL=="ida*", NAME="%k"
48 KERNEL=="rd*", NAME="%k"
51 KERNEL=="card*", NAME="dri/card%n", GROUP="video"
52 KERNEL=="nvidia*", NAME="%k", GROUP="video"
53 KERNEL=="3dfx*", NAME="%k", GROUP="video"
56 SUBSYSTEM=="sound", GROUP="audio"
57 KERNEL=="controlC[0-9]*", NAME="snd/%k"
58 KERNEL=="hw[CD0-9]*", NAME="snd/%k"
59 KERNEL=="pcm[CD0-9cp]*", NAME="snd/%k"
60 KERNEL=="midiC[D0-9]*", NAME="snd/%k"
61 KERNEL=="timer", NAME="snd/%k"
62 KERNEL=="seq", NAME="snd/%k"
65 KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20", GROUP="dialout"
66 KERNEL=="capi*", NAME="capi/%n", GROUP="dialout"
69 KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid"
70 KERNEL=="msr[0-9]*", NAME="cpu/%n/msr"
71 KERNEL=="microcode", NAME="cpu/microcode"
73 # dm devices (ignore them)
74 KERNEL=="dm-[0-9]*", OPTIONS="ignore_device"
75 # create a symlink named after the device map name
76 # note devmap_name comes with extras/multipath
77 #KERNEL=="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c"
78 KERNEL=="device-mapper", NAME="mapper/control"
81 KERNEL=="fb[0-9]*", NAME="fb/%n", SYMLINK+="%k", GROUP="video"
84 KERNEL=="fd[0-9]*", NAME="floppy/%n", SYMLINK+="%k", GROUP="floppy"
87 KERNEL=="i2c-[0-9]*", NAME="i2c/%n", SYMLINK+="%k"
90 KERNEL=="mice", NAME="input/%k", MODE="0644"
91 KERNEL=="mouse*", NAME="input/%k", MODE="0644"
92 KERNEL=="event*", NAME="input/%k", MODE="0600"
93 KERNEL=="js*", NAME="input/%k", MODE="664"
94 KERNEL=="ts*", NAME="input/%k", MODE="0600"
97 KERNEL=="loop[0-9]*", NAME="loop/%n", SYMLINK+="%k", GROUP="disk"
100 KERNEL=="md[0-9]*", NAME="md/%n", SYMLINK+="%k", GROUP="disk"
103 SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
104 SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
105 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
108 KERNEL=="agpgart", NAME="misc/%k", SYMLINK+="%k"
109 KERNEL=="psaux", NAME="misc/%k", SYMLINK+="%k"
110 KERNEL=="rtc", NAME="misc/%k", SYMLINK+="%k", MODE="0664"
111 KERNEL=="uinput", NAME="misc/%k", SYMLINK+="%k"
112 KERNEL=="inotify", NAME="misc/%k", SYMLINK+="%k", MODE="0666"
115 KERNEL=="route", NAME="netlink/%k"
116 KERNEL=="skip", NAME="netlink/%k"
117 KERNEL=="usersock", NAME="netlink/%k"
118 KERNEL=="fwmonitor", NAME="netlink/%k"
119 KERNEL=="tcpdiag", NAME="netlink/%k"
120 KERNEL=="nflog", NAME="netlink/%k"
121 KERNEL=="xfrm", NAME="netlink/%k"
122 KERNEL=="arpd", NAME="netlink/%k"
123 KERNEL=="route6", NAME="netlink/%k"
124 KERNEL=="ip6_fw", NAME="netlink/%k"
125 KERNEL=="dnrtmsg", NAME="netlink/%k"
126 KERNEL=="tap*", NAME="netlink/%k"
129 KERNEL=="tun", NAME="net/%k", MODE="0600"
132 KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k"
134 # IEEE1394 (firewire) devices (must be before raw devices below)
135 KERNEL=="raw1394", NAME="%k", GROUP="video"
136 KERNEL=="dv1394*", NAME="dv1394/%n", GROUP="video"
137 KERNEL=="video1394*", NAME="video1394/%n", GROUP="video"
140 KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
141 KERNEL=="ram*", NAME="%k", GROUP="disk"
144 KERNEL=="adsp", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
145 KERNEL=="adsp[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
146 KERNEL=="audio", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
147 KERNEL=="audio[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
148 KERNEL=="dsp", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
149 KERNEL=="dsp[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
150 KERNEL=="mixer", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
151 KERNEL=="mixer[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
152 KERNEL=="sequencer", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
153 KERNEL=="sequencer[0-9]*", NAME="sound/%k", SYMLINK+="%k", GROUP="audio"
156 KERNEL=="random", NAME="%k", MODE="0666"
157 KERNEL=="urandom", NAME="%k", MODE="0444"
158 KERNEL=="mem", NAME="%k", MODE="0640"
159 KERNEL=="kmem", NAME="%k", MODE="0640"
160 KERNEL=="port", NAME="%k", MODE="0640"
161 KERNEL=="full", NAME="%k", MODE="0666"
162 KERNEL=="null", NAME="%k", MODE="0666"
163 KERNEL=="zero", NAME="%k", MODE="0666"
166 KERNEL=="hiddev*", NAME="usb/%k"
167 KERNEL=="auer*", NAME="usb/%k"
168 KERNEL=="legousbtower*", NAME="usb/%k", GROUP="usb"
169 KERNEL=="dabusb*", NAME="usb/%k"
170 BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
173 KERNEL=="video[0-9]*", NAME="v4l/video%n", SYMLINK+="video%n", GROUP="video"
174 KERNEL=="radio[0-9]*", NAME="v4l/radio%n", SYMLINK+="radio%n", GROUP="video"
175 KERNEL=="vbi[0-9]*", NAME="v4l/vbi%n", SYMLINK+="vbi%n", GROUP="video"
176 KERNEL=="vtx[0-9]*", NAME="v4l/vtx%n", GROUP="video"
179 SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"
181 # Asterisk Zaptel devices
182 KERNEL=="zapctl", NAME="zap/ctl"
183 KERNEL=="zaptimer", NAME="zap/timer"
184 KERNEL=="zapchannel", NAME="zap/channel"
185 KERNEL=="zappseudo", NAME="zap/pseudo"
186 KERNEL=="zap[0-9]*", NAME="zap/%n"
189 KERNEL=="pilot", NAME="%k", GROUP="uucp"
192 KERNEL=="jaz*", NAME="%k", GROUP="disk"
195 KERNEL=="pocketzip*", NAME="%k", GROUP="disk"
196 KERNEL=="zip*", NAME="%k", GROUP="disk"
199 KERNEL=="ls120", NAME="%k", GROUP="disk"
202 KERNEL=="lp*", NAME="%k", GROUP="lp"
203 KERNEL=="irlpt", NAME="%k", GROUP="lp"
204 KERNEL=="usblp", NAME="%k", GROUP="lp"
205 KERNEL=="lp*", NAME="%k", GROUP="lp"
206 KERNEL=="parport*", NAME="%k", GROUP="lp"
209 KERNEL=="ht*", NAME="%k", GROUP="tape"
210 KERNEL=="nht*", NAME="%k", GROUP="tape"
211 KERNEL=="pt*", NAME="%k", GROUP="tape"
212 KERNEL=="npt*", NAME="%k", GROUP="tape"
213 KERNEL=="st*", NAME="%k", GROUP="tape"
214 KERNEL=="nst*", NAME="%k", GROUP="tape"
215 KERNEL=="osst*", NAME="%k", GROUP="tape"
216 KERNEL=="nosst*", NAME="%k", GROUP="tape"
219 KERNEL=="diskonkey*", NAME="%k", GROUP="disk"
222 KERNEL=="microdrive*", NAME="%k", GROUP="disk"
225 KERNEL=="kbd", NAME="%k", MODE="0664"
227 # Sony Vaio Jogdial sonypi device
228 KERNEL=="sonypi", NAME="%k", MODE="0666"
231 KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="cdrw", MODE="0660"
232 KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n", GROUP="cdrw", MODE="0660"
235 KERNEL=="umad*", NAME="infiniband/%k"
236 KERNEL=="issm*", NAME="infiniband/%k"
239 # usbfs-like device nodes
240 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"
245 # Autoload modules that lack aliases but have them defined inutoload modules
246 SYSFS{modalias}=="?*", ACTION=="add", RUN+="/sbin/modprobe $env{MODALIAS}"
248 # /etc/modprobe.conf.
249 SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
250 # If you have problems with some pnp modules being loaded, please enter the
251 # following aliases into the modprobe configuration files. These are needed by
252 # udev to autoload some modules
253 # alias pnp:dPNP0510 irtty-sir
254 # alias pnp:dPNP0511 irtty-sir
255 # alias pnp:dPNP0700 floppy
256 # alias pnp:dPNP0800 pcspkr
257 # alias pnp:dPNP0b00 rtc
258 # alias pnp:dPNP0303 atkbd
259 # alias pnp:dPNP0f13 psmouse
260 # alias pnp:dPNPb02f analog
265 SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
268 # be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems
269 # run /etc/hotplug.d/ stuff only if we came from a hotplug event, not for udevstart
270 ENV{UDEVD_EVENT}=="1", RUN+="udev_run_hotplugd $env{SUBSYSTEM}"
272 # always run /etc/dev.d/ stuff for now.
273 RUN+="udev_run_devd $env{SUBSYSTEM}"
276 RUN+="socket:/org/kernel/udev/monitor"