xref: /illumos-gate/usr/src/uts/common/io/audio/drv/audio810/audio810.conf (revision 46b592853d0f4f11781b6b0a7533f267c6aee132)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# Configuration file for the audio810 audio driver.
26#
27#	WARNING: This is an UNSTABLE configuration file. Its contents
28#		may change at any time.
29
30#
31# play-interrupts sets the number of interrupts per second when playing.
32# This affects the resolution of various things, such as sample counts.
33# record-interrupts does the same for record interrupts.
34#
35# These may be tuned to get more accurate information by increasing the
36# count. However, the larger the interrupts per second the larger the
37# load on the system. So use this capability cautiously. The audio810
38# driver enforces a maximum and minimum count.
39#
40# It should also be understood that not all interrupt rates are legal.
41# The hardware is restricted to DMA buffers being allocated on certain
42# boundaries. If those boundaries are violated the driver will not be
43# loaded and an error message is entered into the messages log
44#
45# play-interrupts=250;
46# record-interrupts=250;
47
48#
49# The presence of the ac97-speaker property enables the use of a monoaural
50# output, normally intended for use with a speaker phone.  Most systems
51# do not connect this to anything.  The value of the property indicates
52# whether the speaker will be enabled by default or not.
53#
54# ac97-speaker=0;
55
56#
57# Uncomment ac97-micboost below to enable the use of a 20dB microphone boost.
58#
59# ac97-micboost=1;
60
61#
62# Uncomment properties below to suppress the AC'97 outputs that are
63# supported by the codec, but not connected to anything.  Note
64# that the headphone feature in particular is commonly implemented as
65# an alternate output for the line out, and uses that with jack detection
66# instead of the codec's headphone feature.
67#
68# We don't allow diabling the lineout -- that's such a fundamental
69# part of ac97 that we doubt any vendor isn't using it.
70#
71# ac97-no-headphone=1;
72# ac97-no-auxout=1;
73
74#
75# Uncomment properties below to suppress the AC'97 inputs that are
76# supported by the codec, but not connected to anything.  Note that
77# CDROM input support is mandatory in AC'97, so all codecs implement
78# it, even though many systems may not even have a CDROM installed.
79#
80# Generally, you can count on a linein and mic jack being present,
81# although some Toshiba models have been seen that lack a line-level
82# input jack.
83#
84# ac97-no-cdrom=1;
85# ac97-no-auxin=1;
86# ac97-no-video=1;
87# ac97-no-phone=1;
88# ac97-no-linein=1;
89# ac97-no-mic=1;
90
91#
92# Uncomment ac97-amplifier below to power down the external
93# amplifier. Most hardware doesn't need this property. But some
94# devices, such as some Sony Vaio laptops, need to set this property to
95# 0 to correct the inverted polarity of the external amplifier device.
96#
97# ac97-amplifier=0;
98