diff options
author | Marco d'Itri <md@Linux.IT> | 2006-08-23 01:20:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-23 01:20:56 +0200 |
commit | 49e7f5a05f7fc2a223aa9592530a6dbdc0ebfd4a (patch) | |
tree | a95ba4abb7accae025aa35c0c2be24c9592ea297 /etc/udev/debian/hotplug.rules | |
parent | 2f64aa4056835231ed297a79d39d5416e0045d0c (diff) |
update Debian rules
Diffstat (limited to 'etc/udev/debian/hotplug.rules')
-rw-r--r-- | etc/udev/debian/hotplug.rules | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/etc/udev/debian/hotplug.rules b/etc/udev/debian/hotplug.rules index 426424de5a..eae68864c9 100644 --- a/etc/udev/debian/hotplug.rules +++ b/etc/udev/debian/hotplug.rules @@ -12,24 +12,26 @@ SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/modprobe pcmcia" # rules for subsystems which lack proper hotplug support -#SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o-block" +SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o-block" #SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc-block" -SUBSYSTEM=="scsi_device", SYSFS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" -SUBSYSTEM=="scsi_device", SYSFS{type}=="1", RUN+="/sbin/modprobe osst", \ - SYSFS{vendor}=="Onstream", SYSFS{model}!="ADR*" -SUBSYSTEM=="scsi_device", SYSFS{type}=="1", RUN+="/sbin/modprobe st", \ - SYSFS{vendor}=="Onstream", SYSFS{model}=="ADR*" -SUBSYSTEM=="scsi_device", SYSFS{type}=="1", RUN+="/sbin/modprobe st", \ - SYSFS{vendor}!="Onstream" -SUBSYSTEM=="scsi_device", SYSFS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" -SUBSYSTEM=="scsi_device", SYSFS{type}=="[235689]", RUN+="/sbin/modprobe sg" +SUBSYSTEM=="scsi_device", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" +SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe osst", \ + ATTRS{vendor}=="Onstream", ATTRS{model}!="ADR*" +SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe st", \ + ATTRS{vendor}=="Onstream", ATTRS{model}=="ADR*" +SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe st", \ + ATTRS{vendor}!="Onstream" +SUBSYSTEM=="scsi_device", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" +SUBSYSTEM=="scsi_device", ATTRS{type}=="[235689]", RUN+="/sbin/modprobe sg" + +SUBSYSTEM=="ide", ATTRS{media}=="tape", RUN+="/sbin/modprobe ide-scsi" # From here on follows the hotplug agents which do not load modules LABEL="hotplug_driver_loaded" # FIXME: does a sane default exist? -#SUBSYSTEM=="scsi_device", SYSFS{idVendor}=="...", \ +#SUBSYSTEM=="scsi_device", ATTRS{idVendor}=="...", \ # RUN+="scsi-re-add" SUBSYSTEM=="firmware", RUN+="firmware.agent" |