diff options
Diffstat (limited to 'meta/packages/udev/udev-141/1')
-rw-r--r-- | meta/packages/udev/udev-141/1 | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/meta/packages/udev/udev-141/1 b/meta/packages/udev/udev-141/1 new file mode 100644 index 0000000000..87c8977347 --- /dev/null +++ b/meta/packages/udev/udev-141/1 | |||
@@ -0,0 +1,119 @@ | |||
1 | # do not edit this file, it will be overwritten on update | ||
2 | |||
3 | SUBSYSTEM=="block", SYMLINK+="block/%M:%m" | ||
4 | SUBSYSTEM!="block", SYMLINK+="char/%M:%m" | ||
5 | |||
6 | KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660" | ||
7 | KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660" | ||
8 | KERNEL=="ptmx", GROUP="tty", MODE="0666" | ||
9 | KERNEL=="tty", GROUP="tty", MODE="0666" | ||
10 | KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620" | ||
11 | KERNEL=="console", MODE="0600" | ||
12 | KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty" | ||
13 | |||
14 | # serial | ||
15 | KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" | ||
16 | KERNEL=="ppp", MODE="0600" | ||
17 | KERNEL=="mwave", NAME="modems/mwave", GROUP="dialout" | ||
18 | KERNEL=="hvc*|hvsi*", GROUP="dialout" | ||
19 | |||
20 | # mem | ||
21 | KERNEL=="null|zero|full|random|urandom", MODE="0666" | ||
22 | KERNEL=="mem|kmem|port|nvram", GROUP="kmem", MODE="0640" | ||
23 | |||
24 | # input | ||
25 | KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640" | ||
26 | KERNEL=="ts[0-9]*|uinput", NAME="input/%k", MODE="0640" | ||
27 | KERNEL=="js[0-9]*", NAME="input/%k", MODE="0644" | ||
28 | |||
29 | # video4linux | ||
30 | SUBSYSTEM=="video4linux", GROUP="video" | ||
31 | KERNEL=="vttuner*", GROUP="video" | ||
32 | KERNEL=="vtx*|vbi*", GROUP="video" | ||
33 | KERNEL=="winradio*", GROUP="video" | ||
34 | |||
35 | # graphics | ||
36 | KERNEL=="agpgart", MODE="0600", GROUP="video" | ||
37 | KERNEL=="card[0-9]*", NAME="dri/%k" | ||
38 | KERNEL=="pmu", GROUP="video" | ||
39 | KERNEL=="nvidia*|nvidiactl*", GROUP="video" | ||
40 | SUBSYSTEM=="graphics", GROUP="video" | ||
41 | SUBSYSTEM=="drm", GROUP="video" | ||
42 | |||
43 | # DVB (video) | ||
44 | SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}=="?*", NAME="dvb/adapter$env{DVB_ADAPTER_NUM}/$env{DVB_DEVICE_TYPE}$env{DVB_DEVICE_NUM}", GROUP="video" | ||
45 | |||
46 | # Firewire | ||
47 | KERNEL=="dv1394-[0-9]*", NAME="dv1394/%n", GROUP="video" | ||
48 | KERNEL=="video1394-[0-9]*", NAME="video1394/%n", GROUP="video" | ||
49 | |||
50 | # libusb device nodes | ||
51 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664" | ||
52 | |||
53 | # printer | ||
54 | KERNEL=="parport[0-9]*", GROUP="lp" | ||
55 | SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp" | ||
56 | SUBSYSTEM=="ppdev", GROUP="lp" | ||
57 | SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" | ||
58 | KERNEL=="lp[0-9]*", GROUP="lp" | ||
59 | KERNEL=="irlpt[0-9]*", GROUP="lp" | ||
60 | |||
61 | # block | ||
62 | SUBSYSTEM=="block", GROUP="disk" | ||
63 | |||
64 | # floppy | ||
65 | KERNEL=="fd[0-9]", GROUP="floppy" | ||
66 | KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k" | ||
67 | KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions" | ||
68 | |||
69 | # cdrom | ||
70 | SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom" | ||
71 | SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="cdrom" | ||
72 | SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom" | ||
73 | KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k", GROUP="cdrom" | ||
74 | KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="cdrom" | ||
75 | |||
76 | # tape | ||
77 | KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="tape" | ||
78 | KERNEL=="pt[0-9]*|npt[0-9]*|pht[0-9]*", GROUP="tape" | ||
79 | SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape" | ||
80 | |||
81 | # block-releated | ||
82 | KERNEL=="sch[0-9]*", GROUP="disk" | ||
83 | SUBSYSTEMS=="scsi", ATTRS{type}=="0", GROUP="disk" | ||
84 | KERNEL=="pg[0-9]*", GROUP="disk" | ||
85 | KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk" | ||
86 | KERNEL=="rawctl", NAME="raw/rawctl", GROUP="disk" | ||
87 | SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk" | ||
88 | SUBSYSTEM=="bsg", NAME="bsg/%k" | ||
89 | SUBSYSTEM=="aoe", NAME="etherd/%k", GROUP="disk", MODE="0220" | ||
90 | SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440" | ||
91 | |||
92 | # network | ||
93 | KERNEL=="tun", NAME="net/%k", MODE="0666" | ||
94 | |||
95 | # CPU | ||
96 | KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid", MODE="0444" | ||
97 | KERNEL=="msr[0-9]*", NAME="cpu/%n/msr" | ||
98 | KERNEL=="microcode", NAME="cpu/microcode", MODE="0600" | ||
99 | |||
100 | # miscellaneous | ||
101 | KERNEL=="fuse", MODE="0666" | ||
102 | SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc" | ||
103 | KERNEL=="auer[0-9]*", NAME="usb/%k" | ||
104 | KERNEL=="hw_random", NAME="hwrng" | ||
105 | KERNEL=="mmtimer", MODE="0644" | ||
106 | KERNEL=="rflash[0-9]*", MODE="0400" | ||
107 | KERNEL=="rrom[0-9]*", MODE="0400" | ||
108 | KERNEL=="sxctl", NAME="specialix_sxctl" | ||
109 | KERNEL=="rioctl", NAME="specialix_rioctl" | ||
110 | KERNEL=="iowarrior[0-9]*", NAME="usb/%k" | ||
111 | KERNEL=="hiddev[0-9]*", NAME="usb/%k" | ||
112 | KERNEL=="legousbtower[0-9]*", NAME="usb/%k" | ||
113 | KERNEL=="dabusb[0-9]*", NAME="usb/%k" | ||
114 | KERNEL=="usbdpfp[0-9]*", NAME="usb/%k" | ||
115 | KERNEL=="cpad[0-9]*", NAME="usb/%k" | ||
116 | |||
117 | # do not delete static device nodes | ||
118 | ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove" | ||
119 | ACTION=="remove", NAME=="", TEST=="/lib/udev/devices/%k", OPTIONS+="ignore_remove" | ||