Load tifm_sd and tifm_ms when tifm subsystem is found
PATCH 1/1 Load tifm_sd and tifm_ms when tifm subsystem is found
tifm subsystem do not depends on tifm_sd nor tifm_ms and then we need to manually load them to get cards working. To workaround it, we load both modules once tifm subsystem and the specific TIFM_CARD_TYPE are loaded.
Signed-off-by Otavio Salvador <[email protected]>
Cc Alex Dubov <[email protected]>
Cc Marco d'Itri <[email protected]>
--- etc/udev/debian/hotplug.rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
etc/udev/debian/hotplug.rules +3 -0
@@ -17,6 +17,9 @@ SUBSYSTEM="pcmcia_socket", RUN+="/sbin/modprobe pcmcia" # rules for subsystems which lack proper hotplug support SUBSYSTEM="i2o", RUN+="/sbin/modprobe i2o_block" SUBSYSTEM="mmc", RUN+="/sbin/modprobe mmc_block" +SUBSYSTEM="tifm", TIFM_CARD_TYPE="SD", RUN+="/sbin/modprobe tifm_sd" +SUBSYSTEM="tifm", TIFM_CARD_TYPE="MS", RUN+="/sbin/modprobe tifm_ms" + SUBSYSTEM="scsi_device", ATTRS{type}="0|7|14", RUN+="/sbin/modprobe sd_mod" SUBSYSTEM="scsi_device", ATTRS{type}="1", RUN+="/sbin/modprobe osst", \
Signature · 12 lines
1.5.3.GIT ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
PATCH 1/1 Load tifm_sd and tifm_ms when tifm subsystem is found
tifm subsystem do not depends on tifm_sd nor tifm_ms and then we need to manually load them to get cards working. To workaround it, we load both modules once tifm subsystem and the specific TIFM_CARD_TYPE are loaded.
Signed-off-by Otavio Salvador <[email protected]>
Cc Alex Dubov <[email protected]>
Cc Marco d'Itri <[email protected]>
--- etc/udev/debian/hotplug.rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
etc/udev/debian/hotplug.rules +3 -0
@@ -17,6 +17,9 @@ SUBSYSTEM="pcmcia_socket", RUN+="/sbin/modprobe pcmcia" # rules for subsystems which lack proper hotplug support SUBSYSTEM="i2o", RUN+="/sbin/modprobe i2o_block" SUBSYSTEM="mmc", RUN+="/sbin/modprobe mmc_block" +SUBSYSTEM="tifm", ENV{TIFM_CARD_TYPE}="SD", RUN+="/sbin/modprobe tifm_sd" +SUBSYSTEM="tifm", ENV{TIFM_CARD_TYPE}="MS", RUN+="/sbin/modprobe tifm_ms" + SUBSYSTEM="scsi_device", ATTRS{type}="0|7|14", RUN+="/sbin/modprobe sd_mod" SUBSYSTEM="scsi_device", ATTRS{type}="1", RUN+="/sbin/modprobe osst", \
Signature · 12 lines
1.5.3.GIT ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
etc/udev/debian/hotplug.rules
Quoted 1 line · Otavio Salvador
etc/udev/debian/hotplug.rules +0
-0
I will provide later a diff with up to date debian rules files.
Signature · 12 lines
ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel