[KLUG Members] Autoloading sound modules and MP3 playback

Scott Wood members@kalamazoolinux.org
Thu, 19 Jul 2001 19:58:25 -0700 (PDT)


Just out of curiousity, do you have the kernel-sources installed for your
current kernel?  If you check under /usr/src/linux/Documentation/sound (using
the symlink for linux-{version} mind you) it has details about the various
sound drivers.  I had to install my Opti card manually just the other night
because sndconfig kept locking up when I tried to probe it.  I later found out
I could get it work by doing a:

sndconfig --no-probe --no-autoconfig

Or something like that anyway - I don't have that machine here and the one here
at work has no sound card so I never installed sndconfig on it.

Sometimes the comments in the various files under:

/usr/src/linux/drivers/sound/maestro.{c,h}

can come in handy too.  Additionally, many of these now tie their functionality
to sb and of course sound_core, etc.  So reading up both the docs and source
comments on those can be helpful as well.

Just as a side note, I see that as of my kernel here at work (v2.2.17) it says
this is a variant of ESS.  The latest version of the driver is said to be
available at:

     http://people.redhat.com/zab/maestro/

It says it should be able to read IO and IRQ information from the PNP support
since it is a PCI device so long as your BIOS (or BIOS configuration) doesn't
prevent it from doing so.

The only parameters is requires are 'debug' for more information on driver
startup and dsps_order=# where # is a power of 2 - apparently this card can
configure up to four distinct dsp devices if desired. ('dsps_order=2' i.e. 2 **
"2"= 4

beyond that, I would guess your conf entries would look something like:

alias sound-slot-0 maestro
options maestro debug dps_order=4

Again, according to the documentation, the maestro "does'n support MIDI or FM
playback at the moment" which means that you probably can't load either the
mpu* module(s) or opl3* either.  But you might try it as it comments about some
cards having an MPU wired to them.  It doesn't say whether they should work.

Hope this helps...

Scott


being the maximum)
--- Adam Tauno Williams <awilliam@whitemice.org> wrote:
> >What kind of sound device does your laptop have? 
> 
> The modules selected is maestro3,  or something very simliar to that.  I
> don't have it with me at the moment.
> 
> >Is it also PNP?  
> 
> I'd assume so, it is integrated (haven't seen a laptop with an ISA slot
> in awhile :).
> 
> >I seem to be  masocistic when it comes to sound cards. You know all those
> really weird one's
> >that show up in the kernel config that you have never heard of before?
> >(AudioExcelDSP, PAS16, Opti,  etc.) I have owned many of them - it seems the
> >dollar bins at the swap-n-shops are just full of sound cards that noone else
> >can seem to get configured properly or get drivers for.
> 
> They always work for me.  If they don't, you just haven't sacrificed the
> right species yet.  What do you think happened to all the Buffalo?  The
> Crystal Audio chipset!  (That whole thing about trains, white people,
> and guns,  thats all myth).
> 
> >Believe me, the configuration from one device to another can vary
> tremendously.
> 
> Oh, I believe you.
> 
> > Keep in mind the only 'kill-or-die' settings in modules.conf are those
> which
> >specify sub parameters.  The rest are generally entered in there for ease of
> >use (with a few exceptions).  Aliases for example are just there so that you
> >can say 'modprobe sb1' instead of 'modprobe soundcore ; modprobe soundlow ;
> >modprobe sound ; modprobe mad16 io=0x388 irq=9 mpu_irq=11 mpu_io=0x330 ;
> >modprobe opl3 ; modprobe mpu'.  (well, depmod helps with that too)
> 
> Right, but OBVIOUSLY sndconfig is modprobing diffrently then it is
> sticking in /etc/modules.conf.  Does sndconfig have an "expert" mode
> where is actually says what it is doing?
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/