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