1 # do not edit this file, it will be overwritten on update
3 ACTION!="add", GOTO="drivers_end"
5 # check if the device has already been claimed by a driver
6 ENV{DRIVER}=="?*", SUBSYSTEM!="input", GOTO="drivers_end"
8 # this driver is broken and should not be loaded automatically
9 SUBSYSTEM=="platform", ENV{MODALIAS}=="i82365", GOTO="drivers_end"
11 # Autoload modules that lack aliases but have them defined in autoload modules
12 ENV{MODALIAS}=="?*", RUN{ignore_error}+="modprobe.sh $env{MODALIAS}"
15 SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN{ignore_error}+="/bin/sh -c 'while read id; do /lib/udev/modprobe.sh pnp:d$$id; done < /sys$devpath/id'"
16 # needed aliases are defined in /etc/modprobe.d/pnp-aliases
19 SUBSYSTEM=="i2o", RUN+="modprobe.sh i2o_block"
20 SUBSYSTEM=="mmc", RUN+="modprobe.sh mmc_block"
21 SUBSYSTEM=="tifm", RUN+="modprobe.sh tifm_sd"
22 SUBSYSTEM=="tifm", RUN+="modprobe.sh tifm_ms"
23 SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="modprobe.sh ide-scsi"
25 # Load driver for scsi-device
26 SUBSYSTEM!="scsi_device", GOTO="hotplug_scsi_end"
28 # Parts taken from redhat-rules
29 # sd: 0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
30 # sr: 4 TYPE_WORM, 5 TYPE_ROM
31 # st/osst: 1 TYPE_TAPE
33 ATTRS{type}=="?*", TEST!="[module/sg]", RUN+="modprobe.sh sg"
34 ATTRS{type}=="0|7|14", RUN+="modprobe.sh sd_mod"
35 ATTRS{type}=="4|5", RUN+="modprobe.sh sr_mod"
36 ATTRS{type}=="8", RUN+="modprobe.sh ch"
38 ATTRS{type}=="1", ATTRS{vendor}=="On[sS]tream", \
39 ATTRS{model}!="ADR*", RUN+="modprobe.sh osst", GOTO="hotplug_scsi_end"
40 ATTRS{type}=="1", RUN+="modprobe.sh st"
41 LABEL="hotplug_scsi_end"