blob: 194d625c1f83b31cf231783474c9e4f77769458b [file] [log] [blame]
Takashi Iwai11b444d2008-11-21 09:32:40 +01001menuconfig SND_HDA_INTEL
2 tristate "Intel HD Audio"
3 select SND_PCM
4 select SND_VMASTER
Takashi Iwai35be5442011-11-02 08:36:06 +01005 select SND_KCTL_JACK
Takashi Iwai11b444d2008-11-21 09:32:40 +01006 help
7 Say Y here to include support for Intel "High Definition
8 Audio" (Azalia) and its compatible devices.
9
10 This option enables the HD-audio controller. Don't forget
11 to choose the appropriate codec options below.
12
13 To compile this driver as a module, choose M here: the module
14 will be called snd-hda-intel.
15
16if SND_HDA_INTEL
17
Takashi Iwaiacfa6342011-07-12 17:27:46 +020018config SND_HDA_PREALLOC_SIZE
19 int "Pre-allocated buffer size for HD-audio driver"
20 range 0 32768
21 default 64
22 help
Paul Menzelcf01b732011-07-12 19:53:56 +020023 Specifies the default pre-allocated buffer-size in kB for the
Takashi Iwaiacfa6342011-07-12 17:27:46 +020024 HD-audio driver. A larger buffer (e.g. 2048) is preferred
Paul Menzelcf01b732011-07-12 19:53:56 +020025 for systems using PulseAudio. The default 64 is chosen just
26 for compatibility reasons.
Takashi Iwaiacfa6342011-07-12 17:27:46 +020027
28 Note that the pre-allocation size can be changed dynamically
29 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
30
Takashi Iwai11b444d2008-11-21 09:32:40 +010031config SND_HDA_HWDEP
32 bool "Build hwdep interface for HD-audio driver"
33 select SND_HWDEP
34 help
35 Say Y here to build a hwdep interface for HD-audio driver.
36 This interface can be used for out-of-band communication
37 with codecs for debugging purposes.
38
39config SND_HDA_RECONFIG
40 bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
41 depends on SND_HDA_HWDEP && EXPERIMENTAL
42 help
43 Say Y here to enable the HD-audio codec re-configuration feature.
44 This adds the sysfs interfaces to allow user to clear the whole
45 codec configuration, change the codec setup, add extra verbs,
46 and re-configure the codec dynamically.
47
48config SND_HDA_INPUT_BEEP
49 bool "Support digital beep via input layer"
50 depends on INPUT=y || INPUT=SND_HDA_INTEL
51 help
52 Say Y here to build a digital beep interface for HD-audio
53 driver. This interface is used to generate digital beeps.
54
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010055config SND_HDA_INPUT_BEEP_MODE
Takashi Iwai0920c9b2012-07-03 16:58:48 +020056 int "Digital beep registration mode (0=off, 1=on)"
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010057 depends on SND_HDA_INPUT_BEEP=y
58 default "1"
Takashi Iwai0920c9b2012-07-03 16:58:48 +020059 range 0 1
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010060 help
61 Set 0 to disable the digital beep interface for HD-audio by default.
62 Set 1 to always enable the digital beep interface for HD-audio by
Takashi Iwai0920c9b2012-07-03 16:58:48 +020063 default.
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010064
Takashi Iwai8c8145b2009-06-22 17:00:38 +020065config SND_HDA_INPUT_JACK
66 bool "Support jack plugging notification via input layer"
Takashi Iwaifc087222009-11-21 19:57:11 +010067 depends on INPUT=y || INPUT=SND
Takashi Iwai8c8145b2009-06-22 17:00:38 +020068 select SND_JACK
69 help
70 Say Y here to enable the jack plugging notification via
71 input layer.
72
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020073config SND_HDA_PATCH_LOADER
74 bool "Support initialization patch loading for HD-audio"
75 depends on EXPERIMENTAL
76 select FW_LOADER
77 select SND_HDA_HWDEP
78 select SND_HDA_RECONFIG
79 help
80 Say Y here to allow the HD-audio driver to load a pseudo
81 firmware file ("patch") for overriding the BIOS setup at
82 start up. The "patch" file can be specified via patch module
83 option, such as patch=hda-init.
84
85 This option turns on hwdep and reconfig features automatically.
86
Takashi Iwai11b444d2008-11-21 09:32:40 +010087config SND_HDA_CODEC_REALTEK
88 bool "Build Realtek HD-audio codec support"
89 default y
90 help
91 Say Y here to include Realtek HD-audio codec support in
92 snd-hda-intel driver, such as ALC880.
93
Takashi Iwai1289e9e2008-11-27 15:47:11 +010094 When the HD-audio driver is built as a module, the codec
95 support code is also built as another module,
96 snd-hda-codec-realtek.
97 This module is automatically loaded at probing.
98
Takashi Iwai11b444d2008-11-21 09:32:40 +010099config SND_HDA_CODEC_ANALOG
100 bool "Build Analog Device HD-audio codec support"
101 default y
102 help
103 Say Y here to include Analog Device HD-audio codec support in
104 snd-hda-intel driver, such as AD1986A.
105
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100106 When the HD-audio driver is built as a module, the codec
107 support code is also built as another module,
108 snd-hda-codec-analog.
109 This module is automatically loaded at probing.
110
Takashi Iwai11b444d2008-11-21 09:32:40 +0100111config SND_HDA_CODEC_SIGMATEL
112 bool "Build IDT/Sigmatel HD-audio codec support"
113 default y
114 help
115 Say Y here to include IDT (Sigmatel) HD-audio codec support in
116 snd-hda-intel driver, such as STAC9200.
117
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100118 When the HD-audio driver is built as a module, the codec
119 support code is also built as another module,
120 snd-hda-codec-idt.
121 This module is automatically loaded at probing.
122
Takashi Iwai11b444d2008-11-21 09:32:40 +0100123config SND_HDA_CODEC_VIA
124 bool "Build VIA HD-audio codec support"
125 default y
126 help
127 Say Y here to include VIA HD-audio codec support in
128 snd-hda-intel driver, such as VT1708.
129
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100130 When the HD-audio driver is built as a module, the codec
131 support code is also built as another module,
132 snd-hda-codec-via.
133 This module is automatically loaded at probing.
134
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200135config SND_HDA_CODEC_HDMI
136 bool "Build HDMI/DisplayPort HD-audio codec support"
Wu Fengguange9abf852010-05-14 16:36:12 +0800137 select SND_DYNAMIC_MINORS
Takashi Iwai11b444d2008-11-21 09:32:40 +0100138 default y
139 help
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200140 Say Y here to include HDMI and DisplayPort HD-audio codec
141 support in snd-hda-intel driver. This includes all AMD/ATI,
142 Intel and Nvidia HDMI/DisplayPort codecs.
Takashi Iwai11b444d2008-11-21 09:32:40 +0100143
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100144 When the HD-audio driver is built as a module, the codec
145 support code is also built as another module,
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200146 snd-hda-codec-hdmi.
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100147 This module is automatically loaded at probing.
148
Takashi Iwaie5f14242009-07-01 18:11:44 +0200149config SND_HDA_CODEC_CIRRUS
150 bool "Build Cirrus Logic codec support"
151 depends on SND_HDA_INTEL
152 default y
153 help
154 Say Y here to include Cirrus Logic codec support in
155 snd-hda-intel driver, such as CS4206.
156
157 When the HD-audio driver is built as a module, the codec
158 support code is also built as another module,
159 snd-hda-codec-cirrus.
160 This module is automatically loaded at probing.
161
Takashi Iwai11b444d2008-11-21 09:32:40 +0100162config SND_HDA_CODEC_CONEXANT
163 bool "Build Conexant HD-audio codec support"
164 default y
165 help
166 Say Y here to include Conexant HD-audio codec support in
167 snd-hda-intel driver, such as CX20549.
168
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100169 When the HD-audio driver is built as a module, the codec
170 support code is also built as another module,
171 snd-hda-codec-conexant.
172 This module is automatically loaded at probing.
173
Takashi Iwai4e01f542009-04-16 08:53:34 +0200174config SND_HDA_CODEC_CA0110
175 bool "Build Creative CA0110-IBG codec support"
176 depends on SND_HDA_INTEL
177 default y
178 help
179 Say Y here to include Creative CA0110-IBG codec support in
180 snd-hda-intel driver, found on some Creative X-Fi cards.
181
182 When the HD-audio driver is built as a module, the codec
183 support code is also built as another module,
184 snd-hda-codec-ca0110.
185 This module is automatically loaded at probing.
186
Ian Minett95c6e9c2011-06-15 15:35:17 -0700187config SND_HDA_CODEC_CA0132
188 bool "Build Creative CA0132 codec support"
189 depends on SND_HDA_INTEL
190 default y
191 help
192 Say Y here to include Creative CA0132 codec support in
193 snd-hda-intel driver.
194
195 When the HD-audio driver is built as a module, the codec
196 support code is also built as another module,
197 snd-hda-codec-ca0132.
198 This module is automatically loaded at probing.
199
Takashi Iwai11b444d2008-11-21 09:32:40 +0100200config SND_HDA_CODEC_CMEDIA
201 bool "Build C-Media HD-audio codec support"
202 default y
203 help
204 Say Y here to include C-Media HD-audio codec support in
205 snd-hda-intel driver, such as CMI9880.
206
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100207 When the HD-audio driver is built as a module, the codec
208 support code is also built as another module,
209 snd-hda-codec-cmedia.
210 This module is automatically loaded at probing.
211
Takashi Iwai11b444d2008-11-21 09:32:40 +0100212config SND_HDA_CODEC_SI3054
213 bool "Build Silicon Labs 3054 HD-modem codec support"
214 default y
215 help
216 Say Y here to include Silicon Labs 3054 HD-modem codec
217 (and compatibles) support in snd-hda-intel driver.
218
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100219 When the HD-audio driver is built as a module, the codec
220 support code is also built as another module,
221 snd-hda-codec-si3054.
222 This module is automatically loaded at probing.
223
Takashi Iwai11b444d2008-11-21 09:32:40 +0100224config SND_HDA_GENERIC
225 bool "Enable generic HD-audio codec parser"
226 default y
227 help
228 Say Y here to enable the generic HD-audio codec parser
229 in snd-hda-intel driver.
230
231config SND_HDA_POWER_SAVE
232 bool "Aggressive power-saving on HD-audio"
Takashi Iwai2a439522011-07-26 09:52:50 +0200233 depends on PM
Takashi Iwai11b444d2008-11-21 09:32:40 +0100234 help
235 Say Y here to enable more aggressive power-saving mode on
236 HD-audio driver. The power-saving timeout can be configured
237 via power_save option or over sysfs on-the-fly.
238
239config SND_HDA_POWER_SAVE_DEFAULT
240 int "Default time-out for HD-audio power-save mode"
241 depends on SND_HDA_POWER_SAVE
242 default 0
243 help
244 The default time-out value in seconds for HD-audio automatic
245 power-save mode. 0 means to disable the power-save mode.
246
247endif