Next: Configuring LILO Previous: General Configuration Up: Configuring the Kernel

4.2. Sound Configuration

Sound driver configuration probably is the part of the Linux setup that has given me the most trouble. The built-in sound card is based on the MediaVision Jazz16 chipset and claims Soundblaster compatibility, but it does seem to require some specific handling, at least software-selectable IRQs and DMA channels. My only attempt to use the sound driver provided with Linux 1.2.7 pretending the adapter was a Soundblaster clone failed miserably.

Anyway... for those brave souls who want to give it a try, here is a script of the configuration process I have done on my machine using what was then called the VoxWare 3.0alpha driver. (Since 1995, these drivers have been known as VoxWare, the Temporarily Anonymous Sound Drivers, UNIX Sound System, UNIX Sound System Lite, and are now known as the Open Sound System. Current versions of these drivers are what you find in the kernel source of all recent Linux distributions.)

Uwe Seidler <> contributed a copy of the local.h file generated by the configure script that he's been using successfully on his machine. He seemed to be using a different version of the sound drivers (2.90) with no explicit support for the Jazz16 card. I provide it as-is after the script log below.

Open Sound System drivers can be found at their home web site or in the Linux kernel source tree.

Configuring the sound support

The SoundBlaster, AdLib and ProAudioSpectrum
CARDS cannot be installed at the same time.

However the PAS16 has a SB emulator so you could select the SoundBlaster DRIVER with it.
	- ProAudioSpectrum 16
	- SoundBlaster / SB Pro
          (Could be selected with a PAS16 also)
	- AdLib

Don't enable SoundBlaster if you have GUS at 0x220!

  ProAudioSpectrum 16 support (n/y) ? n
  SoundBlaster support (n/y) ? y

The following cards should work with any other cards.
CAUTION! Don't enable MPU-401 if you don't have it.
  Gravis Ultrasound support (n/y) ? n
  MPU-401 support (NOT for SB16) (n/y) ? y
  6850 UART Midi support (n/y) ? n
  PSS (ECHO-ADI2111) support (n/y) ? n
  Microsoft Sound System support (n/y) ? n
  Ensoniq Soundscape support (n/y) ? n
  MediaTriX AudioTriX Pro support (n/y) ? n

Select one or more of the following options
  SoundBlaster Pro support (y/n) ? y
  SoundBlaster 16 support (y/n) ? n
  Audio Excel DSP 16 initialization support (n/y) ? n
  /dev/dsp and /dev/audio supports (usually required) (y/n) ? y
  FM synthesizer (YM3812/OPL-3) support (y/n) ? y
Do you want support for the mixer of SG NX Pro ? y
Do you want support for the MV Jazz16 (ProSonic etc.) ? y
	Valid 16 bit DMA channels for ProSonic/Jazz 16 are
	1, 3, 5 (default), 7
	Enter 16bit DMA channel for Prosonic : 7
ProSonic 16 bit DMA set to 7
Do you have SoundMan Wave (n/y) ? n

The Logitech SoundMan Games supports 44 kHz in stereo
while the standard SB Pro supports just 22 kHz/stereo
You have an option to enable the SM Games mode.
However do enable it only if you are _sure_ that your
card is a SM Games. Enabling this feature with a
plain old SB Pro _will_ cause troubles with stereo mode.

DANGER! Read the above once again before answering 'y'
Answer 'n' in case you are unsure what to do!
Do you have a Logitech SoundMan Games (n/y) ? n

I/O base for SB?
The factory default is 220
Enter the SB I/O base: 220
SB I/O base set to 220

IRQ number for SoundBlaster?
The IRQ address is defined by the jumpers on your card.
The factory default is either 5 or 7 (depending on the model).
Valid values are 9(=2), 5, 7 and 10.
Enter the value: 5
SoundBlaster IRQ set to 5

DMA channel for SoundBlaster?
For SB 1.0, 1.5 and 2.0 this MUST be 1
SB Pro supports DMA channels 0, 1 and 3 (jumper)
For SB16 give the 8 bit DMA# here
The default value is 1
Enter the value: 1
SoundBlaster DMA set to 1

I/O base for MPU-401?
The factory default is 330
Enter the MPU-401 I/O base: 330
MPU-401 I/O base set to 330

IRQ number for MPU-401?
Valid numbers are: 3, 4, 5, 7 and 9(=2).
The default value is 9.
Enter the value: 9
MPU-401 IRQ set to 9

Select the DMA buffer size (4096, 16384, 32768 or 65536 bytes)
65536 is recommended value for this configuration.
Enter the value: 65536
The DMA buffer size set to 65536
The sound driver is now configured.

Copy of the local.h file contributed by Uwe Seidler <> :

/*  Generated by configure. Don't edit!!!!  */

#define __SGNXPRO__
#undef  EXCLUDE_SB
#undef  EXCLUDE_MPU401
#define EXCLUDE_UART6850
#define EXCLUDE_GUS16
#define EXCLUDE_SB16
#define EXCLUDE_YM3812

#define SBC_BASE 0x220
#define SBC_IRQ 5
#define SBC_DMA 1
#define MPU_BASE 0x388
#define MPU_IRQ 9
#define DSP_BUFFSIZE 32768
#define SELECTED_SOUND_OPTIONS  0x00025412
#define SOUND_VERSION_STRING "2.90-2"
#define SOUND_CONFIG_DATE "Sun Dec 3 12:14:34 MET 1995"
#define SOUND_CONFIG_BY "root"
#define SOUND_CONFIG_HOST "adler"

HTML document last updated 18 February 1999