1 # There are a number of modifiers that are allowed to be used in some of the
2 # fields. See the udev man page for a full description of them.
4 # See the udev.rules.examples file for more examples of how to create rules
7 # if this is a ide cdrom, name it the default name, and create a symlink to cdrom
8 BUS=="ide", KERNEL=="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK+="cdrom"
10 # DRI devices always go into a subdirectory (as per the LSB spec)
11 KERNEL=="card*", NAME="dri/card%n"
14 KERNEL=="controlC[0-9]*", NAME="snd/%k"
15 KERNEL=="hw[CD0-9]*", NAME="snd/%k"
16 KERNEL=="pcm[CD0-9cp]*", NAME="snd/%k"
17 KERNEL=="midiC[D0-9]*", NAME="snd/%k"
18 KERNEL=="timer", NAME="snd/%k"
19 KERNEL=="seq", NAME="snd/%k"
22 KERNEL=="mice", NAME="input/%k"
23 KERNEL=="mouse*", NAME="input/%k"
24 KERNEL=="event*", NAME="input/%k"
25 KERNEL=="js*", NAME="input/%k"
26 KERNEL=="ts*", NAME="input/%k"
29 KERNEL=="hiddev*", NAME="usb/%k"
30 KERNEL=="auer*", NAME="usb/%k"
31 KERNEL=="legousbtower*", NAME="usb/%k"
32 KERNEL=="dabusb*", NAME="usb/%k"
33 BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
36 KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20"
37 KERNEL=="capi*", NAME="capi/%n"
40 KERNEL=="tun", NAME="net/%k"
43 KERNEL=="raw[0-9]*", NAME="raw/%k"
46 RUN="/sbin/udev_run_devd"