1 # The use of these rules is not recommended or supported. This file
2 # is just kept around to proof that udev is able to emulate the devfs scheme.
4 # In a world where devices can come and go at any time, the devfs device
5 # naming scheme of simple grouping and enumeration DOES NOT HELP ANYTHING.
7 # Use custom rules to name your device or look at the persistent device
8 # naming scheme, which is implemented for disks and extend it in a
9 # similar way for the subsystem you want a sane node layout for.
12 BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
15 KERNEL="md[0-9]*", NAME="md/%n"
18 KERNEL="fd[0-9]*", NAME="floppy/%n"
21 KERNEL="tty[0-9]*", NAME="vc/%n"
22 KERNEL="ttyS[0-9]*", NAME="tts/%n"
23 KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
26 KERNEL="vcs", NAME="vcc/0"
27 KERNEL="vcs[0-9]*", NAME="vcc/%n"
28 KERNEL="vcsa", NAME="vcc/a0"
29 KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
32 KERNEL="video[0-9]*", NAME="v4l/video%n"
33 KERNEL="radio[0-9]*", NAME="v4l/radio%n"
34 KERNEL="vbi[0-9]*", NAME="v4l/vbi%n"
35 KERNEL="vtx[0-9]*", NAME="v4l/vtx%n"
37 # dm devices (ignore them)
38 KERNEL="dm-[0-9]*", NAME=""
41 KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
44 KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
47 KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
50 KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"
53 KERNEL="rtc", NAME="misc/%k", SYMLINK="%k"
54 KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
55 KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
56 KERNEL="rtc", NAME="misc/%k", SYMLINK="%k"
57 KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
58 KERNEL="uinput", NAME="misc/%k", SYMLINK="%k"
61 KERNEL="controlC[0-9]*", NAME="snd/%k"
62 KERNEL="hw[CD0-9]*", NAME="snd/%k"
63 KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
64 KERNEL="midi[CD0-9]*", NAME="snd/%k"
65 KERNEL="timer", NAME="snd/%k"
66 KERNEL="seq", NAME="snd/%k"
69 KERNEL="audio*", NAME="sound/%k", SYMLINK="%k"
70 KERNEL="dmmidi", NAME="sound/%k", SYMLINK="%k"
71 KERNEL="dsp*", NAME="sound/%k", SYMLINK="%k"
72 KERNEL="midi*", NAME="sound/%k", SYMLINK="%k"
73 KERNEL="mixer*", NAME="sound/%k", SYMLINK="%k"
74 KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k"
77 KERNEL="mice", NAME="input/%k"
78 KERNEL="mouse*", NAME="input/%k"
79 KERNEL="event*", NAME="input/%k"
80 KERNEL="js*", NAME="input/%k"
81 KERNEL="ts*", NAME="input/%k"
84 KERNEL="hiddev*", NAME="usb/%k"
85 KERNEL="auer*", NAME="usb/%k"
86 KERNEL="legousbtower*", NAME="usb/%k"
87 KERNEL="dabusb*", NAME="usb/%k"
88 BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
91 KERNEL="route", NAME="netlink/%k"
92 KERNEL="skip", NAME="netlink/%k"
93 KERNEL="usersock", NAME="netlink/%k"
94 KERNEL="fwmonitor", NAME="netlink/%k"
95 KERNEL="tcpdiag", NAME="netlink/%k"
96 KERNEL="nflog", NAME="netlink/%k"
97 KERNEL="xfrm", NAME="netlink/%k"
98 KERNEL="arpd", NAME="netlink/%k"
99 KERNEL="route6", NAME="netlink/%k"
100 KERNEL="ip6_fw", NAME="netlink/%k"
101 KERNEL="dnrtmsg", NAME="netlink/%k"
102 KERNEL="tap*", NAME="netlink/%k"
105 KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
106 KERNEL="capi*", NAME="capi/%n"
109 KERNEL="tun", NAME="net/%k"
112 KERNEL="raw[0-9]*", NAME="raw/%k"