libcsu: Assign environment when environ is NULL
[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.19 2007/02/17 11:31:58 joel Exp $
27 .\" $DragonFly: src/share/man/man4/snd_sbc.4,v 1.4 2008/06/22 20:39:40 swildner Exp $
28 .\"
29 .Dd June 22, 2008
30 .Dt SND_SBC 4
31 .Os
32 .Sh NAME
33 .Nm snd_sbc ,
34 .Nm snd_sb16 ,
35 .Nm snd_sb8
36 .Nd Creative Sound Blaster ISA and compatible bridge device driver
37 .Sh SYNOPSIS
38 To compile this driver into the kernel, place the following lines in your
39 kernel configuration file:
40 .Bd -ragged -offset indent
41 .Cd "device pcm"
42 .Cd "device snd_sbc"
43 .Cd "device snd_sb16"
44 .Cd "device snd_sb8"
45 .Ed
46 .Pp
47 Alternatively, to load the driver as a module at boot time, place the
48 following lines in
49 .Xr loader.conf 5 :
50 .Bd -literal -offset indent
51 snd_sbc_load="YES"
52 snd_sb16_load="YES"
53 snd_sb8_load="YES"
54 .Ed
55 .Pp
56 Non-PnP cards require a setting in the kernel config file:
57 .Bd -literal -offset indent
58 .Cd "device pcm0 at isa? port? irq 5 drq 1 flags 0x15"
59 .Ed
60 .Sh DESCRIPTION
61 The
62 .Nm
63 bridge driver allows the generic audio driver
64 .Xr sound 4
65 to attach to Creative Sound Blaster ISA (mostly SB16 or SB8, known as
66 SoundBlaster Pro) compatible audio cards.
67 .Pp
68 The value of flags specifies the secondary DMA channel.
69 If the secondary
70 DMA channel is C, set the flags to (C | 0x10).
71 For a sound card without the
72 secondary DMA channel, the flags should be set to zero.
73 .Sh HARDWARE
74 The
75 .Nm
76 driver supports the following sound cards:
77 .Pp
78 .Bl -bullet -compact
79 .It
80 Avance Asound 110
81 .It
82 Avance Logic ALS100+
83 .It
84 Avance Logic ALS120
85 .It
86 Creative SB16
87 .It
88 Creative SB32
89 .It
90 Creative AWE64
91 .It
92 Creative AWE64 Gold
93 .It
94 Creative ViBRA16C
95 .It
96 Creative ViBRA16X
97 .It
98 ESS ES1681
99 .It
100 ESS ES1688
101 .It
102 ESS ES1868
103 .It
104 ESS ES1869
105 .It
106 ESS ES1878
107 .It
108 ESS ES1879
109 .It
110 ESS ES1888
111 .El
112 .Sh DIAGNOSTICS
113 .Bl -diag
114 .It sb_dspwr(XX) timed out.
115 A command to the DSP has timed out.
116 Check the I/O port configuration.
117 .It bad irq XX (5/7/9/10 valid)
118 The IRQ given to the driver is not valid.
119 .El
120 .Sh SEE ALSO
121 .Xr sound 4
122 .Sh HISTORY
123 The
124 .Nm
125 device driver first appeared in
126 .Fx 4.0 .
127 .Sh AUTHORS
128 .An Seigo Tanimura Aq tanimura@r.dl.itc.u-tokyo.ac.jp