1 # The use of these rules is not recommended or supported.
2 # In a world where devices can come and go at any time, the devfs scheme
3 # of simple device enumeration does not help _anything_. Just forget about
4 # it. Use custom rules to name your device or look at the persistent device
5 # naming scheme, which is implemented for disks and add your subsystem.
7 # There are a number of modifiers that are allowed to be used in some of the
8 # fields. See the udev man page for a full description of them.
11 BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
14 KERNEL="md[0-9]*", NAME="md/%n"
17 KERNEL="fd[0-9]*", NAME="floppy/%n"
20 KERNEL="tty[0-9]*", NAME="vc/%n"
21 KERNEL="ttyS[0-9]*", NAME="tts/%n"
22 KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
25 KERNEL="vcs", NAME="vcc/0"
26 KERNEL="vcs[0-9]*", NAME="vcc/%n"
27 KERNEL="vcsa", NAME="vcc/a0"
28 KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
31 KERNEL="video[0-9]*", NAME="v4l/video%n"
32 KERNEL="radio[0-9]*", NAME="v4l/radio%n"
33 KERNEL="vbi[0-9]*", NAME="v4l/vbi%n"
34 KERNEL="vtx[0-9]*", NAME="v4l/vtx%n"
36 # dm devices (ignore them)
37 KERNEL="dm-[0-9]*", NAME=""
40 KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
43 KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
46 KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
49 KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"
52 KERNEL="rtc", NAME="misc/%k", SYMLINK="%k"
53 KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
54 KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
55 KERNEL="rtc", NAME="misc/%k", SYMLINK="%k"
56 KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
57 KERNEL="uinput", NAME="misc/%k", SYMLINK="%k"
60 KERNEL="controlC[0-9]*", NAME="snd/%k"
61 KERNEL="hw[CD0-9]*", NAME="snd/%k"
62 KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
63 KERNEL="midi[CD0-9]*", NAME="snd/%k"
64 KERNEL="timer", NAME="snd/%k"
65 KERNEL="seq", NAME="snd/%k"
68 KERNEL="audio*", NAME="sound/%k", SYMLINK="%k"
69 KERNEL="dmmidi", NAME="sound/%k", SYMLINK="%k"
70 KERNEL="dsp*", NAME="sound/%k", SYMLINK="%k"
71 KERNEL="midi*", NAME="sound/%k", SYMLINK="%k"
72 KERNEL="mixer*", NAME="sound/%k", SYMLINK="%k"
73 KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k"
76 KERNEL="mice", NAME="input/%k"
77 KERNEL="mouse*", NAME="input/%k"
78 KERNEL="event*", NAME="input/%k"
79 KERNEL="js*", NAME="input/%k"
80 KERNEL="ts*", NAME="input/%k"
83 KERNEL="hiddev*", NAME="usb/%k"
84 KERNEL="auer*", NAME="usb/%k"
85 KERNEL="legousbtower*", NAME="usb/%k"
86 KERNEL="dabusb*", NAME="usb/%k"
87 BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
90 KERNEL="route", NAME="netlink/%k"
91 KERNEL="skip", NAME="netlink/%k"
92 KERNEL="usersock", NAME="netlink/%k"
93 KERNEL="fwmonitor", NAME="netlink/%k"
94 KERNEL="tcpdiag", NAME="netlink/%k"
95 KERNEL="nflog", NAME="netlink/%k"
96 KERNEL="xfrm", NAME="netlink/%k"
97 KERNEL="arpd", NAME="netlink/%k"
98 KERNEL="route6", NAME="netlink/%k"
99 KERNEL="ip6_fw", NAME="netlink/%k"
100 KERNEL="dnrtmsg", NAME="netlink/%k"
101 KERNEL="tap*", NAME="netlink/%k"
104 KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
105 KERNEL="capi*", NAME="capi/%n"
108 KERNEL="tun", NAME="net/%k"
111 KERNEL="raw[0-9]*", NAME="raw/%k"