Module Name:    src
Committed By:   pho
Date:           Thu Oct 13 13:04:02 UTC 2016

Modified Files:
        src/share/man/man4: auich.4

Log Message:
PR kern/32569: Describe the sysctl variable the driver provides


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man4/auich.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/auich.4
diff -u src/share/man/man4/auich.4:1.23 src/share/man/man4/auich.4:1.24
--- src/share/man/man4/auich.4:1.23	Wed Apr 30 13:10:53 2008
+++ src/share/man/man4/auich.4	Thu Oct 13 13:04:02 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: auich.4,v 1.23 2008/04/30 13:10:53 martin Exp $
+.\"	$NetBSD: auich.4,v 1.24 2016/10/13 13:04:02 pho Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 14, 2006
+.Dd October 13, 2016
 .Dt AUICH 4
 .Os
 .Sh NAME
@@ -46,10 +46,25 @@ i82801BA (ICH2), i82440MX, i82801CA (ICH
 i82801FB (ICH6), i82801GB/GR (ICH7), and Intel 6300ESB.
 The driver also supports SiS 7012, nForce MCP, nForce2 MCP-T,
 nForce3 MCP-T, nForce3 250 MCP-T, nForce4, and AMD 8111.
+.Pp
+The driver provides the following
+.Xr sysctl 8
+read/write variable (when hardware support is available):
+.Bl -tag -width Ds
+.It Va hw.auich0.ac97rate
+Link rate of the device in Hz. The driver automatically measures and
+calculates the correct rate so you usually don't need to change
+this. There is, however, a chance that the driver miscalculates the
+rate especially on an emulated hardware, resulting in an incorrect
+playback pitch. When this happens you need to manually set this
+variable to the correct value. Try
+.Li 48000
+if you don't know the correct value as it is the default link rate.
 .Sh SEE ALSO
 .Xr ac97 4 ,
 .Xr audio 4 ,
-.Xr pci 4
+.Xr pci 4 ,
+.Xr sysctl 8
 .Sh HISTORY
 The
 .Nm

Reply via email to