xref: /freebsd/share/man/man4/snd_via8233.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
144fcb6c4SJesus R. Camou.\" Copyright (c) 2005 Joel Dahl
244fcb6c4SJesus R. Camou.\" All rights reserved.
344fcb6c4SJesus R. Camou.\"
444fcb6c4SJesus R. Camou.\" Redistribution and use in source and binary forms, with or without
544fcb6c4SJesus R. Camou.\" modification, are permitted provided that the following conditions
644fcb6c4SJesus R. Camou.\" are met:
744fcb6c4SJesus R. Camou.\" 1. Redistributions of source code must retain the above copyright
844fcb6c4SJesus R. Camou.\"    notice, this list of conditions and the following disclaimer.
944fcb6c4SJesus R. Camou.\" 2. Redistributions in binary form must reproduce the above copyright
1044fcb6c4SJesus R. Camou.\"    notice, this list of conditions and the following disclaimer in the
1144fcb6c4SJesus R. Camou.\"    documentation and/or other materials provided with the distribution.
1244fcb6c4SJesus R. Camou.\"
1344fcb6c4SJesus R. Camou.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1444fcb6c4SJesus R. Camou.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1544fcb6c4SJesus R. Camou.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1644fcb6c4SJesus R. Camou.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1744fcb6c4SJesus R. Camou.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1844fcb6c4SJesus R. Camou.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1944fcb6c4SJesus R. Camou.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2044fcb6c4SJesus R. Camou.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2144fcb6c4SJesus R. Camou.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2244fcb6c4SJesus R. Camou.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2344fcb6c4SJesus R. Camou.\" SUCH DAMAGE.
2444fcb6c4SJesus R. Camou.\"
254a418e5bSJoel Dahl.Dd November 29, 2006
2644fcb6c4SJesus R. Camou.Dt SND_VIA8233 4
2744fcb6c4SJesus R. Camou.Os
2844fcb6c4SJesus R. Camou.Sh NAME
2944fcb6c4SJesus R. Camou.Nm snd_via8233
3044fcb6c4SJesus R. Camou.Nd "VIA Technologies VT8233 bridge device driver"
3144fcb6c4SJesus R. Camou.Sh SYNOPSIS
3289a50c24SJoel DahlTo compile this driver into the kernel, place the following lines in your
3389a50c24SJoel Dahlkernel configuration file:
3489a50c24SJoel Dahl.Bd -ragged -offset indent
3544fcb6c4SJesus R. Camou.Cd "device sound"
3644fcb6c4SJesus R. Camou.Cd "device snd_via8233"
3789a50c24SJoel Dahl.Ed
3889a50c24SJoel Dahl.Pp
3989a50c24SJoel DahlAlternatively, to load the driver as a module at boot time, place the
4089a50c24SJoel Dahlfollowing line in
4189a50c24SJoel Dahl.Xr loader.conf 5 :
4289a50c24SJoel Dahl.Bd -literal -offset indent
4389a50c24SJoel Dahlsnd_via8233_load="YES"
4489a50c24SJoel Dahl.Ed
4544fcb6c4SJesus R. Camou.Sh DESCRIPTION
4644fcb6c4SJesus R. CamouThe
4744fcb6c4SJesus R. Camou.Nm
4844fcb6c4SJesus R. Camoubridge driver allows the generic audio driver,
4944fcb6c4SJesus R. Camou.Xr sound 4 ,
5044fcb6c4SJesus R. Camouto attach to the VIA VT8233 audio devices.
5144fcb6c4SJesus R. CamouThese audio chipsets are integrated in the southbridge on many VIA based
5244fcb6c4SJesus R. Camoumotherboards.
534a418e5bSJoel Dahl.Ss Runtime Configuration
544a418e5bSJoel DahlThe following
554a418e5bSJoel Dahl.Xr sysctl 8
564a418e5bSJoel Dahlvariables are available in addition to those available to all
574a418e5bSJoel Dahl.Xr sound 4
584a418e5bSJoel Dahldevices:
594a418e5bSJoel Dahl.Bl -tag -width ".Va dev.pcm.%d.polling" -offset indent
604a418e5bSJoel Dahl.It Va dev.pcm.%d.polling
614a418e5bSJoel DahlExperimental polling mode, where the driver operates by querying the device
624a418e5bSJoel Dahlstate on each tick using
634a418e5bSJoel Dahl.Xr callout 9 .
644a418e5bSJoel DahlPolling is disabled by default.
654a418e5bSJoel DahlDo not enable it unless you are facing weird interrupt problems or if the
664a418e5bSJoel Dahldevice cannot generate interrupts at all.
6747bfa7c2SChristian Brueffer.El
6844fcb6c4SJesus R. Camou.Sh HARDWARE
6944fcb6c4SJesus R. CamouThe
7044fcb6c4SJesus R. Camou.Nm
7144fcb6c4SJesus R. Camoudriver supports the following audio chipsets:
7244fcb6c4SJesus R. Camou.Pp
7344fcb6c4SJesus R. Camou.Bl -bullet -compact
7444fcb6c4SJesus R. Camou.It
7544fcb6c4SJesus R. CamouVIA VT8233
7644fcb6c4SJesus R. Camou.It
7744fcb6c4SJesus R. CamouVIA VT8233A
7844fcb6c4SJesus R. Camou.It
7944fcb6c4SJesus R. CamouVIA VT8233C
8044fcb6c4SJesus R. Camou.It
8144fcb6c4SJesus R. CamouVIA VT8235
8244fcb6c4SJesus R. Camou.It
8344fcb6c4SJesus R. CamouVIA VT8237
84b981599fSChristian Brueffer.It
85b981599fSChristian BruefferVIA VT8251
8644fcb6c4SJesus R. Camou.El
8744fcb6c4SJesus R. Camou.Sh SEE ALSO
8844fcb6c4SJesus R. Camou.Xr sound 4
8944fcb6c4SJesus R. Camou.Sh HISTORY
9044fcb6c4SJesus R. CamouThe
9144fcb6c4SJesus R. Camou.Nm
9244fcb6c4SJesus R. Camoudevice driver first appeared in
9344fcb6c4SJesus R. Camou.Fx 4.7 .
94e85afe78SJoel Dahl.Sh AUTHORS
95e85afe78SJoel DahlThis manual page was written by
96*6c899950SBaptiste Daroussin.An Joel Dahl Aq Mt joel@FreeBSD.org .
9744fcb6c4SJesus R. Camou.Sh BUGS
98a4be0b3cSRuslan ErmilovThe
9944fcb6c4SJesus R. Camou.Nm
100a4be0b3cSRuslan Ermilovdriver
10144fcb6c4SJesus R. Camoudoes not support S/PDIF.
10244fcb6c4SJesus R. CamouThere is partial support in the code, so implementing it should be fairly
10344fcb6c4SJesus R. Camoueasy if the right hardware is available.
104