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.\" $FreeBSD$ 26.\" 27.Dd November 29, 2006 28.Dt SND_VIA8233 4 29.Os 30.Sh NAME 31.Nm snd_via8233 32.Nd "VIA Technologies VT8233 bridge device driver" 33.Sh SYNOPSIS 34To compile this driver into the kernel, place the following lines in your 35kernel configuration file: 36.Bd -ragged -offset indent 37.Cd "device sound" 38.Cd "device snd_via8233" 39.Ed 40.Pp 41Alternatively, to load the driver as a module at boot time, place the 42following line in 43.Xr loader.conf 5 : 44.Bd -literal -offset indent 45snd_via8233_load="YES" 46.Ed 47.Sh DESCRIPTION 48The 49.Nm 50bridge driver allows the generic audio driver, 51.Xr sound 4 , 52to attach to the VIA VT8233 audio devices. 53These audio chipsets are integrated in the southbridge on many VIA based 54motherboards. 55.Ss Runtime Configuration 56The following 57.Xr sysctl 8 58variables are available in addition to those available to all 59.Xr sound 4 60devices: 61.Bl -tag -width ".Va dev.pcm.%d.polling" -offset indent 62.It Va dev.pcm.%d.polling 63Experimental polling mode, where the driver operates by querying the device 64state on each tick using 65.Xr callout 9 . 66Polling is disabled by default. 67Do not enable it unless you are facing weird interrupt problems or if the 68device cannot generate interrupts at all. 69.Sh HARDWARE 70The 71.Nm 72driver supports the following audio chipsets: 73.Pp 74.Bl -bullet -compact 75.It 76VIA VT8233 77.It 78VIA VT8233A 79.It 80VIA VT8233C 81.It 82VIA VT8235 83.It 84VIA VT8237 85.It 86VIA VT8251 87.El 88.Sh SEE ALSO 89.Xr sound 4 90.Sh HISTORY 91The 92.Nm 93device driver first appeared in 94.Fx 4.7 . 95.Sh AUTHORS 96This manual page was written by 97.An Joel Dahl Aq joel@FreeBSD.org . 98.Sh BUGS 99The 100.Nm 101driver 102does not support S/PDIF. 103There is partial support in the code, so implementing it should be fairly 104easy if the right hardware is available. 105