blob: 7141f73cddd326b42d78c01d3e7283709a19f661 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002config SND_MPU401_UART
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +02003 tristate
4 select SND_RAWMIDI
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6config SND_OPL3_LIB
7 tristate
8 select SND_TIMER
9 select SND_HWDEP
Takashi Iwai111b0cd2017-06-09 15:11:58 +020010 select SND_SEQ_DEVICE if SND_SEQUENCER != n
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12config SND_OPL4_LIB
13 tristate
14 select SND_TIMER
15 select SND_HWDEP
Takashi Iwai111b0cd2017-06-09 15:11:58 +020016 select SND_SEQ_DEVICE if SND_SEQUENCER != n
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Takashi Iwai01813072017-06-09 14:40:18 +020018# select SEQ stuff to min(SND_SEQUENCER,SND_XXX)
19config SND_OPL3_LIB_SEQ
20 def_tristate SND_SEQUENCER && SND_OPL3_LIB
21 select SND_SEQ_MIDI_EMUL
22 select SND_SEQ_MIDI_EVENT
23
24config SND_OPL4_LIB_SEQ
25 def_tristate SND_SEQUENCER && SND_OPL4_LIB
26 select SND_SEQ_MIDI_EMUL
27 select SND_SEQ_MIDI_EVENT
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029config SND_VX_LIB
30 tristate
Takashi Iwai0d144de2012-11-22 16:14:55 +010031 select FW_LOADER
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 select SND_HWDEP
33 select SND_PCM
34
Randy Dunlap90564122005-11-29 14:48:41 +010035config SND_AC97_CODEC
36 tristate
37 select SND_PCM
Nicolas Pitree1036502006-12-12 13:32:29 -050038 select AC97_BUS
Daniel Jacobowitz87af38d2008-05-07 12:05:10 +020039 select SND_VMASTER
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
Takashi Iwai89fe5112008-05-23 16:10:37 +020041menuconfig SND_DRIVERS
42 bool "Generic sound devices"
43 default y
44 help
45 Support for generic sound devices.
46
47if SND_DRIVERS
48
49config SND_PCSP
50 tristate "PC-Speaker support (READ HELP!)"
Yinghai Lu4272ebf2009-01-29 15:14:46 -080051 depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS
Takashi Iwai89fe5112008-05-23 16:10:37 +020052 depends on INPUT
Takashi Iwai89fe5112008-05-23 16:10:37 +020053 select SND_PCM
54 help
55 If you don't have a sound card in your computer, you can include a
56 driver for the PC speaker which allows it to act like a primitive
57 sound card.
58 This driver also replaces the pcspkr driver for beeps.
59
60 You can compile this as a module which will be called snd-pcsp.
61
62 WARNING: if you already have a soundcard, enabling this
63 driver may lead to a problem. Namely, it may get loaded
64 before the other sound driver of yours, making the
65 pc-speaker a default sound device. Which is likely not
66 what you want. To make this driver play nicely with other
Lucas De Marchi970e2482012-03-30 13:37:16 -070067 sound driver, you can add this in a configuration file under
68 /etc/modprobe.d/ directory:
Takashi Iwai89fe5112008-05-23 16:10:37 +020069 options snd-pcsp index=2
70
71 You don't need this driver if you only want your pc-speaker to beep.
72 You don't need this driver if you have a tablet piezo beeper
73 in your PC instead of the real speaker.
74
75 Say N if you have a sound card.
76 Say M if you don't.
77 Say Y only if you really know what you do.
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079config SND_DUMMY
80 tristate "Dummy (/dev/null) soundcard"
Linus Torvalds1da177e2005-04-16 15:20:36 -070081 select SND_PCM
82 help
83 Say Y here to include the dummy driver. This driver does
84 nothing, but emulates various mixer controls and PCM devices.
85
86 You don't need this unless you're testing the hardware support
87 of programs using the ALSA API.
88
89 To compile this driver as a module, choose M here: the module
90 will be called snd-dummy.
91
Jaroslav Kysela597603d2010-08-09 14:21:11 +020092config SND_ALOOP
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020093 tristate "Generic loopback driver (PCM)"
94 select SND_PCM
Takashi Iwaic6b6fc22019-11-24 09:39:24 +010095 select SND_TIMER
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020096 help
97 Say 'Y' or 'M' to include support for the PCM loopback device.
Jaroslav Kysela597603d2010-08-09 14:21:11 +020098 This module returns played samples back to the user space using
99 the standard ALSA PCM device. The devices are routed 0->1 and
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200100 1->0, where first number is the playback PCM device and second
Jaroslav Kysela597603d2010-08-09 14:21:11 +0200101 number is the capture device. Module creates two PCM devices and
102 configured number of substreams (see the pcm_substreams module
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200103 parameter).
Jaroslav Kysela597603d2010-08-09 14:21:11 +0200104
Pavel Machek13627542013-04-23 11:45:27 +0200105 The loopback device allows time sychronization with an external
Jaroslav Kysela597603d2010-08-09 14:21:11 +0200106 timing source using the time shift universal control (+-20%
107 of system time).
108
109 To compile this driver as a module, choose M here: the module
110 will be called snd-aloop.
111
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112config SND_VIRMIDI
113 tristate "Virtual MIDI soundcard"
114 depends on SND_SEQUENCER
115 select SND_TIMER
116 select SND_RAWMIDI
Takashi Iwai01813072017-06-09 14:40:18 +0200117 select SND_SEQ_VIRMIDI
118 select SND_SEQ_MIDI_EVENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119 help
120 Say Y here to include the virtual MIDI driver. This driver
121 allows to connect applications using raw MIDI devices to
122 sequencer clients.
123
124 If you don't know what MIDI is, say N here.
125
126 To compile this driver as a module, choose M here: the module
127 will be called snd-virmidi.
128
129config SND_MTPAV
130 tristate "MOTU MidiTimePiece AV multiport MIDI"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 select SND_RAWMIDI
132 help
133 To use a MOTU MidiTimePiece AV multiport MIDI adapter
134 connected to the parallel port, say Y here and make sure that
135 the standard parallel port driver isn't used for the port.
136
137 To compile this driver as a module, choose M here: the module
138 will be called snd-mtpav.
139
Matthias Koenig68ab8012006-07-27 16:59:23 +0200140config SND_MTS64
141 tristate "ESI Miditerminal 4140 driver"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200142 depends on PARPORT
Matthias Koenig68ab8012006-07-27 16:59:23 +0200143 select SND_RAWMIDI
144 help
145 The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200146 additional SMPTE Timecode capabilities for the parallel port.
Matthias Koenig68ab8012006-07-27 16:59:23 +0200147
148 Say 'Y' to include support for this device.
149
150 To compile this driver as a module, chose 'M' here: the module
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200151 will be called snd-mts64.
Matthias Koenig68ab8012006-07-27 16:59:23 +0200152
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153config SND_SERIAL_U16550
154 tristate "UART16550 serial MIDI driver"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 select SND_RAWMIDI
156 help
157 To include support for MIDI serial port interfaces, say Y here
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -0300158 and read <file:Documentation/sound/cards/serial-u16550.rst>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 This driver works with serial UARTs 16550 and better.
160
161 This driver accesses the serial port hardware directly, so
162 make sure that the standard serial driver isn't used or
163 deactivated with setserial before loading this driver.
164
165 To compile this driver as a module, choose M here: the module
166 will be called snd-serial-u16550.
167
168config SND_MPU401
169 tristate "Generic MPU-401 UART driver"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170 select SND_MPU401_UART
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 help
172 Say Y here to include support for MIDI ports compatible with
173 the Roland MPU-401 interface in UART mode.
174
175 To compile this driver as a module, choose M here: the module
176 will be called snd-mpu401.
177
Matthias Koenig757e1192007-01-25 13:15:05 +0100178config SND_PORTMAN2X4
179 tristate "Portman 2x4 driver"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200180 depends on PARPORT
Matthias Koenig757e1192007-01-25 13:15:05 +0100181 select SND_RAWMIDI
182 help
183 Say Y here to include support for Midiman Portman 2x4 parallel
184 port MIDI device.
185
186 To compile this driver as a module, choose M here: the module
187 will be called snd-portman2x4.
188
Takashi Iwai6938d6b2008-05-23 16:11:26 +0200189config SND_AC97_POWER_SAVE
190 bool "AC97 Power-Saving Mode"
Takashi Iwai02834f12008-11-28 15:29:01 +0100191 depends on SND_AC97_CODEC
Takashi Iwai6938d6b2008-05-23 16:11:26 +0200192 default n
193 help
194 Say Y here to enable the aggressive power-saving support of
195 AC97 codecs. In this mode, the power-mode is dynamically
196 controlled at each open/close.
197
Michael Witten1d8c1102010-07-14 23:54:21 +0000198 The mode is activated by passing 'power_save=X' to the
199 snd-ac97-codec driver module, where 'X' is the time-out
200 value, a nonnegative integer that specifies how many
201 seconds of idle time the driver must count before it may
202 put the AC97 into power-save mode; a value of 0 (zero)
203 disables the use of this power-save mode.
204
205 After the snd-ac97-codec driver module has been loaded,
206 the 'power_save' parameter can be set via sysfs as follows:
207
208 echo 10 > /sys/module/snd_ac97_codec/parameters/power_save
209
210 In this case, the time-out is set to 10 seconds; setting
211 the time-out to 1 second (the minimum activation value)
212 isn't recommended because many applications try to reopen
213 the device frequently. A value of 10 seconds would be a
214 good choice for normal operations.
215
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -0300216 See Documentation/sound/designs/powersave.rst for more details.
Takashi Iwai6938d6b2008-05-23 16:11:26 +0200217
218config SND_AC97_POWER_SAVE_DEFAULT
219 int "Default time-out for AC97 power-save mode"
220 depends on SND_AC97_POWER_SAVE
221 default 0
222 help
223 The default time-out value in seconds for AC97 automatic
224 power-save mode. 0 means to disable the power-save mode.
225
Michael Witten1d8c1102010-07-14 23:54:21 +0000226 See SND_AC97_POWER_SAVE for more details.
227
Takashi Iwai89fe5112008-05-23 16:10:37 +0200228endif # SND_DRIVERS