[1f7827a2] | 1 | ########################################################################
|
---|
| 2 | #
|
---|
| 3 | # Description : 40-modprobe.rules
|
---|
| 4 | #
|
---|
| 5 | # Authors : Based on Open Suse Udev Rules
|
---|
| 6 | # kay.sievers@suse.de
|
---|
| 7 | #
|
---|
| 8 | # Adapted to : Jim Gifford
|
---|
| 9 | # LFS : Alexander E. Patrakov
|
---|
| 10 | #
|
---|
| 11 | # Version : 00.01
|
---|
| 12 | #
|
---|
| 13 | # Notes :
|
---|
| 14 | #
|
---|
| 15 | ########################################################################
|
---|
| 16 |
|
---|
| 17 | # hotplug
|
---|
| 18 | ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
|
---|
| 19 |
|
---|
| 20 | # scsi
|
---|
[bda8cfb] | 21 | SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
|
---|
[0177e46] | 22 | SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", SYSFS{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
|
---|
[bda8cfb] | 23 | SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st"
|
---|
| 24 | SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod"
|
---|
[1f7827a2] | 25 | SUBSYSTEM=="scsi_device", ACTION=="add", RUN+="/sbin/modprobe sg"
|
---|
| 26 |
|
---|
[90d6419] | 27 | # ide
|
---|
| 28 | KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
|
---|
| 29 | SUBSYSTEM=="ide", ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
|
---|
| 30 |
|
---|
[1f7827a2] | 31 | # floppy
|
---|
[90d6419] | 32 | KERNEL=="nvram", ACTION=="add", RUN+="load_floppy_module.sh"
|
---|
| 33 |
|
---|
| 34 | # mmc
|
---|
| 35 | SUBSYSTEM=="mmc", ACTION=="add", RUN+="/sbin/modprobe mmc_block"
|
---|
| 36 |
|
---|