Lines Matching +full:codec +full:- +full:3

2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2006-2008 Joel Dahl <joel@FreeBSD.org>
38 .Bd -ragged -offset indent
46 .Bd -literal -offset indent
57 driver includes HDA bus controller driver (hdac), HDA codec driver (hdacc)
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
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
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 ,
281 Can be specified as a number from 0 to 3.
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
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
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
411 .Bd -literal
413 hdaa0: 20 01014020 2 0 Line-out Jack 1/8 Rear Green 0
417 hdaa0: 24 01a19830 3 0 Mic Jack 1/8 Rear Pink 8
418 hdaa0: 25 02a1983f 3 15 Mic Jack 1/8 Front Pink 8
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).
434 3 associations:
435 .Bd -literal
441 hdaa0: Association 2 (3) in:
461 .Ar Line-out
463 Association #2 (3) will become
466 .Ar Line-in
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.
521 .Ss Example 3
525 .Bd -literal
528 hint.hdac.0.cad0.nid27.config="as=3 seq=0"
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
610 .An -nosplit
625 unusual CODEC wiring that create problems to the driver.
636 Some vendors use non-standardized General Purpose I/O (GPIO) pins of the codec