1999-11-14 20:02:20 +03:00
|
|
|
.\" $NetBSD: sb.4,v 1.19 1999/11/14 17:02:20 augustss Exp $
|
1996-02-28 01:39:39 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
|
1995-11-13 17:39:14 +03:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
1996-02-28 01:39:39 +03:00
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by John T. Kohl.
|
|
|
|
.\"
|
1995-11-13 17:39:14 +03:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
1996-02-28 01:39:39 +03:00
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
1995-11-13 17:39:14 +03:00
|
|
|
.\"
|
1996-02-28 01:39:39 +03:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
1997-10-09 01:59:52 +04:00
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
1996-02-28 01:39:39 +03:00
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
1995-11-13 17:39:14 +03:00
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.Dd November 4, 1995
|
1997-02-24 01:20:20 +03:00
|
|
|
.Dt SB 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm sb
|
1997-04-10 11:30:03 +04:00
|
|
|
.Nd SoundBlaster family (and compatible) audio device driver
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh SYNOPSIS
|
1998-08-26 16:30:51 +04:00
|
|
|
.Cd "sb0 at isa? port 0x220 irq 5 drq 1 drq2 5"
|
|
|
|
.Cd "sb1 at isa? port 0x240 irq 7 drq 1 flags 1"
|
|
|
|
.Cd "sb* at isapnp?"
|
1999-11-14 20:02:20 +03:00
|
|
|
.Cd "sb* at pnpbios? index ?"
|
1997-10-06 01:42:08 +04:00
|
|
|
.Cd "audio* at sb?"
|
1998-08-26 16:30:51 +04:00
|
|
|
.Cd "midi* at sb?"
|
1999-08-02 21:43:52 +04:00
|
|
|
.Cd "mpu* at sb?"
|
1998-08-26 16:30:51 +04:00
|
|
|
.Cd "opl* at sb?"
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1997-04-10 11:30:03 +04:00
|
|
|
.Nm
|
1995-11-13 17:39:14 +03:00
|
|
|
driver provides support for the SoundBlaster, SoundBlaster Pro,
|
1997-07-31 02:40:43 +04:00
|
|
|
SoundBlaster 16, Jazz 16, SoundBlaster AWE 32, SoundBlaster AWE 64,
|
|
|
|
and hardware register-level compatible audio cards.
|
1995-11-13 17:39:14 +03:00
|
|
|
.Pp
|
|
|
|
The SoundBlaster series are half-duplex cards, capable of 8- and 16-bit
|
|
|
|
audio sample recording and playback at rates up to 44.1kHz (depending on
|
|
|
|
the particular model).
|
|
|
|
.Pp
|
|
|
|
The base I/O port address is usually jumper-selected to either 0x220 or
|
|
|
|
0x240 (newer cards may provide software configuration, but this driver
|
|
|
|
does not directly support them--you must configure the card for its I/O
|
|
|
|
addresses with other software). The SoundBlaster takes 16 I/O ports.
|
|
|
|
For the SoundBlaster and SoundBlaster Pro, the IRQ and DRQ channels are
|
|
|
|
jumper-selected. For the SoundBlaster 16, the IRQ and DRQ channels are
|
|
|
|
set by this driver to the values specified in the config file. The IRQ
|
|
|
|
must be selected from the set {5,7,9,10}.
|
|
|
|
.Pp
|
1997-07-28 04:23:10 +04:00
|
|
|
The configuration file must use 1
|
1996-03-16 20:21:58 +03:00
|
|
|
.Cm flags
|
|
|
|
specification to enable the Jazz16 support. This is to avoid potential
|
|
|
|
conflicts with other devices when probing the Jazz 16 because it requires
|
|
|
|
use of extra I/O ports not in the base port range.
|
|
|
|
.Pp
|
1997-08-26 23:39:19 +04:00
|
|
|
With a SoundBlaster 16 card the device is full duplex, but it can
|
|
|
|
only sensibly handle a precision of 8 bits. It does so by extending
|
|
|
|
the output 8 bit samples to 16 bits and using the 8 bit DMA channel
|
|
|
|
for input and the 16 bit channel for output.
|
|
|
|
.Pp
|
1997-04-10 11:30:03 +04:00
|
|
|
The joystick interface (if enabled by a jumper) is handled by the
|
|
|
|
.Xr joy 4
|
|
|
|
driver, and the optional SCSI CD-ROM interface is handled by the
|
|
|
|
.Xr aic 4
|
|
|
|
driver.
|
1999-08-02 21:43:52 +04:00
|
|
|
.Pp
|
|
|
|
SoundBlaster 16 cards have MPU401 emulation and can use the mpu
|
|
|
|
attachment, older cards have a different way to generate MIDI and
|
|
|
|
has a midi device attached directly to the sb,
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh BUGS
|
1998-08-26 16:30:51 +04:00
|
|
|
Non-SCSI CD-ROM interfaces are not supported.
|
1998-08-07 00:45:44 +04:00
|
|
|
.Pp
|
|
|
|
The MIDI interface on the SB hardware is braindead, and the driver
|
|
|
|
needs to busy wait while writing MIDI data. This will consume
|
|
|
|
a lot of system time.
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh SEE ALSO
|
1997-04-10 11:30:03 +04:00
|
|
|
.Xr aic 4 ,
|
|
|
|
.Xr audio 4 ,
|
1999-11-14 20:02:20 +03:00
|
|
|
.Xr isa 4 ,
|
|
|
|
.Xr isapnp 4 ,
|
|
|
|
.Xr joy 4 ,
|
1998-08-07 00:45:44 +04:00
|
|
|
.Xr midi 4 ,
|
1999-08-02 21:43:52 +04:00
|
|
|
.Xr mpu 4 ,
|
1998-08-26 16:30:51 +04:00
|
|
|
.Xr opl 4 ,
|
1999-11-14 20:02:20 +03:00
|
|
|
.Xr pnpbios 4
|
1995-11-13 17:39:14 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
1997-04-10 11:30:03 +04:00
|
|
|
.Nm
|
1995-11-13 17:39:14 +03:00
|
|
|
device driver appeared in
|
1996-02-19 23:51:28 +03:00
|
|
|
.Nx 1.0 .
|