xref: /openbmc/linux/sound/drivers/Kconfig (revision d7a3d85e)
1config SND_MPU401_UART
2        tristate
3        select SND_RAWMIDI
4
5config SND_OPL3_LIB
6	tristate
7	select SND_TIMER
8	select SND_HWDEP
9
10config SND_OPL4_LIB
11	tristate
12	select SND_TIMER
13	select SND_HWDEP
14
15config SND_VX_LIB
16	tristate
17	select FW_LOADER
18	select SND_HWDEP
19	select SND_PCM
20
21config SND_AC97_CODEC
22	tristate
23	select SND_PCM
24	select AC97_BUS
25	select SND_VMASTER
26
27menuconfig SND_DRIVERS
28	bool "Generic sound devices"
29	default y
30	help
31	  Support for generic sound devices.
32
33if SND_DRIVERS
34
35config SND_PCSP
36	tristate "PC-Speaker support (READ HELP!)"
37	depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS
38	depends on INPUT
39	select SND_PCM
40	help
41	  If you don't have a sound card in your computer, you can include a
42	  driver for the PC speaker which allows it to act like a primitive
43	  sound card.
44	  This driver also replaces the pcspkr driver for beeps.
45
46	  You can compile this as a module which will be called snd-pcsp.
47
48	  WARNING: if you already have a soundcard, enabling this
49	  driver may lead to a problem. Namely, it may get loaded
50	  before the other sound driver of yours, making the
51	  pc-speaker a default sound device. Which is likely not
52	  what you want. To make this driver play nicely with other
53	  sound driver, you can add this in a configuration file under
54	  /etc/modprobe.d/ directory:
55	  options snd-pcsp index=2
56
57	  You don't need this driver if you only want your pc-speaker to beep.
58	  You don't need this driver if you have a tablet piezo beeper
59	  in your PC instead of the real speaker.
60
61	  Say N if you have a sound card.
62	  Say M if you don't.
63	  Say Y only if you really know what you do.
64
65config SND_DUMMY
66	tristate "Dummy (/dev/null) soundcard"
67	select SND_PCM
68	help
69	  Say Y here to include the dummy driver.  This driver does
70	  nothing, but emulates various mixer controls and PCM devices.
71
72	  You don't need this unless you're testing the hardware support
73	  of programs using the ALSA API.
74
75	  To compile this driver as a module, choose M here: the module
76	  will be called snd-dummy.
77
78config SND_ALOOP
79        tristate "Generic loopback driver (PCM)"
80        select SND_PCM
81        help
82          Say 'Y' or 'M' to include support for the PCM loopback device.
83	  This module returns played samples back to the user space using
84	  the standard ALSA PCM device. The devices are routed 0->1 and
85          1->0, where first number is the playback PCM device and second
86	  number is the capture device. Module creates two PCM devices and
87	  configured number of substreams (see the pcm_substreams module
88          parameter).
89
90	  The loopback device allows time sychronization with an external
91	  timing source using the time shift universal control (+-20%
92	  of system time).
93
94	  To compile this driver as a module, choose M here: the module
95	  will be called snd-aloop.
96
97config SND_VIRMIDI
98	tristate "Virtual MIDI soundcard"
99	depends on SND_SEQUENCER
100	select SND_TIMER
101	select SND_RAWMIDI
102	help
103	  Say Y here to include the virtual MIDI driver.  This driver
104	  allows to connect applications using raw MIDI devices to
105	  sequencer clients.
106
107	  If you don't know what MIDI is, say N here.
108
109	  To compile this driver as a module, choose M here: the module
110	  will be called snd-virmidi.
111
112config SND_MTPAV
113	tristate "MOTU MidiTimePiece AV multiport MIDI"
114	select SND_RAWMIDI
115	help
116	  To use a MOTU MidiTimePiece AV multiport MIDI adapter
117	  connected to the parallel port, say Y here and make sure that
118	  the standard parallel port driver isn't used for the port.
119
120	  To compile this driver as a module, choose M here: the module
121	  will be called snd-mtpav.
122
123config SND_MTS64
124	tristate "ESI Miditerminal 4140 driver"
125	depends on PARPORT
126	select SND_RAWMIDI
127	help
128	  The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with
129          additional SMPTE Timecode capabilities for the parallel port.
130
131	  Say 'Y' to include support for this device.
132
133	  To compile this driver as a module, chose 'M' here: the module
134          will be called snd-mts64.
135
136config SND_SERIAL_U16550
137	tristate "UART16550 serial MIDI driver"
138	select SND_RAWMIDI
139	help
140	  To include support for MIDI serial port interfaces, say Y here
141	  and read <file:Documentation/sound/alsa/serial-u16550.txt>.
142	  This driver works with serial UARTs 16550 and better.
143
144	  This driver accesses the serial port hardware directly, so
145	  make sure that the standard serial driver isn't used or
146	  deactivated with setserial before loading this driver.
147
148	  To compile this driver as a module, choose M here: the module
149	  will be called snd-serial-u16550.
150
151config SND_MPU401
152	tristate "Generic MPU-401 UART driver"
153	select SND_MPU401_UART
154	help
155	  Say Y here to include support for MIDI ports compatible with
156	  the Roland MPU-401 interface in UART mode.
157
158	  To compile this driver as a module, choose M here: the module
159	  will be called snd-mpu401.
160
161config SND_PORTMAN2X4
162	tristate "Portman 2x4 driver"
163	depends on PARPORT
164	select SND_RAWMIDI
165	help
166	  Say Y here to include support for Midiman Portman 2x4 parallel
167	  port MIDI device.
168
169	  To compile this driver as a module, choose M here: the module
170	  will be called snd-portman2x4.
171
172config SND_ML403_AC97CR
173	tristate "Xilinx ML403 AC97 Controller Reference"
174	depends on XILINX_VIRTEX
175	select SND_AC97_CODEC
176	help
177	  Say Y here to include support for the
178	  opb_ac97_controller_ref_v1_00_a ip core found in Xilinx's ML403
179	  reference design.
180
181	  To compile this driver as a module, choose M here: the module
182	  will be called snd-ml403_ac97cr.
183
184config SND_AC97_POWER_SAVE
185	bool "AC97 Power-Saving Mode"
186	depends on SND_AC97_CODEC
187	default n
188	help
189	  Say Y here to enable the aggressive power-saving support of
190	  AC97 codecs.  In this mode, the power-mode is dynamically
191	  controlled at each open/close.
192
193	  The mode is activated by passing 'power_save=X' to the
194	  snd-ac97-codec driver module, where 'X' is the time-out
195	  value, a nonnegative integer that specifies how many
196	  seconds of idle time the driver must count before it may
197	  put the AC97 into power-save mode;  a value of 0 (zero)
198	  disables the use of this power-save mode.
199
200	  After the snd-ac97-codec driver module has been loaded,
201	  the 'power_save' parameter can be set via sysfs as follows:
202
203	    echo 10 > /sys/module/snd_ac97_codec/parameters/power_save
204
205	  In this case, the time-out is set to 10 seconds; setting
206	  the time-out to 1 second (the minimum activation value)
207	  isn't recommended because many applications try to reopen
208	  the device frequently.  A value of 10 seconds would be a
209	  good choice for normal operations.
210
211	  See Documentation/sound/alsa/powersave.txt for more details.
212
213config SND_AC97_POWER_SAVE_DEFAULT
214	int "Default time-out for AC97 power-save mode"
215	depends on SND_AC97_POWER_SAVE
216	default 0
217	help
218	  The default time-out value in seconds for AC97 automatic
219	  power-save mode.  0 means to disable the power-save mode.
220
221	  See SND_AC97_POWER_SAVE for more details.
222
223endif	# SND_DRIVERS
224