]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/snd_hda.4
This commit was generated by cvs2svn to compensate for changes in r165009,
[FreeBSD/FreeBSD.git] / share / man / man4 / snd_hda.4
1 .\" Copyright (c) 2006 Joel Dahl <joel@FreeBSD.org>
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd November 29, 2006
28 .Dt SND_HDA 4
29 .Os
30 .Sh NAME
31 .Nm snd_hda
32 .Nd "Intel High Definition Audio bridge device driver"
33 .Sh SYNOPSIS
34 To compile this driver into the kernel, place the following lines in your
35 kernel configuration file:
36 .Bd -ragged -offset indent
37 .Cd "device sound"
38 .Cd "device snd_hda"
39 .Ed
40 .Pp
41 Alternatively, to load the driver as a module at boot time, place the
42 following line in
43 .Xr loader.conf 5 :
44 .Bd -literal -offset indent
45 snd_hda_load="YES"
46 .Ed
47 .Sh DESCRIPTION
48 The
49 .Nm
50 bridge device driver allows the generic audio driver,
51 .Xr sound 4 ,
52 to attach to Intel High Definition Audio devices.
53 The
54 .Nm
55 driver supports hardware that conforms with revision 1.0 of the Intel High
56 Definition Audio specification and tries to behave much like the Microsoft
57 Universal Audio Architecture (UAA) draft (revision 0.7b) for handling audio
58 devices.
59 HDA acts like a primary bus, similar to
60 .Xr miibus 4 ,
61 for handling various child buses such as audio, modem and HDMI (High Definition
62 Multimedia Interface).
63 Only audio is implemented in the
64 .Nm
65 driver.
66 .Pp
67 The High Definition (HD) Audio specification was developed by Intel as the
68 logical successor of the old AC'97 specification and has several advantages,
69 such as higher bandwidth which allows more channels and more detailed formats,
70 support for several logical audio devices, and general purpose DMA channels.
71 .Pp
72 The HDA specification defines the register-level interface, physical link
73 characteristics, codec programming models, and codec architectural components.
74 This specification is intended for both device driver developers and hardware
75 component designers.
76 .Ss Runtime Configuration
77 The following
78 .Xr sysctl 8
79 variables are available in addition to those available to all
80 .Xr sound 4
81 devices:
82 .Bl -tag -width ".Va dev.pcm.%d.polling" -offset indent
83 .It Va dev.pcm.%d.polling
84 Experimental polling mode, where the driver operates by querying the device
85 state on each tick using
86 .Xr callout 9 .
87 Polling is disabled by default.
88 Do not enable it unless you are facing weird interrupt problems or if the
89 device cannot generate interrupts at all.
90 .El
91 .Sh HARDWARE
92 The
93 .Nm
94 driver supports the following audio chipsets:
95 .Pp
96 .Bl -bullet -compact
97 .It
98 ATI SB450
99 .It
100 ATI SB600
101 .It
102 Intel 631x/632xESB
103 .It
104 Intel 82801F
105 .It
106 Intel 82801G
107 .It
108 Intel 82801H
109 .It
110 nVidia MCP51
111 .It
112 nVidia MCP55
113 .It
114 nVidia MCP61A
115 .It
116 nVidia MCP61B
117 .It
118 nVidia MCP65A
119 .It
120 nVidia MCP65B
121 .It
122 SiS 966
123 .It
124 VIA VT8251/8237A
125 .El
126 .Pp
127 Generic Audio chipsets compatible with the Intel HDA specification should work,
128 but have not been verified yet.
129 The following codecs have been verified to work:
130 .Pp
131 .Bl -bullet -compact
132 .It
133 Analog Device AD1981HD
134 .It
135 Analog Device AD1983
136 .It
137 Analog Device AD1986A
138 .It
139 CMedia CMI9880
140 .It
141 Conexant Venice
142 .It
143 Conexant Waikiki
144 .It
145 Realtek ALC260
146 .It
147 Realtek ALC861
148 .It
149 Realtek ALC880
150 .It
151 Realtek ALC882
152 .It
153 Realtek ALC883
154 .It
155 Sigmatel STAC9220
156 .It
157 Sigmatel STAC9220D/9223D
158 .It
159 Sigmatel STAC9221
160 .It
161 Sigmatel STAC9221D
162 .El
163 .Sh SEE ALSO
164 .Xr sound 4 ,
165 .Xr loader.conf 5
166 .Sh HISTORY
167 The
168 .Nm
169 device driver first appeared in
170 .Fx 7.0 .
171 .Sh AUTHORS
172 .An -nosplit
173 The
174 .Nm
175 driver was written by
176 .An Stephane E. Potvin Aq sepotvin@videotron.ca
177 and
178 .An Ariff Abdullah Aq ariff@FreeBSD.org .
179 This manual page was written by
180 .An Joel Dahl Aq joel@FreeBSD.org .
181 .Sh BUGS
182 There are a couple of missing features, such as support for Digital
183 S/PDIF and multichannel output.
184 .Pp
185 A few Hardware/OEM vendors tend to screw up BIOS settings, thus
186 rendering the
187 .Nm
188 driver useless, which usually results in a state where the
189 .Nm
190 driver seems to attach and work, but without any sound.