diff --git a/filesystem/udev/rules/80-drivers.rules b/filesystem/udev/rules/80-drivers.rules index ae0548c03..b6663c0c2 100644 --- a/filesystem/udev/rules/80-drivers.rules +++ b/filesystem/udev/rules/80-drivers.rules @@ -2,20 +2,13 @@ ACTION!="add", GOTO="drivers_end" -# hotplug DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}" - -SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", RUN{ignore_error}+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" - +SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", \ + RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'" SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --all tifm_sd tifm_ms" - -# mmc SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block" -# ide SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi" -# scsi SUBSYSTEM=="scsi", ATTRS{type}=="0", RUN+="/sbin/modprobe sd_mod" - SUBSYSTEM=="scsi_device", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" SUBSYSTEM=="scsi_device", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst" SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe st"