]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - config/install/udev/rules.d/50-udev.rules
Fixed qos device detection on connection type change.
[people/teissler/ipfire-2.x.git] / config / install / udev / rules.d / 50-udev.rules
CommitLineData
3d6e1202
MT
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.
3#
4# See the udev.rules.examples file for more examples of how to create rules
5#
6
7# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
8BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
9
10# create a symlink named after the device map name
11# note devmap_name comes with extras/multipath
12KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c"
13
14# DRI devices always go into a subdirectory (as per the LSB spec)
15KERNEL="card*", NAME="dri/card%n"
16
17# alsa devices
18KERNEL="controlC[0-9]*", NAME="snd/%k"
19KERNEL="hw[CD0-9]*", NAME="snd/%k"
20KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
21KERNEL="midiC[D0-9]*", NAME="snd/%k"
22KERNEL="timer", NAME="snd/%k"
23KERNEL="seq", NAME="snd/%k"
24
25# input devices
26KERNEL="mice", NAME="input/%k"
27KERNEL="mouse*", NAME="input/%k"
28KERNEL="event*", NAME="input/%k"
29KERNEL="js*", NAME="input/%k"
30KERNEL="ts*", NAME="input/%k"
31
32# USB devices
33KERNEL="hiddev*", NAME="usb/%k"
34KERNEL="auer*", NAME="usb/%k"
35KERNEL="legousbtower*", NAME="usb/%k"
36KERNEL="dabusb*", NAME="usb/%k"
37BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
38
39# CAPI devices
40KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
41KERNEL="capi*", NAME="capi/%n"
42
43# Network devices
44KERNEL="tun", NAME="net/%k"
45
46# raw devices
47KERNEL="raw[0-9]*", NAME="raw/%k"