s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
3. How to install SB AWE sound support
3.1 Things you will need
These are the requirements for SB AWE support under Linux:
If you have a PnP card, you will also need:
Look in section Sources for information where you can obtain these programs. If you have a Debian GNU/Linux system, this means that you will need
the packages
3.2 Getting started
Let's assume you have properly installed your card in a socket on your motherboard and perhaps already tested it under a DOS or Windows environment. The next step is to initialize the card at boot time if and only if it is a
PnP card. Follow the documentation in the source package to compile and
install
as root. This will generate a hopefully proper configuration file for your
PnP cards, but with all devices commented out. Please edit this file
carefully, and compare the values for DMA channels, IO bases and interrupts
with the configuration of the cards under an DOS or Window environment if
possible (with Win95, look at the resources used by the card under
CAUTION:
CAUTION: According to the
then try adding CAUTION: Make sure that the last line is A sample If you have a Debian system, no further adjustments are necessary.
# Configure the isa plug and play boards before loading # modules. Need to do this before loading modules to get # a chance of configuring and starting PnP boards before # the drivers mess all this up. # if [ -x /etc/init.d/isapnp ] then /etc/init.d/isapnp start fi where /etc/init.d/isapnp is
#! /bin/sh # /etc/init.d/isapnp: configure Plug and Play boards test -x /sbin/isapnp || exit 0 /sbin/isapnp /etc/isapnp.conf exit 0 If you have another Linux distribution, you are on your own. I don't know what to do (anybody willing to submit more specific information?). Just make sure that isapnp gets started before the modules will be loaded (see below).
3.3 Compiling the kernel
Before recompiling the kernel, you have to apply the AWE Driver Extension to
the sound driver. Even if your kernel source tree already includes the
Be careful if you have upgraded the kernel source tree after running the
install script. The script just checks if a certain file exists - if it
exists, it does not apply the necessary patch. You are well advised to
remove the file Next you have to configure the kernel for sound support. I hope you know a
bit about kernel compiling; see the Sound HOWTO and the Kernel HOWTO for
details. Go in the source directory of your kernel sources
(
or At one point, you will be asked if you want sound card support. You are free
to answer with The following questions you should answer with
Sound Blaster (SB, SBPro, SB16, clones) support (CONFIG_SB) [Y/n/?] Generic OPL2/OPL3 FM synthesizer support (CONFIG_ADLIB) [Y/n/?] /dev/dsp and /dev/audio support (CONFIG_AUDIO) [Y/n/?] MIDI interface support (CONFIG_MIDI) [Y/n/?] FM synthesizer (YM3812/OPL-3) support (CONFIG_YM3812) [Y/n/?] lowlevel sound driver support [Y/n/?] AWE32 support (CONFIG_AWE32_SYNTH) [Y/n/?] Only the latter is actually for the Wave Table synthesis. The others are SB 16 options from the OSS/Free sound driver. In addition, you have to configure the sound card I/O port. Look at the
I/O base for SB Check from manual of the card (SBC_BASE) [220] Sound Blaster IRQ Check from manual of the card (SBC_IRQ) [5] Sound Blaster DMA 0, 1 or 3 (SBC_DMA) [1] Sound Blaster 16 bit DMA (_REQUIRED_for SB16, Jazz16, SMW) 5, 6 or 7 (use 1 for 8 bit cards) (SB_DMA2) [5] MPU401 I/O base of SB16, Jazz16 and ES1688 Check from manual of the card (SB_MPU_BASE) [330] SB MPU401 IRQ (Jazz16, SM Wave and ES1688) Use -1 with SB16 (SB_MPU_IRQ) [-1] Now recompile the kernel. Debian users should use the
and then If you have another Linux distribution, follow the standard way for
compiling a new kernel. Don't forget
3.4 Reboot
After installing the new kernel, you should do a reboot (be sure to have a functional boot disk at hand). Cross you fingers. If you have a PnP card be sure to launch isapnp either in a boot script (as described above) or manually:
Now you can install the sound driver, if you have compiled it as a module:
If you think the memory detection was not correct (I have a report of one
who has a AWE64 with 4096k, and ``detected'' have been 28672k), try either
to upgrade the
Sorry, you have to recompile the kernel then (perhaps compiling the modules will be sufficient, but I don't know for sure). If it works, you may want to have the sound module loaded automatically.
You can use
Next Previous Contents |