chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ce39874
)
rules: add memstick module loading
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 19 Sep 2007 22:46:44 +0000
(
00:46
+0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 19 Sep 2007 22:46:44 +0000
(
00:46
+0200)
etc/udev/rules.d/80-drivers.rules
patch
|
blob
|
history
diff --git
a/etc/udev/rules.d/80-drivers.rules
b/etc/udev/rules.d/80-drivers.rules
index 33882660014f1f068ef53d2471981ce1a8732aa0..534056528db2988e03b52608ec804d00e2d3d1ea 100644
(file)
--- a/
etc/udev/rules.d/80-drivers.rules
+++ b/
etc/udev/rules.d/80-drivers.rules
@@
-6,6
+6,7
@@
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODAL
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"
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"
+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=="mmc", RUN+="/sbin/modprobe mmc_block"
SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block"
SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"