xref: /freebsd/share/man/man4/man4.powerpc/snd_ai2s.4 (revision 02e9120893770924227138ba49df1edb3896112a)
1.\"-
2.\" Copyright (c) 2009 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
26.Dd January 20, 2009
27.Dt SND_AI2S 4
28.Os
29.Sh NAME
30.Nm snd_ai2s
31.Nd "Apple I2S audio device driver"
32.Sh SYNOPSIS
33To compile this driver into the kernel,
34place the following lines in your
35kernel configuration file:
36.Bd -ragged -offset indent
37.Cd "device sound"
38.Cd "device snd_ai2s"
39.Ed
40.Pp
41Alternatively, to load the driver as a
42module at boot time, place the following line in
43.Xr loader.conf 5 :
44.Bd -literal -offset indent
45snd_ai2s_load="YES"
46.Ed
47.Sh DESCRIPTION
48The
49.Nm
50driver provides support for the Apple I2S audio controllers found
51predominantly in G4 and G5 machines, along with the snapper and tumbler
52codecs. Some machines (e.g. the Mac Mini) do not have configurable
53codecs and so lack hardware volume control.
54.Sh HARDWARE
55Chips supported by the
56.Nm
57driver include:
58.Pp
59.Bl -bullet -compact
60.It
61Apple Tumbler Audio
62.It
63Apple Snapper Audio
64.El
65.Sh SEE ALSO
66.Xr snd_davbus 4 ,
67.Xr sound 4
68.Sh HISTORY
69The
70.Nm
71device driver appeared in
72.Nx 2.0
73and then in
74.Fx 8.0 .
75.Sh AUTHORS
76.An -nosplit
77The
78.Nm
79driver was written by
80.An Tsubai Masanari Aq Mt tsubai@netbsd.org ,
81and ported to
82.Fx
83by
84.An Marco Trillo Aq Mt marcotrillo@gmail.com .
85.Sh BUGS
86Recording and operation with non-44.1 Khz audio are not currently supported.
87