| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: hdaudio.4,v 1.21 2021/04/10 08:01:21 nia Exp $ | | 1 | .\" $NetBSD: hdaudio.4,v 1.22 2022/03/21 09:20:04 jmcneill Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Precedence Technologies Ltd | | 7 | .\" by Precedence Technologies Ltd |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -17,41 +17,39 @@ | | | @@ -17,41 +17,39 @@ |
17 | .\" | | 17 | .\" |
18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | .\" POSSIBILITY OF SUCH DAMAGE. | | 28 | .\" POSSIBILITY OF SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .Dd March 12, 2021 | | 30 | .Dd March 21, 2022 |
31 | .Dt HDAUDIO 4 | | 31 | .Dt HDAUDIO 4 |
32 | .Os | | 32 | .Os |
33 | .Sh NAME | | 33 | .Sh NAME |
34 | .Nm hdaudio | | 34 | .Nm hdaudio |
35 | .Nd High Definition Audio device driver | | 35 | .Nd High Definition Audio device driver |
36 | .Sh SYNOPSIS | | 36 | .Sh SYNOPSIS |
37 | .Cd "hdaudio* at pci? dev ? function ?" | | 37 | .Cd "hdaudio* at pci? dev ? function ?" |
38 | .Cd "hdafg* at hdaudiobus?" | | 38 | .Cd "hdafg* at hdaudiobus?" |
39 | .Cd "audio* at audiobus?" | | 39 | .Cd "audio* at audiobus?" |
40 | .Pp | | 40 | .Pp |
41 | .Cd "options HDAUDIOVERBOSE" | | 41 | .Cd "options HDAUDIOVERBOSE" |
42 | .Cd "options HDAUDIO_DEBUG" | | 42 | .Cd "options HDAUDIO_DEBUG" |
43 | .Cd "options HDAUDIO_ENABLE_DISPLAYPORT" | | | |
44 | .Cd "options HDAUDIO_ENABLE_HDMI" | | | |
45 | .Cd "options HDAFG_DEBUG" | | 43 | .Cd "options HDAFG_DEBUG" |
46 | .Sh DESCRIPTION | | 44 | .Sh DESCRIPTION |
47 | The | | 45 | The |
48 | .Nm | | 46 | .Nm |
49 | device driver is expected to support any PCI device which is | | 47 | device driver is expected to support any PCI device which is |
50 | compliant to the High Definition Audio Specification 1.0. | | 48 | compliant to the High Definition Audio Specification 1.0. |
51 | It was written from scratch following the Intel HD Audio and Microsoft | | 49 | It was written from scratch following the Intel HD Audio and Microsoft |
52 | Universal Audio Architecture specifications. | | 50 | Universal Audio Architecture specifications. |
53 | .Pp | | 51 | .Pp |
54 | The driver consists of two interlinked components, which reflects the | | 52 | The driver consists of two interlinked components, which reflects the |
55 | hardware design. | | 53 | hardware design. |
56 | The | | 54 | The |
57 | .Nm | | 55 | .Nm |
| @@ -74,33 +72,26 @@ The tree of widgets must be parsed and m | | | @@ -74,33 +72,26 @@ The tree of widgets must be parsed and m |
74 | .Xr mixer 4 | | 72 | .Xr mixer 4 |
75 | controls. | | 73 | controls. |
76 | As part of this process, loops in the inter-codec links must be detected | | 74 | As part of this process, loops in the inter-codec links must be detected |
77 | and muted, bi-directional pins must be set up appropriately and the locations | | 75 | and muted, bi-directional pins must be set up appropriately and the locations |
78 | of pins determined. | | 76 | of pins determined. |
79 | .Nm | | 77 | .Nm |
80 | works backwards by starting with a list of desired, consistent and compatible | | 78 | works backwards by starting with a list of desired, consistent and compatible |
81 | .Xr mixer 4 | | 79 | .Xr mixer 4 |
82 | controls and configuring/discovering appropriate widget link routes to fit. | | 80 | controls and configuring/discovering appropriate widget link routes to fit. |
83 | .Pp | | 81 | .Pp |
84 | By following the published mechanisms for common implementations of widget | | 82 | By following the published mechanisms for common implementations of widget |
85 | parsing, it is expected that nearly all High Definition Audio devices will | | 83 | parsing, it is expected that nearly all High Definition Audio devices will |
86 | be supported without requiring per-device quirks. | | 84 | be supported without requiring per-device quirks. |
87 | .Pp | | | |
88 | The | | | |
89 | .Dv HDAUDIO_ENABLE_DISPLAYPORT | | | |
90 | and | | | |
91 | .Dv HDAUDIO_ENABLE_HDMI | | | |
92 | options enable support for DisplayPort and HDMI audio output, which is disabled | | | |
93 | by default. | | | |
94 | .Sh HARDWARE | | 85 | .Sh HARDWARE |
95 | In addition to many on-board sound cards included in mainboards, the following | | 86 | In addition to many on-board sound cards included in mainboards, the following |
96 | add-on card is supported: | | 87 | add-on card is supported: |
97 | .Bl -tag -width 20n | | 88 | .Bl -tag -width 20n |
98 | .It TerraTec Aureon 7.1 PCIe | | 89 | .It TerraTec Aureon 7.1 PCIe |
99 | .El | | 90 | .El |
100 | .Sh SEE ALSO | | 91 | .Sh SEE ALSO |
101 | .Xr audio 4 , | | 92 | .Xr audio 4 , |
102 | .Xr mixer 4 , | | 93 | .Xr mixer 4 , |
103 | .Xr pci 4 , | | 94 | .Xr pci 4 , |
104 | .Xr hdaudioctl 8 , | | 95 | .Xr hdaudioctl 8 , |
105 | .Pp | | 96 | .Pp |
106 | .Lk http://www.intel.com/design/chipsets/hdaudio.htm "Intel High Definition Audio" | | 97 | .Lk http://www.intel.com/design/chipsets/hdaudio.htm "Intel High Definition Audio" |