xref: /freebsd/share/man/man4/snd_via8233.4 (revision 069ac184)
1.\" Copyright (c) 2005 Joel Dahl
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd November 29, 2006
26.Dt SND_VIA8233 4
27.Os
28.Sh NAME
29.Nm snd_via8233
30.Nd "VIA Technologies VT8233 bridge device driver"
31.Sh SYNOPSIS
32To compile this driver into the kernel, place the following lines in your
33kernel configuration file:
34.Bd -ragged -offset indent
35.Cd "device sound"
36.Cd "device snd_via8233"
37.Ed
38.Pp
39Alternatively, to load the driver as a module at boot time, place the
40following line in
41.Xr loader.conf 5 :
42.Bd -literal -offset indent
43snd_via8233_load="YES"
44.Ed
45.Sh DESCRIPTION
46The
47.Nm
48bridge driver allows the generic audio driver,
49.Xr sound 4 ,
50to attach to the VIA VT8233 audio devices.
51These audio chipsets are integrated in the southbridge on many VIA based
52motherboards.
53.Ss Runtime Configuration
54The following
55.Xr sysctl 8
56variables are available in addition to those available to all
57.Xr sound 4
58devices:
59.Bl -tag -width ".Va dev.pcm.%d.polling" -offset indent
60.It Va dev.pcm.%d.polling
61Experimental polling mode, where the driver operates by querying the device
62state on each tick using
63.Xr callout 9 .
64Polling is disabled by default.
65Do not enable it unless you are facing weird interrupt problems or if the
66device cannot generate interrupts at all.
67.El
68.Sh HARDWARE
69The
70.Nm
71driver supports the following audio chipsets:
72.Pp
73.Bl -bullet -compact
74.It
75VIA VT8233
76.It
77VIA VT8233A
78.It
79VIA VT8233C
80.It
81VIA VT8235
82.It
83VIA VT8237
84.It
85VIA VT8251
86.El
87.Sh SEE ALSO
88.Xr sound 4
89.Sh HISTORY
90The
91.Nm
92device driver first appeared in
93.Fx 4.7 .
94.Sh AUTHORS
95This manual page was written by
96.An Joel Dahl Aq Mt joel@FreeBSD.org .
97.Sh BUGS
98The
99.Nm
100driver
101does not support S/PDIF.
102There is partial support in the code, so implementing it should be fairly
103easy if the right hardware is available.
104