xref: /freebsd/share/man/man4/man4.powerpc/snd_ai2s.4 (revision 9a14aa017b21c292740c00ee098195cd46642730)
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.\" $FreeBSD$
27.\"
28.Dd January 20, 2009
29.Dt SND_AI2S 4
30.Os
31.Sh NAME
32.Nm snd_ai2s
33.Nd "Apple I2S audio device driver"
34.Sh SYNOPSIS
35To compile this driver into the kernel,
36place the following lines in your
37kernel configuration file:
38.Bd -ragged -offset indent
39.Cd "device sound"
40.Cd "device snd_ai2s"
41.Ed
42.Pp
43Alternatively, to load the driver as a
44module at boot time, place the following line in
45.Xr loader.conf 5 :
46.Bd -literal -offset indent
47snd_ai2s_load="YES"
48.Ed
49.Sh DESCRIPTION
50The
51.Nm
52driver provides support for the Apple I2S audio controllers found
53predominantly in G4 and G5 machines, along with the snapper and tumbler
54codecs. Some machines (e.g. the Mac Mini) do not have configurable
55codecs and so lack hardware volume control.
56.Sh HARDWARE
57.Pp
58Chips supported by the
59.Nm
60driver include:
61.Pp
62.Bl -bullet -compact
63.It
64Apple Tumbler Audio
65.It
66Apple Snapper Audio
67.El
68.Pp
69.Sh SEE ALSO
70.Xr sound 4 ,
71.Xr snd_davbus 4
72.Sh HISTORY
73The
74.Nm
75device driver appeared in
76.Nx 2.0
77and then in
78.Fx 8.0 .
79.Sh AUTHORS
80.An -nosplit
81The
82.Nm
83driver was written by
84.An Tsubai Masanari
85.Aq tsubai@netbsd.org ,
86and ported to FreeBSD by
87.An Marco Trillo
88.Aq marcotrillo@gmail.com .
89.Sh BUGS
90Recording and operation with non-44.1 Khz audio are not currently supported.
91