Lines Matching +full:codec +full:- +full:driver
2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2006-2008 Joel Dahl <joel@FreeBSD.org>
34 .Nd "Intel High Definition Audio bridge device driver"
36 To compile this driver into the kernel, place the following lines in your
38 .Bd -ragged -offset indent
43 Alternatively, to load the driver as a module at boot time, place the
46 .Bd -literal -offset indent
57 driver includes HDA bus controller driver (hdac), HDA codec driver (hdacc)
58 and HDA codecs audio functions bridge driver (hdaa) that allows
59 the generic audio driver,
68 driver supports hardware that conforms with revision 1.0 of the Intel High
77 driver often provides several PCM audio devices.
85 The driver's verbose boot messages provide a lot of information about
86 the operation of the driver and present audio setup.
93 .Ss Boot-time Configuration
94 The following variables are available at boot-time through the
97 .Bl -tag -width ".Va hint.hdac.%d.config"-offset indent
165 May be specified as a set of space-separated
180 are a codec's General Purpose I/O pins which system integrators sometimes
187 May be specified as a 32-bit hexadecimal value with a leading
189 or as a set of space-separated
194 .Bl -tag -width 2n -compact
202 When enabled, driver will automatically set recording source of the mixer to
206 Pin configuration is the UAA driver's main source of information about codec
208 This information is usually provided by the codec manufacturer and tuned
212 driver allows users to override it to fix integrator mistakes or to use the
213 available codec in alternative ways (for example to get stereo output and 2
217 .Bl -tag -width ".Va device=" -offset indent
220 Associations are used to group individual pins to form a complex multi-pin
233 A unique, per-association number used to order pins inside the
250 0 - Front, 1 - Center/LFE, 2 - Back, 3 - Front Wide Center, 4 - Side.
251 Standard combinations are: (0) - Stereo; (0, 2), (0, 4) - Quadro;
252 (0, 1, 2), (0, 1, 4) - 5.1; (0, 1, 2, 4) - 7.1.
256 .Dq Li Line-out ,
260 .Dq Li SPDIF-out ,
261 .Dq Li Digital-out ,
262 .Dq Li Modem-line ,
263 .Dq Li Modem-handset ,
264 .Dq Li Line-in ,
268 .Dq Li SPDIF-in ,
269 .Dq Li Digital-in ,
297 driver.
321 driver.
328 driver.
341 .Bl -tag -width ".Va dev.hdaa.%d.nid%d_original" -offset indent
343 Setting this to a non-zero value dumps the current pin configuration, main
348 In this mode the driver operates by querying the device state on timer
356 Run-time equivalent of the
364 Run-time equivalent of the
370 Run-time equivalent of the
376 Setting this to a non-zero value makes driver to destroy existing pcm devices
382 used by CODEC.
383 Depending on codec capabilities, possible values are 20, 24 and 32 bit.
386 Run-time equivalent of the
393 driver supports PCI class 04h
400 Taking HP Compaq DX2300 with Realtek ALC888 HDA codec for example.
403 According to verbose driver output and the codec datasheet,
404 this codec has five stereo DACs and two stereo ADCs, all of them are routable to
405 any codec pin (external connector).
406 All codec pins are reversible (could be configured either as input or output).
408 So high codec uniformity and flexibility allow driver to configure it in many
410 The driver reports such default pin configuration when verbose messages enabled:
411 .Bd -literal
413 hdaa0: 20 01014020 2 0 Line-out Jack 1/8 Rear Green 0
419 hdaa0: 26 01813031 3 1 Line-in Jack 1/8 Rear Blue 0
428 (Jack, Rear) and nid 21 is a built-in speaker (Fixed, Onboard).
429 Pins with nids 22, 23, 28, 30 and 31 will be disabled by driver due to "None"
435 .Bd -literal
461 .Ar Line-out
466 .Ar Line-in
471 driver provides extensive verbose messages to diagnose its operation
472 logic and describe its current codec configuration.
484 .Bd -literal
489 will swap line-out and speaker functions.
492 device will play to the line-out and headphones jacks.
493 Line-out will be muted on the headphones jack connection.
496 will go from two external microphones and line-in jacks.
503 .Bd -literal
512 device will play to the internal speaker and to the line-out jack, with
513 speaker automute on the line-out jack connection.
516 will use input from one external microphone and the line-in jacks.
525 .Bd -literal
530 hint.hdac.0.cad0.nid24.config="as=5 seq=0 device=Line-out"
536 .Pq line-out and line-in ,
540 .Pq additional line-out via retasked rear mic jack ,
548 .Bd -literal
550 hint.hdac.0.cad0.nid24.config="as=1 seq=1 device=Line-out"
551 hint.hdac.0.cad0.nid26.config="as=1 seq=2 device=Line-out"
557 for 5.1 playback via 3 rear connectors (line-out and retasked
558 mic and line-in) and headset (headphones and mic) at front connectors.
563 Depending on codec configuration, these controls and signal sources could be
566 .Bl -tag -width ".Va speaker" -offset indent
572 input-to-output monitoring loopback level
607 device driver first appeared in
610 .An -nosplit
613 driver was written by
625 unusual CODEC wiring that create problems to the driver.
628 driver seems to attach and work, but no sound is played.
636 Some vendors use non-standardized General Purpose I/O (GPIO) pins of the codec
641 HDMI and DisplayPort audio may also require support from video driver.