Say hello to a sound system update from FreeBSD. This includes the long
[dragonfly.git] / share / man / man4 / snd_sbc.4
1 .\"
2 .\" Copyright (c) 1999 Seigo Tanimura
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD: src/share/man/man4/snd_sbc.4,v 1.17 2006/06/18 17:53:04 brueffer Exp $
27 .\" $DragonFly: src/share/man/man4/snd_sbc.4,v 1.1 2007/01/04 21:47:00 corecode Exp $
28 .\"
29 .Dd December 15, 2005
30 .Dt SND_SBC 4
31 .Os
32 .Sh NAME
33 .Nm snd_sbc
34 .Nd Creative Sound Blaster ISA and compatible bridge device driver
35 .Sh SYNOPSIS
36 To compile this driver into the kernel, place the following lines in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
39 .Cd "device pcm"
40 .Cd "device snd_sbc"
41 .Ed
42 .Pp
43 Alternatively, to load the driver as a module at boot time, place the
44 following line in
45 .Xr loader.conf 5 :
46 .Bd -literal -offset indent
47 snd_sbc_load="YES"
48 .Ed
49 .Pp
50 Non-PnP cards require a setting in the kernel config file:
51 .Bd -literal -offset indent
52 .Cd "device pcm0 at isa? port? irq 5 drq 1 flags 0x15"
53 .Ed
54 .Sh DESCRIPTION
55 The
56 .Nm
57 bridge driver allows the generic audio driver
58 .Xr sound 4
59 to attach to Creative Sound Blaster ISA compatible audio cards.
60 .Pp
61 The value of flags specifies the secondary DMA channel.
62 If the secondary
63 DMA channel is C, set the flags to (C | 0x10).
64 For a sound card without the
65 secondary DMA channel, the flags should be set to zero.
66 .Sh HARDWARE
67 The
68 .Nm
69 driver supports the following sound cards:
70 .Pp
71 .Bl -bullet -compact
72 .It
73 Avance Asound 110
74 .It
75 Avance Logic ALS100+
76 .It
77 Avance Logic ALS120
78 .It
79 Creative SB16
80 .It
81 Creative SB32
82 .It
83 Creative AWE64
84 .It
85 Creative AWE64 Gold
86 .It
87 Creative ViBRA16C
88 .It
89 Creative ViBRA16X
90 .It
91 ESS ES1681
92 .It
93 ESS ES1688
94 .It
95 ESS ES1868
96 .It
97 ESS ES1869
98 .It
99 ESS ES1878
100 .It
101 ESS ES1879
102 .It
103 ESS ES1888
104 .El
105 .Sh DIAGNOSTICS
106 .Bl -diag
107 .It sb_dspwr(XX) timed out.
108 A command to the DSP has timed out.
109 Check the I/O port configuration.
110 .It bad irq XX (5/7/9/10 valid)
111 The IRQ given to the driver is not valid.
112 .El
113 .Sh SEE ALSO
114 .Xr sound 4
115 .Sh HISTORY
116 The
117 .Nm
118 device driver first appeared in
119 .Fx 4.0 .
120 .Sh AUTHORS
121 .An Seigo Tanimura Aq tanimura@r.dl.itc.u-tokyo.ac.jp