1558a398bSSimon Schubert.\" $NetBSD: uaudio.4,v 1.15 2002/02/12 19:53:57 jdolecek Exp $ 2558a398bSSimon Schubert.\" 3558a398bSSimon Schubert.\" Copyright (c) 1999 The NetBSD Foundation, Inc. 4558a398bSSimon Schubert.\" All rights reserved. 5558a398bSSimon Schubert.\" 6558a398bSSimon Schubert.\" This code is derived from software contributed to The NetBSD Foundation 7558a398bSSimon Schubert.\" by Lennart Augustsson. 8558a398bSSimon Schubert.\" 9558a398bSSimon Schubert.\" Redistribution and use in source and binary forms, with or without 10558a398bSSimon Schubert.\" modification, are permitted provided that the following conditions 11558a398bSSimon Schubert.\" are met: 12558a398bSSimon Schubert.\" 1. Redistributions of source code must retain the above copyright 13558a398bSSimon Schubert.\" notice, this list of conditions and the following disclaimer. 14558a398bSSimon Schubert.\" 2. Redistributions in binary form must reproduce the above copyright 15558a398bSSimon Schubert.\" notice, this list of conditions and the following disclaimer in the 16558a398bSSimon Schubert.\" documentation and/or other materials provided with the distribution. 17558a398bSSimon Schubert.\" 18558a398bSSimon Schubert.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19558a398bSSimon Schubert.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20558a398bSSimon Schubert.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21558a398bSSimon Schubert.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22558a398bSSimon Schubert.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23558a398bSSimon Schubert.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24558a398bSSimon Schubert.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25558a398bSSimon Schubert.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26558a398bSSimon Schubert.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27558a398bSSimon Schubert.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28558a398bSSimon Schubert.\" POSSIBILITY OF SUCH DAMAGE. 29558a398bSSimon Schubert.\" 3045110e6dSSascha Wildner.\" $FreeBSD: head/share/man/man4/snd_uaudio.4 267938 2014-06-26 21:46:14Z bapt $ 31558a398bSSimon Schubert.\" 323b7b7de0SSascha Wildner.Dd January 8, 2015 33558a398bSSimon Schubert.Dt SND_UAUDIO 4 34558a398bSSimon Schubert.Os 35558a398bSSimon Schubert.Sh NAME 36558a398bSSimon Schubert.Nm snd_uaudio 3745110e6dSSascha Wildner.Nd USB audio and MIDI device driver 38558a398bSSimon Schubert.Sh SYNOPSIS 39558a398bSSimon SchubertTo compile this driver into the kernel, place the following lines in your 40558a398bSSimon Schubertkernel configuration file: 41558a398bSSimon Schubert.Bd -ragged -offset indent 423b7b7de0SSascha Wildner.Cd "device sound" 4345110e6dSSascha Wildner.Cd "device usb" 44558a398bSSimon Schubert.Cd "device snd_uaudio" 45558a398bSSimon Schubert.Ed 46558a398bSSimon Schubert.Pp 47558a398bSSimon SchubertAlternatively, to load the driver as a module at boot time, place the 48558a398bSSimon Schubertfollowing line in 49558a398bSSimon Schubert.Xr loader.conf 5 : 50558a398bSSimon Schubert.Bd -literal -offset indent 512a617999SSascha Wildneruaudio_load="YES" 52558a398bSSimon Schubert.Ed 53558a398bSSimon Schubert.Sh DESCRIPTION 54558a398bSSimon SchubertThe 55558a398bSSimon Schubert.Nm 56558a398bSSimon Schubertdriver provides support for 57558a398bSSimon Schubert.Tn USB 5845110e6dSSascha Wildneraudio class devices and 5945110e6dSSascha Wildner.Tn USB 6045110e6dSSascha WildnerMIDI class devices. 61558a398bSSimon Schubert.Pp 62558a398bSSimon SchubertA 63558a398bSSimon Schubert.Tn USB 64558a398bSSimon Schubertaudio device consists of a number of components: 65558a398bSSimon Schubertinput terminals (e.g.\& USB digital input), output terminals (e.g.\& 66558a398bSSimon Schubertspeakers), and a number of units in between (e.g.\& volume control). 67558a398bSSimon Schubert.Pp 68558a398bSSimon SchubertRefer to the 69558a398bSSimon Schubert.Ql USB Audio Class Specification 70558a398bSSimon Schubertfor more information. 71558a398bSSimon Schubert.Sh SEE ALSO 72558a398bSSimon Schubert.Xr sound 4 , 73558a398bSSimon Schubert.Xr usb 4 74558a398bSSimon Schubert.Rs 75558a398bSSimon Schubert.%T "USB Audio Class Specifications" 76*92db1a35SSascha Wildner.%U http://www.usb.org/developers/devclass_docs/ 77558a398bSSimon Schubert.Re 78558a398bSSimon Schubert.Sh HISTORY 79558a398bSSimon SchubertThe 80558a398bSSimon Schubert.Nm 81558a398bSSimon Schubertdriver first appeared in 82558a398bSSimon Schubert.Fx 4.7 . 83558a398bSSimon Schubert.Sh AUTHORS 84558a398bSSimon SchubertThis manual page was adopted from 85558a398bSSimon Schubert.Nx 1.6 86558a398bSSimon Schubertand modified for 87558a398bSSimon Schubert.Fx 88558a398bSSimon Schubertby 89e18a87e3SFranco Fichtner.An Hiten Pandya Aq Mt hmp@FreeBSD.org . 90558a398bSSimon Schubert.Sh BUGS 91558a398bSSimon SchubertThe 92558a398bSSimon Schubert.Tn PCM 93558a398bSSimon Schubertframework in 94558a398bSSimon Schubert.Fx , 95558a398bSSimon Schubertas of this writing, does not handle device un-registrations in a properly 96558a398bSSimon Schubertabstracted manner, i.e., a detach request is refused by the 97558a398bSSimon Schubert.Tn PCM 98558a398bSSimon Schubertframework if the device is in use. 9945110e6dSSascha WildnerIt is necessary to allow the device un-registration to complete 10045110e6dSSascha Wildnersuccessfully, otherwise the 10145110e6dSSascha Wildner.Tn PCM 10245110e6dSSascha Wildnerlayer will panic. 103