diff options
Diffstat (limited to 'meta/packages/udev/udev-115/permissions.rules')
-rw-r--r-- | meta/packages/udev/udev-115/permissions.rules | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/meta/packages/udev/udev-115/permissions.rules b/meta/packages/udev/udev-115/permissions.rules deleted file mode 100644 index 99e03b1036..0000000000 --- a/meta/packages/udev/udev-115/permissions.rules +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | ACTION!="add", GOTO="permissions_end" | ||
2 | |||
3 | # workarounds needed to synchronize with sysfs | ||
4 | DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus" | ||
5 | SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt" | ||
6 | # only needed for kernels < 2.6.16 | ||
7 | SUBSYSTEM=="net", WAIT_FOR_SYSFS="address" | ||
8 | # only needed for kernels < 2.6.17 | ||
9 | SUBSYSTEM=="net", ENV{PHYSDEVDRIVER}=="?*", WAIT_FOR_SYSFS="device/driver" | ||
10 | |||
11 | # default permissions for block devices | ||
12 | SUBSYSTEM=="block", GROUP="disk" | ||
13 | SUBSYSTEM=="block", SYSFS{removable}=="1", GROUP="floppy" | ||
14 | |||
15 | # IDE devices | ||
16 | BUS=="ide", KERNEL=="hd[a-z]|pcd[0-9]*", DRIVER=="ide-cdrom|pcd", \ | ||
17 | IMPORT{program}="cdrom_id --export $tempnode" | ||
18 | ENV{ID_CDROM}=="?*", GROUP="cdrom" | ||
19 | BUS=="ide", KERNEL=="ht[0-9]*", GROUP="tape" | ||
20 | BUS=="ide", KERNEL=="nht[0-9]*", GROUP="tape" | ||
21 | |||
22 | # SCSI devices | ||
23 | BUS=="scsi", SYSFS{type}=="1", GROUP="tape" | ||
24 | BUS=="scsi", SYSFS{type}=="5", GROUP="cdrom" | ||
25 | |||
26 | # USB devices | ||
27 | BUS=="usb", KERNEL=="legousbtower*", MODE="0666" | ||
28 | BUS=="usb", KERNEL=="lp[0-9]*", GROUP="lp" | ||
29 | |||
30 | # usbfs-like devices | ||
31 | SUBSYSTEM=="usb_device", MODE="0664" | ||
32 | |||
33 | # iRiver music players | ||
34 | SUBSYSTEM=="usb_device", GROUP="plugdev", \ | ||
35 | SYSFS{idVendor}=="4102", SYSFS{idProduct}=="10[01][135789]" | ||
36 | |||
37 | # serial devices | ||
38 | SUBSYSTEM=="tty", GROUP="dialout" | ||
39 | SUBSYSTEM=="capi", GROUP="dialout" | ||
40 | SUBSYSTEM=="slamr", GROUP="dialout" | ||
41 | SUBSYSTEM=="zaptel", GROUP="dialout" | ||
42 | |||
43 | # vc devices (all members of the tty subsystem) | ||
44 | KERNEL=="ptmx", MODE="0666", GROUP="root" | ||
45 | KERNEL=="console", MODE="0600", GROUP="root" | ||
46 | KERNEL=="tty", MODE="0666", GROUP="root" | ||
47 | KERNEL=="tty[0-9]*", GROUP="root" | ||
48 | KERNEL=="pty*", MODE="0666", GROUP="tty" | ||
49 | |||
50 | # video devices | ||
51 | SUBSYSTEM=="video4linux", GROUP="video" | ||
52 | SUBSYSTEM=="drm", GROUP="video" | ||
53 | SUBSYSTEM=="dvb", GROUP="video" | ||
54 | SUBSYSTEM=="em8300", GROUP="video" | ||
55 | SUBSYSTEM=="graphics", GROUP="video" | ||
56 | SUBSYSTEM=="nvidia", GROUP="video" | ||
57 | |||
58 | # misc devices | ||
59 | KERNEL=="random", MODE="0666" | ||
60 | KERNEL=="urandom", MODE="0666" | ||
61 | KERNEL=="mem", MODE="0640", GROUP="kmem" | ||
62 | KERNEL=="kmem", MODE="0640", GROUP="kmem" | ||
63 | KERNEL=="port", MODE="0640", GROUP="kmem" | ||
64 | KERNEL=="full", MODE="0666" | ||
65 | KERNEL=="null", MODE="0666" | ||
66 | KERNEL=="zero", MODE="0666" | ||
67 | KERNEL=="inotify", MODE="0666" | ||
68 | KERNEL=="sgi_fetchop", MODE="0666" | ||
69 | KERNEL=="sonypi", MODE="0666" | ||
70 | KERNEL=="agpgart", GROUP="video" | ||
71 | KERNEL=="rtc", GROUP="audio" | ||
72 | |||
73 | KERNEL=="cdemu[0-9]*", GROUP="cdrom" | ||
74 | KERNEL=="pktcdvd[0-9]*", GROUP="cdrom" | ||
75 | KERNEL=="pktcdvd", MODE="0644" | ||
76 | |||
77 | # printers and parallel devices | ||
78 | SUBSYSTEM=="printer", GROUP="lp" | ||
79 | SUBSYSTEM=="ppdev", GROUP="lp" | ||
80 | KERNEL=="pt[0-9]*", GROUP="tape" | ||
81 | KERNEL=="pht[0-9]*", GROUP="tape" | ||
82 | |||
83 | # sound devices | ||
84 | SUBSYSTEM=="sound", GROUP="audio" | ||
85 | |||
86 | # ieee1394 devices | ||
87 | KERNEL=="raw1394", GROUP="disk" | ||
88 | KERNEL=="dv1394*", GROUP="video" | ||
89 | KERNEL=="video1394*", GROUP="video" | ||
90 | |||
91 | # input devices | ||
92 | KERNEL=="event[0-9]*", SYSFS{name}=="*dvb*|*DVB*|* IR *" \ | ||
93 | MODE="0664", GROUP="video" | ||
94 | KERNEL=="js[0-9]*", MODE="0664" | ||
95 | |||
96 | # AOE character devices | ||
97 | SUBSYSTEM=="aoe", MODE="0220", GROUP="disk" | ||
98 | SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440" | ||
99 | |||
100 | LABEL="permissions_end" | ||
101 | |||