[NTLUG:Discuss] sound, modules, and parameters

Hrothgar hrothgar at endor.hsutx.edu
Fri Aug 20 01:00:20 CDT 1999


i have an ES1788 soundcard that is being recognized as an ES1888, so i
need to pass "esstype=1788" to my sound module.  no prob...add it to
/etc/conf.modules.  the problem is that the module (and it's buddies) are
not being cleaned (removed) properly.  upon first loading the modules, i
get the following:

  Module                  Size  Used by
  sb                     33492   0  (autoclean)
  uart401                 5904   0  (autoclean) [sb]
  sound                  56364   0  [sb uart401]
  soundcore               2148   5  (autoclean) [sb sound]


notice that "sound" is not set to autoclean.  so when my module loader
tries to autoclean i end up with this:

  Module                  Size  Used by
  sound                  56364   0
  soundcore               2148   3  (autoclean) [sound]


now my sound won't load right because it obviously sees that "soundcore" 
is loaded and doesn't attempt to load the rest.  i then have to manually
do a `rmmod` to clean up the mess.  here are the relavent line from my
/etc/conf.modules: 

  alias sound sb
  pre-install sound insmod sound dmabuf=1
  options sb esstype=1788 io=0x220 irq=5 dma=1


now onto my questions:

[1] how can i make the sound module autoclean or can i tell sb not to
autoclean?

[2] is there any way i could do this without modules and configure my
soundcard as compiled into the kernel with the right esstype set?


TIA,
cameron

 [ How's my programming?  Call 1-800-DEV-NULL ]






More information about the Discuss mailing list