xref: /linux/sound/drivers/Kconfig (revision 0d144de9af28f23d28e4cdf28a08e25e9ad3b41c)
11da177e4SLinus Torvaldsconfig SND_MPU401_UART
21da177e4SLinus Torvalds        tristate
31da177e4SLinus Torvalds        select SND_RAWMIDI
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsconfig SND_OPL3_LIB
61da177e4SLinus Torvalds	tristate
71da177e4SLinus Torvalds	select SND_TIMER
81da177e4SLinus Torvalds	select SND_HWDEP
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsconfig SND_OPL4_LIB
111da177e4SLinus Torvalds	tristate
121da177e4SLinus Torvalds	select SND_TIMER
131da177e4SLinus Torvalds	select SND_HWDEP
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsconfig SND_VX_LIB
161da177e4SLinus Torvalds	tristate
17*0d144de9STakashi Iwai	select FW_LOADER
181da177e4SLinus Torvalds	select SND_HWDEP
191da177e4SLinus Torvalds	select SND_PCM
201da177e4SLinus Torvalds
219056412fSRandy Dunlapconfig SND_AC97_CODEC
229056412fSRandy Dunlap	tristate
239056412fSRandy Dunlap	select SND_PCM
24e1036502SNicolas Pitre	select AC97_BUS
2587af38daSDaniel Jacobowitz	select SND_VMASTER
261da177e4SLinus Torvalds
2789fe5117STakashi Iwaimenuconfig SND_DRIVERS
2889fe5117STakashi Iwai	bool "Generic sound devices"
2989fe5117STakashi Iwai	default y
3089fe5117STakashi Iwai	help
3189fe5117STakashi Iwai	  Support for generic sound devices.
3289fe5117STakashi Iwai
3389fe5117STakashi Iwaiif SND_DRIVERS
3489fe5117STakashi Iwai
3589fe5117STakashi Iwaiconfig SND_PCSP
3689fe5117STakashi Iwai	tristate "PC-Speaker support (READ HELP!)"
374272ebfbSYinghai Lu	depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS
3889fe5117STakashi Iwai	depends on INPUT
3989fe5117STakashi Iwai	select SND_PCM
4089fe5117STakashi Iwai	help
4189fe5117STakashi Iwai	  If you don't have a sound card in your computer, you can include a
4289fe5117STakashi Iwai	  driver for the PC speaker which allows it to act like a primitive
4389fe5117STakashi Iwai	  sound card.
4489fe5117STakashi Iwai	  This driver also replaces the pcspkr driver for beeps.
4589fe5117STakashi Iwai
4689fe5117STakashi Iwai	  You can compile this as a module which will be called snd-pcsp.
4789fe5117STakashi Iwai
4889fe5117STakashi Iwai	  WARNING: if you already have a soundcard, enabling this
4989fe5117STakashi Iwai	  driver may lead to a problem. Namely, it may get loaded
5089fe5117STakashi Iwai	  before the other sound driver of yours, making the
5189fe5117STakashi Iwai	  pc-speaker a default sound device. Which is likely not
5289fe5117STakashi Iwai	  what you want. To make this driver play nicely with other
53970e2486SLucas De Marchi	  sound driver, you can add this in a configuration file under
54970e2486SLucas De Marchi	  /etc/modprobe.d/ directory:
5589fe5117STakashi Iwai	  options snd-pcsp index=2
5689fe5117STakashi Iwai
5789fe5117STakashi Iwai	  You don't need this driver if you only want your pc-speaker to beep.
5889fe5117STakashi Iwai	  You don't need this driver if you have a tablet piezo beeper
5989fe5117STakashi Iwai	  in your PC instead of the real speaker.
6089fe5117STakashi Iwai
6189fe5117STakashi Iwai	  Say N if you have a sound card.
6289fe5117STakashi Iwai	  Say M if you don't.
6389fe5117STakashi Iwai	  Say Y only if you really know what you do.
6489fe5117STakashi Iwai
651da177e4SLinus Torvaldsconfig SND_DUMMY
661da177e4SLinus Torvalds	tristate "Dummy (/dev/null) soundcard"
671da177e4SLinus Torvalds	select SND_PCM
681da177e4SLinus Torvalds	help
691da177e4SLinus Torvalds	  Say Y here to include the dummy driver.  This driver does
701da177e4SLinus Torvalds	  nothing, but emulates various mixer controls and PCM devices.
711da177e4SLinus Torvalds
721da177e4SLinus Torvalds	  You don't need this unless you're testing the hardware support
731da177e4SLinus Torvalds	  of programs using the ALSA API.
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
761da177e4SLinus Torvalds	  will be called snd-dummy.
771da177e4SLinus Torvalds
78597603d6SJaroslav Kyselaconfig SND_ALOOP
79597603d6SJaroslav Kysela        tristate "Generic loopback driver (PCM)"
80597603d6SJaroslav Kysela        select SND_PCM
81597603d6SJaroslav Kysela        help
82597603d6SJaroslav Kysela          Say 'Y' or 'M' to include support for the PCM loopback device.
83597603d6SJaroslav Kysela	  This module returns played samples back to the user space using
84597603d6SJaroslav Kysela	  the standard ALSA PCM device. The devices are routed 0->1 and
85597603d6SJaroslav Kysela          1->0, where first number is the playback PCM device and second
86597603d6SJaroslav Kysela	  number is the capture device. Module creates two PCM devices and
87597603d6SJaroslav Kysela	  configured number of substreams (see the pcm_substreams module
88597603d6SJaroslav Kysela          parameter).
89597603d6SJaroslav Kysela
90597603d6SJaroslav Kysela	  The looback device allow time sychronization with an external
91597603d6SJaroslav Kysela	  timing source using the time shift universal control (+-20%
92597603d6SJaroslav Kysela	  of system time).
93597603d6SJaroslav Kysela
94597603d6SJaroslav Kysela	  To compile this driver as a module, choose M here: the module
95597603d6SJaroslav Kysela	  will be called snd-aloop.
96597603d6SJaroslav Kysela
971da177e4SLinus Torvaldsconfig SND_VIRMIDI
981da177e4SLinus Torvalds	tristate "Virtual MIDI soundcard"
991da177e4SLinus Torvalds	depends on SND_SEQUENCER
1001da177e4SLinus Torvalds	select SND_TIMER
1011da177e4SLinus Torvalds	select SND_RAWMIDI
1021da177e4SLinus Torvalds	help
1031da177e4SLinus Torvalds	  Say Y here to include the virtual MIDI driver.  This driver
1041da177e4SLinus Torvalds	  allows to connect applications using raw MIDI devices to
1051da177e4SLinus Torvalds	  sequencer clients.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  If you don't know what MIDI is, say N here.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1101da177e4SLinus Torvalds	  will be called snd-virmidi.
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig SND_MTPAV
1131da177e4SLinus Torvalds	tristate "MOTU MidiTimePiece AV multiport MIDI"
1141da177e4SLinus Torvalds	select SND_RAWMIDI
1151da177e4SLinus Torvalds	help
1161da177e4SLinus Torvalds	  To use a MOTU MidiTimePiece AV multiport MIDI adapter
1171da177e4SLinus Torvalds	  connected to the parallel port, say Y here and make sure that
1181da177e4SLinus Torvalds	  the standard parallel port driver isn't used for the port.
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1211da177e4SLinus Torvalds	  will be called snd-mtpav.
1221da177e4SLinus Torvalds
12368ab801eSMatthias Koenigconfig SND_MTS64
12468ab801eSMatthias Koenig	tristate "ESI Miditerminal 4140 driver"
12589fe5117STakashi Iwai	depends on PARPORT
12668ab801eSMatthias Koenig	select SND_RAWMIDI
12768ab801eSMatthias Koenig	help
12868ab801eSMatthias Koenig	  The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with
12968ab801eSMatthias Koenig          additional SMPTE Timecode capabilities for the parallel port.
13068ab801eSMatthias Koenig
13168ab801eSMatthias Koenig	  Say 'Y' to include support for this device.
13268ab801eSMatthias Koenig
13368ab801eSMatthias Koenig	  To compile this driver as a module, chose 'M' here: the module
13468ab801eSMatthias Koenig          will be called snd-mts64.
13568ab801eSMatthias Koenig
1361da177e4SLinus Torvaldsconfig SND_SERIAL_U16550
1371da177e4SLinus Torvalds	tristate "UART16550 serial MIDI driver"
1381da177e4SLinus Torvalds	select SND_RAWMIDI
1391da177e4SLinus Torvalds	help
1401da177e4SLinus Torvalds	  To include support for MIDI serial port interfaces, say Y here
1411da177e4SLinus Torvalds	  and read <file:Documentation/sound/alsa/serial-u16550.txt>.
1421da177e4SLinus Torvalds	  This driver works with serial UARTs 16550 and better.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvalds	  This driver accesses the serial port hardware directly, so
1451da177e4SLinus Torvalds	  make sure that the standard serial driver isn't used or
1461da177e4SLinus Torvalds	  deactivated with setserial before loading this driver.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1491da177e4SLinus Torvalds	  will be called snd-serial-u16550.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsconfig SND_MPU401
1521da177e4SLinus Torvalds	tristate "Generic MPU-401 UART driver"
1531da177e4SLinus Torvalds	select SND_MPU401_UART
1541da177e4SLinus Torvalds	help
1551da177e4SLinus Torvalds	  Say Y here to include support for MIDI ports compatible with
1561da177e4SLinus Torvalds	  the Roland MPU-401 interface in UART mode.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1591da177e4SLinus Torvalds	  will be called snd-mpu401.
1601da177e4SLinus Torvalds
161757e119bSMatthias Koenigconfig SND_PORTMAN2X4
162757e119bSMatthias Koenig	tristate "Portman 2x4 driver"
16389fe5117STakashi Iwai	depends on PARPORT
164757e119bSMatthias Koenig	select SND_RAWMIDI
165757e119bSMatthias Koenig	help
166757e119bSMatthias Koenig	  Say Y here to include support for Midiman Portman 2x4 parallel
167757e119bSMatthias Koenig	  port MIDI device.
168757e119bSMatthias Koenig
169757e119bSMatthias Koenig	  To compile this driver as a module, choose M here: the module
170757e119bSMatthias Koenig	  will be called snd-portman2x4.
171757e119bSMatthias Koenig
172a9f00d8dSJoachim Foersterconfig SND_ML403_AC97CR
173a9f00d8dSJoachim Foerster	tristate "Xilinx ML403 AC97 Controller Reference"
17489fe5117STakashi Iwai	depends on XILINX_VIRTEX
175a9f00d8dSJoachim Foerster	select SND_AC97_CODEC
176a9f00d8dSJoachim Foerster	help
177a9f00d8dSJoachim Foerster	  Say Y here to include support for the
1787a53cd16SMichael Witten	  opb_ac97_controller_ref_v1_00_a ip core found in Xilinx's ML403
179a9f00d8dSJoachim Foerster	  reference design.
180a9f00d8dSJoachim Foerster
181a9f00d8dSJoachim Foerster	  To compile this driver as a module, choose M here: the module
182a9f00d8dSJoachim Foerster	  will be called snd-ml403_ac97cr.
183a9f00d8dSJoachim Foerster
1846938d6b2STakashi Iwaiconfig SND_AC97_POWER_SAVE
1856938d6b2STakashi Iwai	bool "AC97 Power-Saving Mode"
18602834f11STakashi Iwai	depends on SND_AC97_CODEC
1876938d6b2STakashi Iwai	default n
1886938d6b2STakashi Iwai	help
1896938d6b2STakashi Iwai	  Say Y here to enable the aggressive power-saving support of
1906938d6b2STakashi Iwai	  AC97 codecs.  In this mode, the power-mode is dynamically
1916938d6b2STakashi Iwai	  controlled at each open/close.
1926938d6b2STakashi Iwai
1931d8c1100SMichael Witten	  The mode is activated by passing 'power_save=X' to the
1941d8c1100SMichael Witten	  snd-ac97-codec driver module, where 'X' is the time-out
1951d8c1100SMichael Witten	  value, a nonnegative integer that specifies how many
1961d8c1100SMichael Witten	  seconds of idle time the driver must count before it may
1971d8c1100SMichael Witten	  put the AC97 into power-save mode;  a value of 0 (zero)
1981d8c1100SMichael Witten	  disables the use of this power-save mode.
1991d8c1100SMichael Witten
2001d8c1100SMichael Witten	  After the snd-ac97-codec driver module has been loaded,
2011d8c1100SMichael Witten	  the 'power_save' parameter can be set via sysfs as follows:
2021d8c1100SMichael Witten
2031d8c1100SMichael Witten	    echo 10 > /sys/module/snd_ac97_codec/parameters/power_save
2041d8c1100SMichael Witten
2051d8c1100SMichael Witten	  In this case, the time-out is set to 10 seconds; setting
2061d8c1100SMichael Witten	  the time-out to 1 second (the minimum activation value)
2071d8c1100SMichael Witten	  isn't recommended because many applications try to reopen
2081d8c1100SMichael Witten	  the device frequently.  A value of 10 seconds would be a
2091d8c1100SMichael Witten	  good choice for normal operations.
2101d8c1100SMichael Witten
2111d8c1100SMichael Witten	  See Documentation/sound/alsa/powersave.txt for more details.
2126938d6b2STakashi Iwai
2136938d6b2STakashi Iwaiconfig SND_AC97_POWER_SAVE_DEFAULT
2146938d6b2STakashi Iwai	int "Default time-out for AC97 power-save mode"
2156938d6b2STakashi Iwai	depends on SND_AC97_POWER_SAVE
2166938d6b2STakashi Iwai	default 0
2176938d6b2STakashi Iwai	help
2186938d6b2STakashi Iwai	  The default time-out value in seconds for AC97 automatic
2196938d6b2STakashi Iwai	  power-save mode.  0 means to disable the power-save mode.
2206938d6b2STakashi Iwai
2211d8c1100SMichael Witten	  See SND_AC97_POWER_SAVE for more details.
2221d8c1100SMichael Witten
22389fe5117STakashi Iwaiendif	# SND_DRIVERS
224