Changeset 95756c0 for udev/50-udev.rules
- Timestamp:
- May 24, 2007, 10:28:56 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 850f2ea6
- Parents:
- 2b92d03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/50-udev.rules
r2b92d03 r95756c0 19 19 20 20 # console 21 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule" 22 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule" 23 KERNEL=="vcs*", GROUP="tty", MODE="620", OPTIONS="last_rule" 24 KERNEL=="tty", GROUP="tty", MODE="666", OPTIONS="last_rule" 25 KERNEL=="tty[0-9]*", GROUP="tty", MODE="620", OPTIONS="last_rule" 26 KERNEL=="console", MODE="600", OPTIONS="last_rule" 27 KERNEL=="ptmx", GROUP="tty", MODE="666", OPTIONS="last_rule" 21 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0666", OPTIONS="last_rule" 22 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0666", OPTIONS="last_rule" 23 KERNEL=="tty", GROUP="tty", MODE="0666", OPTIONS="last_rule" 24 KERNEL=="tty[0-9]*|vcs*", GROUP="tty", MODE="0620", OPTIONS="last_rule" 25 KERNEL=="ptmx", GROUP="tty", MODE="0666", OPTIONS="last_rule" 26 KERNEL=="console", MODE="0600", OPTIONS="last_rule" 28 27 29 28 # serial devices … … 51 50 52 51 # input devices 53 KERNEL=="mouse*|mice", NAME="input/%k", MODE="0640" 54 KERNEL=="event*", NAME="input/%k", MODE="0640" 52 KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640" 55 53 KERNEL=="js*", NAME="input/%k", MODE="0644" 56 KERNEL=="ts*", NAME="input/%k", MODE="0600" 57 KERNEL=="uinput", NAME="input/%k", MODE="0600" 54 KERNEL=="ts*|uinput", NAME="input/%k", MODE="0600" 58 55 KERNEL=="lirc0", SYMLINK+="lirc" 59 56 … … 89 86 90 87 # misc devices 91 KERNEL=="mem|kmem", GROUP="kmem", MODE="640" 92 KERNEL=="port", GROUP="kmem", MODE="640" 93 KERNEL=="nvram", GROUP="kmem", MODE="600" 94 KERNEL=="null", MODE="666" 95 KERNEL=="zero", MODE="666" 96 KERNEL=="full", MODE="622" 97 KERNEL=="random", MODE="666" 98 KERNEL=="urandom", MODE="644" 99 KERNEL=="rtc", GROUP="audio" 100 KERNEL=="sonypi", MODE="666" 101 KERNEL=="agpgart", MODE="600", GROUP="video" 102 KERNEL=="djs*", MODE="644" 103 KERNEL=="sgi_*", MODE="666" 104 KERNEL=="rrom*", MODE="400" 105 KERNEL=="rflash*", MODE="400" 106 KERNEL=="usbscanner*", MODE="644" 107 KERNEL=="3270/ttycons*", MODE="600" 108 KERNEL=="3270/tub*", MODE="666" 109 KERNEL=="3270/tubcons*", MODE="600" 110 KERNEL=="ica", MODE="666" 111 KERNEL=="z90crypt", MODE="666" 112 KERNEL=="mmtimer", MODE="444" 113 KERNEL=="auer[0-9]*" NAME="usb/%k" 88 KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640" 89 KERNEL=="nvram", GROUP="kmem", MODE="0600" 90 KERNEL=="null|zero|random", MODE="0666" 91 KERNEL=="full", MODE="0622" 92 KERNEL=="urandom", MODE="0644" 93 KERNEL=="rtc", MODE="0600" 94 KERNEL=="fuse", MODE="0666" 95 KERNEL=="sonypi", MODE="0666" 96 KERNEL=="agpgart", MODE="0600", GROUP="video" 97 KERNEL=="djs*", MODE="0644" 98 KERNEL=="sgi_*", MODE="0666" 99 KERNEL=="rrom*", MODE="0400" 100 KERNEL=="rflash*", MODE="0400" 101 KERNEL=="usbscanner*", MODE="0644" 102 KERNEL=="3270/ttycons*", MODE="0600" 103 KERNEL=="3270/tub*", MODE="0666" 104 KERNEL=="3270/tubcons*", MODE="0600" 105 KERNEL=="ica", MODE="0666" 106 KERNEL=="z90crypt", MODE="0666" 107 KERNEL=="mmtimer", MODE="0644" 108 KERNEL=="auer[0-9]*", NAME="usb/%k" 114 109 115 110 # packet writing interface … … 128 123 129 124 # misc storage devices (non-block) 130 KERNEL=="sg*", GROUP="disk", MODE=" 640"131 KERNEL=="sr*", GROUP="cdrom", MODE=" 660"125 KERNEL=="sg*", GROUP="disk", MODE="0640" 126 KERNEL=="sr*", GROUP="cdrom", MODE="0660" 132 127 KERNEL=="st*", GROUP="tape" 133 128 KERNEL=="nst*", GROUP="tape" … … 153 148 154 149 # libusb device access 155 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0660", GROUP="usb" 150 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644" 151 SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"
Note:
See TracChangeset
for help on using the changeset viewer.