1995-09-01 19:09:11 +00:00
|
|
|
$Id: sound.doc,v 1.3 1995/03/13 18:49:37 swallace Exp $
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
|
1995-03-04 21:11:21 +00:00
|
|
|
Instructions on using audio on a FreeBSD 2.1 (or 2.0-current) system.
|
|
|
|
See also /sys/i386/conf/LINT.
|
|
|
|
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
To enable sound driver support, the controller sound code must be included
|
|
|
|
in your config file:
|
|
|
|
|
|
|
|
# SB = SoundBlaster; PAS = ProAudioSpectrum; GUS = Gravis UltraSound
|
|
|
|
# Controls all sound devices
|
|
|
|
controller snd0
|
|
|
|
|
|
|
|
Uncomment one or more of these device entries, depending on what type of
|
|
|
|
sound card you have:
|
|
|
|
|
1995-09-01 19:09:11 +00:00
|
|
|
# ProAudioSpectrum PCM and Midi - for PAS
|
|
|
|
#device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
|
|
|
|
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
# SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB)
|
|
|
|
#device sb0 at isa? port 0x220 irq 7 drq 1 vector sbintr
|
|
|
|
|
|
|
|
# SoundBlaster 16 DSP driver - for SB16 - requires sb0 device
|
|
|
|
#device sbxvi0 at isa? drq 5
|
|
|
|
|
|
|
|
# SoundBlaster 16 MIDI - for SB16 - requires sb0 device
|
|
|
|
#device sbmidi0 at isa? port 0x300
|
|
|
|
|
|
|
|
# Gravis UltraSound - for GUS, GUS16, GUSMAX
|
1995-09-01 19:09:11 +00:00
|
|
|
#device gus0 at isa? port 0x220 irq 11 drq 1 flags 0x3 vector gusintr
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
|
|
|
|
# Gravis UltraSound 16 bit option - for GUS16 - requires gus0
|
|
|
|
#device gusxvi0 at isa? port 0x530 irq 7 drq 3 vector adintr
|
|
|
|
|
1995-09-01 19:09:11 +00:00
|
|
|
# MS Sound System (AD1848 Based Boards)
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
#device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
|
|
|
|
|
1995-03-13 18:49:37 +00:00
|
|
|
# Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS
|
|
|
|
#device opl0 at isa? port 0x388
|
|
|
|
|
|
|
|
# MPU-401 - for MPU-401 standalone card
|
|
|
|
#device mpu0 at isa? port 0x330 irq 6 drq 0
|
|
|
|
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
# 6850 UART Midi
|
|
|
|
#device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
|
|
|
|
|
1995-03-04 21:11:21 +00:00
|
|
|
You may add one or more of the following depending on what you do and don't
|
|
|
|
want compiled into your kernel. Note: Excluding things with EXCLUDE_...
|
|
|
|
is NOT recommended unless you really know what you're doing.
|
|
|
|
|
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
|
|
|
#options EXCLUDE_AUDIO # NO digital audio support
|
|
|
|
#options EXCLUDE_SEQUENCER # NO sequencer support
|
|
|
|
#options EXCLUDE_MIDI # NO MIDI support whatsoever
|
|
|
|
#options EXCLUDE_SBPRO # EXCLUDE SB Pro support
|
|
|
|
#options EXCLUDE_SB_EMULATION # NO PAS SB emulation support
|
|
|
|
#options EXCLUDE_GUS_IODETECT # NO GUS io detection
|
|
|
|
#options EXCLUDE_PRO_MIDI # NO PAS MIDI support
|
1995-03-04 21:11:21 +00:00
|
|
|
|
1995-09-01 19:09:11 +00:00
|
|
|
Other Options:
|
|
|
|
|
|
|
|
#options SYMPHONY_PAS
|
|
|
|
Adds some code to make pas work with Symphony chipsets. Only use
|
|
|
|
this if your pas doesn't work and you have a Symphony chipset.
|
|
|
|
|
|
|
|
#options BROKEN_BUS_CLOCK
|
|
|
|
Some systems with the OPTI chipset and a PAS will require you to
|
|
|
|
use this option. Symptoms are that you will hear a lot of clicking and
|
|
|
|
popping sounds, like a geiger counter, coming out of the PAS even when
|
|
|
|
it is not playing anything.
|
|
|
|
|
|
|
|
#options MOZART_PORT
|
|
|
|
Adds support for Mozart (OAK OTI-601). (Part of the MSS driver)
|
|
|
|
|
|
|
|
#options OPTI_MAD16_PORT
|
|
|
|
Adds support for the OPTI MAD16 Chip. (Part of the MSS driver)
|
|
|
|
|
|
|
|
#options __SGNXPRO__
|
|
|
|
Adds support for the SG NX Pro mixer. (Part of the SB driver)
|
|
|
|
|
|
|
|
#options JAZZ16
|
|
|
|
Adds support for the MV Jazz16 (ProSonic etc). (Part of the SB Driver)
|
|
|
|
|
|
|
|
#options SM_WAVE
|
|
|
|
Adds support for the SoundMan Wave (Part of the SB Driver)
|
|
|
|
Note: You will need to do some work to get this to work.
|
|
|
|
See i386/isa/sound/configure.c
|
|
|
|
|
|
|
|
#options SM_GAMES
|
|
|
|
Adds support for the Logitech SoundMan Games (Part of the SB Driver)
|
|
|
|
|
1995-03-04 21:11:21 +00:00
|
|
|
NOTE: The MPU-401 driver may or may not work, and is unfortunately
|
|
|
|
unverifiable since no one I know has one. If you can test this,
|
|
|
|
please let me know! Also note that you will have to change these
|
|
|
|
settings if your soundcard is set for a non-standard address or IRQ.
|
|
|
|
Please check your documentation (or verify with any provided DOS utilities
|
|
|
|
that may have come with your card) and set the IRQ or address fields
|
|
|
|
accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
Also: You can configure more then one card on a single DMA using
|
1995-09-01 19:09:11 +00:00
|
|
|
ALLOW_CONFLICT_DMA. This is useful for boards with more then one type of
|
|
|
|
emulation.
|
|
|
|
|
1995-03-04 21:11:21 +00:00
|
|
|
|
|
|
|
Probing problems: Since the SB16 uses the same IRQ and addresses for
|
|
|
|
the different drivers, some of the snd dirvers will not be probed because
|
|
|
|
the kernel thinks there is a conflict. This can be worked-around by
|
|
|
|
setting the ALLOW_CONFLICT_IOADDR or ALLOW_CONFLICT_IRQ options.
|
|
|
|
|
|
|
|
|
|
|
|
- Jordan Hubbard (jkh@freefall.cdrom.com)
|
|
|
|
- Steven Wallace (swallace@freefall.cdrom.com)
|
|
|
|
- Sujal Patel (smpatel@wam.umd.edu)
|