Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21304

Summary: hotplug usb-storage and sd_mod auto insert
Product: Gentoo Linux Reporter: Tony Murray <tonymurray>
Component: [OLD] Core systemAssignee: Gentoo Release Team <releng>
Status: VERIFIED INVALID    
Severity: normal CC: erik_swanson, tonymurray
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tony Murray 2003-05-19 19:40:24 UTC
I was wondering if it would be possible to make hotplug insert sd_mod when a usb
compact flash card is inserted?

Right now, when I plug in the reader, it inserts the usb-storage module.  then I
have to manually insert sd_mod which creates the device entrys so I can mount my
card.

I know other distros like mandrake do this...
Comment 1 H.Witvliet 2004-01-07 14:02:52 UTC
from the modules.conf man-page:

[add] above module module_list
      This  directive  makes  it  possible for one module to "pull in"
      another set of modules on top of itself in a  module  stack,  as
      seen in the output of the lsmod(8) command.  The above directive
      is useful for those circumstances when the dependencies are more
      complex than what can be described in the modules.dep dependency
      file.  This is an optimized case of the  post-install  and  pre-
      remove  directives.   Note that failure of installing the module
      will not influence the exit status of  modprobe.   The  optional
      add  prefix  adds  the  new list to the previous list instead of
      replacing it.

So something like 'above usb-storage sd_mod' added to modules.conf (using /etc/modules.d/...) should work.
Comment 2 Tony Murray 2004-01-07 18:24:46 UTC
I had hoped to get that in the default config or something, oh well, no sense in leaving the bug open.
Comment 3 Tony Murray 2005-01-24 10:48:10 UTC
Closing old bugs.