Changeset a6cd72e for udev/50-udev.rules
- Timestamp:
- Feb 21, 2006, 1:37:37 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 128c984
- Parents:
- ce36880
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/50-udev.rules
rce36880 ra6cd72e 14 14 # 15 15 ######################################################################## 16 17 # ignore these events until someone needs them18 SUBSYSTEM=="drivers", OPTIONS="last_rule"19 SUBSYSTEM=="module", OPTIONS="last_rule"20 16 21 17 # console … … 56 52 SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%i $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video" 57 53 58 # Kino jogshuttle support59 SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="b33/10/*", RUN+="/usr/bin/killall --quiet -USR2 kino"60 SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="5f3/240/*", RUN+="/usr/bin/killall --quiet -USR2 kino"61 62 54 # input devices 63 55 KERNEL=="mice", NAME="input/%k", MODE="0640" … … 68 60 KERNEL=="uinput", NAME="input/%k", MODE="0600" 69 61 KERNEL=="lirc0", NAME="%k", SYMLINK+="lirc" 70 KERNEL=="input[0-9]*", RUN+="/lib/udev/input_device.sh" 71 KERNEL=="input[0-9]*", ACTION=="add", ENV{ABS}=="[1-9]*", RUN+="/sbin/modprobe joydev" 62 KERNEL=="input[0-9]*", ACTION=="add", RUN+="input.sh" 72 63 73 64 # printer … … 94 85 # 167 /dev/specialix_sxctl Specialix serial control 95 86 KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k" 87 88 # network 89 KERNEL=="tun", NAME="net/%k", MODE="0600" 96 90 97 91 # misc devices … … 121 115 KERNEL=="auer[0-9]*" NAME="usb/%k" 122 116 117 # packet writing interface 123 118 KERNEL=="pktcdvd", NAME="pktcdvd/control" 124 119 KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k" 125 120 126 121 # fix floppy devices 127 KERNEL=="nvram", ACTION=="add", RUN+=" /lib/udev/load_floppy_module.sh"128 KERNEL=="fd *", ACTION=="add", SYSFS{device/cmos}=="*", RUN+="/lib/udev/create_floppy_devices -c -t $sysfs{device/cmos} -m %M /dev/%k"129 KERNEL=="fd *", ACTION=="remove", RUN+="/lib/udev/remove_floppy_devices.sh %k"122 KERNEL=="nvram", ACTION=="add", RUN+="load_floppy_module.sh" 123 KERNEL=="fd[0-9]*", ACTION=="add", SYSFS{device/cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{device/cmos} -m %M /dev/%k" 124 KERNEL=="fd[0-9]*", ACTION=="remove", RUN+="/bin/rm -f $root/%k*" 130 125 131 126 # block devices … … 143 138 SUBSYSTEM=="scsi_device", ACTION=="add", RUN+="/sbin/modprobe sg" 144 139 145 # IDE modules146 SUBSYSTEM=="ide", ACTION=="add", RUN+=" /lib/udev/load_ide_modules.sh"140 # load IDE modules 141 SUBSYSTEM=="ide", ACTION=="add", RUN+="ide.sh" 147 142 148 143 # device mapper 149 KERNEL=="device-mapper", ACTION=="add",NAME="%k", SYMLINK+="mapper/control"144 KERNEL=="device-mapper", NAME="%k", SYMLINK+="mapper/control" 150 145 151 146 # check fstab and possibly mount 152 SUBSYSTEM=="block", KERNEL=="sd*[0-9]|hd*[0-9]", ACTION=="add", RUN+="/lib/udev/mount.sh"147 SUBSYSTEM=="block", ACTION=="add", KERNEL=="sd*[0-9]|hd*[0-9]", RUN+="mount.sh" 153 148 154 149 # misc storage devices (non-block) … … 179 174 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" 180 175 181 # firmware loader182 SUBSYSTEM=="firmware", ACTION=="add", RUN+=" /lib/udev/firmware.sh"176 # kernel firmware loader 177 SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
Note: See TracChangeset
for help on using the changeset viewer.