Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21304 - hotplug usb-storage and sd_mod auto insert
Summary: hotplug usb-storage and sd_mod auto insert
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 19:40 UTC by Tony Murray
Modified: 2005-01-24 10:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.