diff options
Diffstat (limited to 'meta/packages/udev/udev-092/permissions.rules')
-rw-r--r-- | meta/packages/udev/udev-092/permissions.rules | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/meta/packages/udev/udev-092/permissions.rules b/meta/packages/udev/udev-092/permissions.rules deleted file mode 100644 index 8da35c3090..0000000000 --- a/meta/packages/udev/udev-092/permissions.rules +++ /dev/null | |||
@@ -1,109 +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}=="3", SYSFS{vendor}=="HP", GROUP="scanner" | ||
25 | BUS=="scsi", SYSFS{type}=="5", GROUP="cdrom" | ||
26 | BUS=="scsi", SYSFS{type}=="6", GROUP="scanner" | ||
27 | |||
28 | # USB devices | ||
29 | BUS=="usb", KERNEL=="legousbtower*", MODE="0666" | ||
30 | BUS=="usb", KERNEL=="lp[0-9]*", GROUP="lp" | ||
31 | |||
32 | # usbfs-like devices | ||
33 | SUBSYSTEM=="usb_device", MODE="0664" | ||
34 | |||
35 | # iRiver music players | ||
36 | SUBSYSTEM=="usb_device", GROUP="plugdev", \ | ||
37 | SYSFS{idVendor}=="4102", SYSFS{idProduct}=="10[01][135789]" | ||
38 | |||
39 | # serial devices | ||
40 | SUBSYSTEM=="tty", GROUP="dialout" | ||
41 | SUBSYSTEM=="capi", GROUP="dialout" | ||
42 | SUBSYSTEM=="slamr", GROUP="dialout" | ||
43 | SUBSYSTEM=="zaptel", GROUP="dialout" | ||
44 | |||
45 | # vc devices (all members of the tty subsystem) | ||
46 | KERNEL=="ptmx", MODE="0666", GROUP="root" | ||
47 | KERNEL=="console", MODE="0600", GROUP="root" | ||
48 | KERNEL=="tty", MODE="0666", GROUP="root" | ||
49 | KERNEL=="tty[0-9]*", GROUP="root" | ||
50 | KERNEL=="pty*", MODE="0666", GROUP="tty" | ||
51 | |||
52 | # video devices | ||
53 | SUBSYSTEM=="video4linux", GROUP="video" | ||
54 | SUBSYSTEM=="drm", GROUP="video" | ||
55 | SUBSYSTEM=="dvb", GROUP="video" | ||
56 | SUBSYSTEM=="em8300", GROUP="video" | ||
57 | SUBSYSTEM=="graphics", GROUP="video" | ||
58 | SUBSYSTEM=="nvidia", GROUP="video" | ||
59 | |||
60 | # misc devices | ||
61 | KERNEL=="random", MODE="0666" | ||
62 | KERNEL=="urandom", MODE="0666" | ||
63 | KERNEL=="mem", MODE="0640", GROUP="kmem" | ||
64 | KERNEL=="kmem", MODE="0640", GROUP="kmem" | ||
65 | KERNEL=="port", MODE="0640", GROUP="kmem" | ||
66 | KERNEL=="full", MODE="0666" | ||
67 | KERNEL=="null", MODE="0666" | ||
68 | KERNEL=="zero", MODE="0666" | ||
69 | KERNEL=="inotify", MODE="0666" | ||
70 | KERNEL=="sgi_fetchop", MODE="0666" | ||
71 | KERNEL=="sonypi", MODE="0666" | ||
72 | KERNEL=="agpgart", GROUP="video" | ||
73 | KERNEL=="nvram", GROUP="nvram" | ||
74 | KERNEL=="rtc", GROUP="audio" | ||
75 | KERNEL=="tpm*", MODE="0600", OWNER="tss", GROUP="tss" | ||
76 | KERNEL=="fuse", GROUP="fuse" | ||
77 | |||
78 | KERNEL=="cdemu[0-9]*", GROUP="cdrom" | ||
79 | KERNEL=="pktcdvd[0-9]*", GROUP="cdrom" | ||
80 | KERNEL=="pktcdvd", MODE="0644" | ||
81 | |||
82 | KERNEL=="uverbs*", GROUP="rdma" | ||
83 | KERNEL=="ucm*", GROUP="rdma" | ||
84 | |||
85 | # printers and parallel devices | ||
86 | SUBSYSTEM=="printer", GROUP="lp" | ||
87 | SUBSYSTEM=="ppdev", GROUP="lp" | ||
88 | KERNEL=="pt[0-9]*", GROUP="tape" | ||
89 | KERNEL=="pht[0-9]*", GROUP="tape" | ||
90 | |||
91 | # sound devices | ||
92 | SUBSYSTEM=="sound", GROUP="audio" | ||
93 | |||
94 | # ieee1394 devices | ||
95 | KERNEL=="raw1394", GROUP="disk" | ||
96 | KERNEL=="dv1394*", GROUP="video" | ||
97 | KERNEL=="video1394*", GROUP="video" | ||
98 | |||
99 | # input devices | ||
100 | KERNEL=="event[0-9]*", SYSFS{name}=="*dvb*|*DVB*|* IR *" \ | ||
101 | MODE="0664", GROUP="video" | ||
102 | KERNEL=="js[0-9]*", MODE="0664" | ||
103 | |||
104 | # AOE character devices | ||
105 | SUBSYSTEM=="aoe", MODE="0220", GROUP="disk" | ||
106 | SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440" | ||
107 | |||
108 | LABEL="permissions_end" | ||
109 | |||