chiark / gitweb /
rules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device
[elogind.git] / etc / udev / rules.d / 80-drivers.rules
index 534056528db2988e03b52608ec804d00e2d3d1ea..881d7581bfef8e1547fc0dcd65e5e1836eb463c9 100644 (file)
@@ -10,7 +10,8 @@ SUBSYSTEM=="memstick", RUN+="/sbin/modprobe --all ms_block mspro_block"
 SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
 SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block"
 SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
-SUBSYSTEM=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
+SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
+SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe ppdev"
 
 LABEL="drivers_end"