xref: /openbsd/share/man/man4/man4.i386/sb.4 (revision d485f761)
1.\"	$OpenBSD: sb.4,v 1.9 2001/08/03 14:30:26 mpech Exp $
2.\"	$NetBSD: sb.4,v 1.13 1997/10/31 15:02:33 augustss Exp $
3.\"
4.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
5.\" All rights reserved.
6.\"
7.\" This code is derived from software contributed to The NetBSD Foundation
8.\" by John T. Kohl.
9.\"
10.\" Redistribution and use in source and binary forms, with or without
11.\" modification, are permitted provided that the following conditions
12.\" are met:
13.\" 1. Redistributions of source code must retain the above copyright
14.\"    notice, this list of conditions and the following disclaimer.
15.\" 2. Redistributions in binary form must reproduce the above copyright
16.\"    notice, this list of conditions and the following disclaimer in the
17.\"    documentation and/or other materials provided with the distribution.
18.\" 3. All advertising materials mentioning features or use of this software
19.\"    must display the following acknowledgement:
20.\"        This product includes software developed by the NetBSD
21.\"        Foundation, Inc. and its contributors.
22.\" 4. Neither the name of The NetBSD Foundation nor the names of its
23.\"    contributors may be used to endorse or promote products derived
24.\"    from this software without specific prior written permission.
25.\"
26.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
30.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36.\" POSSIBILITY OF SUCH DAMAGE.
37.\"
38.Dd November 4, 1995
39.Dt SB 4 i386
40.Os
41.Sh NAME
42.Nm sb
43.Nd SoundBlaster family (and compatibles) audio device driver
44.Sh SYNOPSIS
45.Cd "sb0 at isa? port 0x220 irq 5 drq 1 drq2 5"
46.Cd "sb1 at isa? port 0x240 irq 7 drq 1 flags 1"
47.Cd "sb* at isapnp?"
48.Cd "audio* at sb?"
49.Sh DESCRIPTION
50The
51.Nm
52SoundBlaster 16, Jazz 16, SoundBlaster AWE 32, SoundBlaster AWE 64,
53and hardware register-level compatible audio cards.
54.Pp
55The SoundBlaster series are half-duplex cards, capable of 8- and 16-bit
56audio sample recording and playback at rates up to 44.1kHz (depending on
57the particular model).
58.Pp
59The base I/O port address is usually jumper-selected to either 0x220 or
600x240 (newer cards may provide software configuration, but this driver
61does not directly support them--you must configure the card for its I/O
62addresses with other software).
63The SoundBlaster takes 16 I/O ports.
64For the SoundBlaster and SoundBlaster Pro, the IRQ and DRQ channels are
65jumper-selected.
66For the SoundBlaster 16, the IRQ and DRQ channels are set by this driver
67to the values specified in the config file.
68The IRQ must be selected from the set {5,7,9,10}.
69.Pp
70The configuration file must use 1
71.Cm flags
72specification to enable the Jazz16 support.
73This is to avoid potential conflicts with other devices when probing the
74Jazz 16 because it requires use of extra I/O ports not in the base port range.
75.Sh SEE ALSO
76.Xr aic 4 ,
77.Xr audio 4 ,
78.Xr joy 4
79.Sh HISTORY
80The
81.Nm
82device driver appeared in
83.Nx 1.0 .
84.Sh BUGS
85With a SoundBlaster 16 card the device is full duplex, but it can
86only sensibly handle a precision of 8 bits.
87It does so by extending
88the output 8 bit samples to 16 bits and using the 8 bit DMA channel
89for input and the 16 bit channel for output.
90.Pp
91The joystick interface (if enabled by a jumper) is handled by the
92.Xr joy 4
93driver, and the optional SCSI CD-ROM interface is handled by the
94.Xr aic 4
95driver.
96.Pp
97The FM synthesizer, MIDI port, and non-SCSI CD-ROM interfaces are not
98supported.
99