Lines Matching +full:gpo +full:- +full:config +full:- +full:1

2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2006-2008 Joel Dahl <joel@FreeBSD.org>
11 .\" 1. Redistributions of source code must retain the above copyright
38 .Bd -ragged -offset indent
46 .Bd -literal -offset indent
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
98 .It Va hint.hdac.%d.config
112 .It Va hint.hdac.%d.cad%d.nid%d.config
114 .Va hint.hdaa.%d.nid%d.config
115 .It Va hint.hdaa.%d.config
158 Zero out the pin widget config setup by the system.
165 May be specified as a set of space-separated
185 .It Va hint.hdaa.%d.nid%d.config
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
197 .It 1
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 ,
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
355 .It Va dev.hdaa.%d.config
356 Run-time equivalent of the
357 .Va hint.hdaa.%d.config
364 Run-time equivalent of the
365 .Va hint.hdaa.%d.gpio.config
368 Current state of GPO lines.
370 Run-time equivalent of the
371 .Va hint.hdaa.%d.nid%d.config
376 Setting this to a non-zero value makes driver to destroy existing pcm devices
386 Run-time equivalent of the
411 .Bd -literal
413 hdaa0: 20 01014020 2 0 Line-out Jack 1/8 Rear Green 0
414 hdaa0: 21 99130110 1 0 Speaker Fixed ATAPI Onboard Unknown 1
415 hdaa0: 22 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
416 hdaa0: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
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
420 hdaa0: 27 0221401f 1 15 Headphones Jack 1/8 Front Green 0
421 hdaa0: 28 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
422 hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
423 hdaa0: 31 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
428 (Jack, Rear) and nid 21 is a built-in speaker (Fixed, Onboard).
435 .Bd -literal
436 hdaa0: Association 0 (1) out:
439 hdaa0: Association 1 (2) out:
443 hdaa0: Pin nid=26 seq=1
453 In this case association #0 (1) will become
458 Association #1 (2) will become
461 .Ar Line-out
466 .Ar Line-in
480 .Ss Example 1
484 .Bd -literal
485 hint.hdac.0.cad0.nid20.config="as=1"
486 hint.hdac.0.cad0.nid21.config="as=2"
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
504 hint.hdac.0.cad0.nid20.config="as=1 seq=15 device=Headphones"
505 hint.hdac.0.cad0.nid27.config="as=2 seq=0"
506 hint.hdac.0.cad0.nid25.config="as=4 seq=0"
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
526 hint.hdac.0.cad0.nid20.config="as=1 seq=0"
527 hint.hdac.0.cad0.nid26.config="as=2 seq=0"
528 hint.hdac.0.cad0.nid27.config="as=3 seq=0"
529 hint.hdac.0.cad0.nid25.config="as=4 seq=0"
530 hint.hdac.0.cad0.nid24.config="as=5 seq=0 device=Line-out"
531 hint.hdac.0.cad0.nid21.config="as=6 seq=0"
536 .Pq line-out and line-in ,
540 .Pq additional line-out via retasked rear mic jack ,
548 .Bd -literal
549 hint.hdac.0.cad0.nid20.config="as=1 seq=0"
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"
552 hint.hdac.0.cad0.nid21.config="as=2 seq=0"
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.
566 .Bl -tag -width ".Va speaker" -offset indent
572 input-to-output monitoring loopback level
610 .An -nosplit
636 Some vendors use non-standardized General Purpose I/O (GPIO) pins of the codec