diff options
Diffstat (limited to 'meta/packages/udev/udev-084/udev.rules')
-rw-r--r-- | meta/packages/udev/udev-084/udev.rules | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/meta/packages/udev/udev-084/udev.rules b/meta/packages/udev/udev-084/udev.rules deleted file mode 100644 index 3ac51b301a..0000000000 --- a/meta/packages/udev/udev-084/udev.rules +++ /dev/null | |||
@@ -1,99 +0,0 @@ | |||
1 | # There are a number of modifiers that are allowed to be used in some | ||
2 | # of the different fields. They provide the following subsitutions: | ||
3 | # | ||
4 | # %n the "kernel number" of the device. | ||
5 | # For example, 'sda3' has a "kernel number" of '3' | ||
6 | # %e the smallest number for that name which does not matches an existing node | ||
7 | # %k the kernel name for the device | ||
8 | # %M the kernel major number for the device | ||
9 | # %m the kernel minor number for the device | ||
10 | # %b the bus id for the device | ||
11 | # %c the string returned by the PROGRAM | ||
12 | # %s{filename} the content of a sysfs attribute | ||
13 | # %% the '%' char itself | ||
14 | # | ||
15 | |||
16 | # SCSI devices | ||
17 | BUS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n", SYMLINK+="sr%n" | ||
18 | SUBSYSTEM=="scsi_device", SYSFS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" | ||
19 | |||
20 | # USB devices | ||
21 | BUS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" | ||
22 | BUS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k" | ||
23 | BUS=="usb", KERNEL=="dabusb*", NAME="usb/%k" | ||
24 | BUS=="usb", KERNEL=="hiddev*", NAME="usb/%k" | ||
25 | BUS=="usb", KERNEL=="legousbtower*", NAME="usb/%k" | ||
26 | BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k" | ||
27 | BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \ | ||
28 | SYMLINK+="pilot" | ||
29 | |||
30 | # usbfs-like devices | ||
31 | SUBSYSTEM=="usb_device", \ | ||
32 | PROGRAM="/bin/sh -c 'export X=%k; export X=$${X#usbdev}; export B=$${X%%%%.*}; export D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" | ||
33 | |||
34 | # serial devices | ||
35 | KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" | ||
36 | KERNEL=="capi[0-9]*", NAME="capi/%n" | ||
37 | |||
38 | # video devices | ||
39 | KERNEL=="card[0-9]*", NAME="dri/%k" | ||
40 | |||
41 | # misc devices | ||
42 | KERNEL=="hw_random", NAME="hwrng" | ||
43 | KERNEL=="tun", NAME="net/%k" | ||
44 | |||
45 | KERNEL=="cdemu[0-9]*", NAME="cdemu/%n" | ||
46 | KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%n" | ||
47 | KERNEL=="pktcdvd", NAME="pktcdvd/control" | ||
48 | |||
49 | KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid" | ||
50 | KERNEL=="msr[0-9]*", NAME="cpu/%n/msr" | ||
51 | KERNEL=="microcode", NAME="cpu/microcode" | ||
52 | |||
53 | KERNEL=="umad*", NAME="infiniband/%k" | ||
54 | KERNEL=="issm*", NAME="infiniband/%k" | ||
55 | KERNEL=="uverbs*", NAME="infiniband/%k" | ||
56 | KERNEL=="ucm", NAME="infiniband/%k" | ||
57 | |||
58 | KERNEL=="buzzer", NAME="misc/buzzer" | ||
59 | |||
60 | # ALSA devices | ||
61 | KERNEL=="controlC[0-9]*", NAME="snd/%k" | ||
62 | KERNEL=="hwC[D0-9]*", NAME="snd/%k" | ||
63 | KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k" | ||
64 | KERNEL=="midiC[D0-9]*", NAME="snd/%k" | ||
65 | KERNEL=="timer", NAME="snd/%k" | ||
66 | KERNEL=="seq", NAME="snd/%k" | ||
67 | |||
68 | # ieee1394 devices | ||
69 | KERNEL=="dv1394*", NAME="dv1394/%n" | ||
70 | KERNEL=="video1394*", NAME="video1394/%n" | ||
71 | |||
72 | # input devices | ||
73 | KERNEL=="mice", NAME="input/%k" | ||
74 | KERNEL=="mouse[0-9]*", NAME="input/%k" | ||
75 | KERNEL=="event[0-9]*", NAME="input/%k" | ||
76 | KERNEL=="js[0-9]*", NAME="input/%k" | ||
77 | KERNEL=="ts[0-9]*", NAME="input/%k" | ||
78 | KERNEL=="uinput", NAME="input/%k" | ||
79 | |||
80 | # Zaptel | ||
81 | KERNEL=="zapctl", NAME="zap/ctl" | ||
82 | KERNEL=="zaptimer", NAME="zap/timer" | ||
83 | KERNEL=="zapchannel", NAME="zap/channel" | ||
84 | KERNEL=="zappseudo", NAME="zap/pseudo" | ||
85 | KERNEL=="zap[0-9]*", NAME="zap/%n" | ||
86 | |||
87 | # AOE character devices | ||
88 | SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k" | ||
89 | SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k" | ||
90 | SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k" | ||
91 | |||
92 | # device mapper creates its own device nodes, so ignore these | ||
93 | KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device" | ||
94 | KERNEL=="device-mapper", NAME="mapper/control" | ||
95 | |||
96 | KERNEL="rfcomm[0-9]*", NAME="%k", GROUP="users", MODE="0660" | ||
97 | |||
98 | # Firmware Helper | ||
99 | ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper" | ||