> And lo, on Fri, 29 Aug 1997 00:40:38 -0400,
> >> Is there something
> >> significant about the fact that this is a plug-n-play card? Thanks
> for
> >> any help you can offer
I've just been through 7 kernel recompiles, and finally got the *
working
thanks to a ton of help from Bucky LaDieu (the maintainer of the
Soundblaster
AWE64 PnP mini-howto). If your card happens to be an AWE64, the
mini-howto is at
http://www.veryComputer.com/~nega/linux/
In a nutshell, this is what is required for ANY plug-and-play card..
You have to initialize the pnp card before the sound drivers
will work. The way I do this was with isapnptools- a set of
utilities that dumps the POSSIBLE settings for your
card into a file, then you edit out the ones you want
based on (for example) how windows allocates the
resources (DMA, IRQ, etc). There are other methods
possible, but Bucky recommends isapnptools.. So that was
the method I used. For isapnptools, head over to
ftp://ftp.redhat.com/pub/pnp/utils/isapnptools-1.10.tgz
and follow all of the directions carefully. I used Win95's
control panel system properties tool to print out all
of the settings that Win95 chooses for PNP, and used
those to set my isapnp.conf file. To initialize the hardware,
I run "isapnp" on my config file.. which means it tells the
card what IRQ, DMA, etc to use, making it ready to
accept sound instructions from the kernel. This can be
a little bit confusing.. I had a bit of trouble sorting out
all of the correct settings for my card (there are two
different synthesizer systems, and MIDI to boot on
this card).
Once you have the card settings in correctly, you need
to have kernel support. Sound should be compiled as
a module- you have to initialize the card from the
command prompt after you boot... In xconfig, you fill in the
appropriate irqs, dma channels, etc in the config
step. Add in /dev/audio support, and say "yes" to
anything that doesn't look like it will cause a hardware
conflict. I had to use a kernel patch for the awe64 that
is located at
http://www.veryComputer.com/~iwai/awedrv/
to add a kernel option for awe32 support.
then it is
$ make dep clean zImage modules modules_install
(coffee break)
Once the kernel is recompiled (and lilo reinitialized
pointing to my new kernel image), I rebooted. Yippee!
To turn on sound support, I do these commands
every time I boot:
$ isapnp /etc/isapnp.conf # my config file
$ insmod sound # load the module
$ /home/quake/qwcl -mem 48 # Start Quakeworld
And I can finally hear the B*stards sneaking up on
me. Pow- rocket up the shorts! I haven't gotten
around to putting the sound initializtion sequence into
my startup files yet.. sometimes (here at work) I
play quake with sound off. :)
Getting sound working on your Linux system will
teach you a lot about hardware and kernels. I had
never done a kernel before, and I am now completely
comfortable with it. My kernel is also much better
tuned to my hardware now.. I am pretty familiar with
the settings etc for everything.
By the way- the "chickening out" way to get sound
working is to purchase OSS from
http://www.veryComputer.com/
I was able to get my Ensoniq Soundscape (at home)
working via their demo version (works for 5 days if
memory serves..) in about 5 minutes (not counting
the download).
--
Dan Beimborn
http://www.veryComputer.com/