chiark / gitweb /
rules: Debian update
[elogind.git] / etc / udev / rules.d / 80-drivers.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add", GOTO="drivers_end"
4
5 DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}"
6 SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", \
7   RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'"
8 SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --all tifm_sd tifm_ms"
9 SUBSYSTEM=="memstick", RUN+="/sbin/modprobe --all ms_block mspro_block"
10 SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
11 SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block"
12 SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
13 SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
14 SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe ppdev"
15
16 LABEL="drivers_end"
17