brintos

brintos / linux-shallow public Read only

0
0
Text · 8.4 KiB · 6debd8e Raw
267 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config SND_MPU401_UART3	tristate4	select SND_RAWMIDI5 6config SND_OPL3_LIB7	tristate8	select SND_TIMER9	select SND_HWDEP10	select SND_SEQ_DEVICE if SND_SEQUENCER != n11 12config SND_OPL4_LIB13	tristate14	select SND_TIMER15	select SND_HWDEP16	select SND_SEQ_DEVICE if SND_SEQUENCER != n17 18# select SEQ stuff to min(SND_SEQUENCER,SND_XXX)19config SND_OPL3_LIB_SEQ20	def_tristate SND_SEQUENCER && SND_OPL3_LIB21	select SND_SEQ_MIDI_EMUL22	select SND_SEQ_MIDI_EVENT23 24config SND_OPL4_LIB_SEQ25	def_tristate SND_SEQUENCER && SND_OPL4_LIB26	select SND_SEQ_MIDI_EMUL27	select SND_SEQ_MIDI_EVENT28 29config SND_VX_LIB30	tristate31	select FW_LOADER32	select SND_HWDEP33	select SND_PCM34 35config SND_AC97_CODEC36	tristate37	select SND_PCM38	select AC97_BUS39	select SND_VMASTER40 41menuconfig SND_DRIVERS42	bool "Generic sound devices"43	default y44	help45	  Support for generic sound devices.46  47if SND_DRIVERS48 49config SND_PCSP50	tristate "PC-Speaker support (READ HELP!)"51	depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS52	depends on INPUT53	select SND_PCM54	help55	  If you don't have a sound card in your computer, you can include a56	  driver for the PC speaker which allows it to act like a primitive57	  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 this63	  driver may lead to a problem. Namely, it may get loaded64	  before the other sound driver of yours, making the65	  pc-speaker a default sound device. Which is likely not66	  what you want. To make this driver play nicely with other67	  sound driver, you can add this in a configuration file under68	  /etc/modprobe.d/ directory:69	  options snd-pcsp index=270 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 beeper73	  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 79config SND_DUMMY80	tristate "Dummy (/dev/null) soundcard"81	select SND_PCM82	help83	  Say Y here to include the dummy driver.  This driver does84	  nothing, but emulates various mixer controls and PCM devices.85 86	  You don't need this unless you're testing the hardware support87	  of programs using the ALSA API.88 89	  To compile this driver as a module, choose M here: the module90	  will be called snd-dummy.91 92config SND_ALOOP93	tristate "Generic loopback driver (PCM)"94	select SND_PCM95	select SND_TIMER96	help97	  Say 'Y' or 'M' to include support for the PCM loopback device.98	  This module returns played samples back to the user space using99	  the standard ALSA PCM device. The devices are routed 0->1 and100	  1->0, where first number is the playback PCM device and second101	  number is the capture device. Module creates two PCM devices and102	  configured number of substreams (see the pcm_substreams module103	  parameter).104 105	  The loopback device allows time synchronization with an external106	  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 module110	  will be called snd-aloop.111 112config SND_PCMTEST113	tristate "Virtual PCM test driver"114	depends on DEBUG_FS115	select SND_PCM116	help117	  Say 'Y' or 'M' to include support for the Virtual PCM test driver.118	  This driver is aimed at extended testing of the userspace applications119	  which use the ALSA API, as well as the PCM middle layer testing.120 121	  It can generate random or pattern-based data into the capture stream,122	  check the playback stream for containing the selected pattern, inject123	  time delays during capture/playback, redefine the RESET ioctl operation124	  to perform the PCM middle layer testing and inject errors during the125	  PCM callbacks. It supports both interleaved and non-interleaved access126	  modes. You can find the corresponding selftest in the 'alsa'127	  selftests folder.128 129config SND_VIRMIDI130	tristate "Virtual MIDI soundcard"131	depends on SND_SEQUENCER132	select SND_TIMER133	select SND_RAWMIDI134	select SND_SEQ_VIRMIDI135	select SND_SEQ_MIDI_EVENT136	help137	  Say Y here to include the virtual MIDI driver.  This driver138	  allows to connect applications using raw MIDI devices to139	  sequencer clients.140 141	  If you don't know what MIDI is, say N here.142 143	  To compile this driver as a module, choose M here: the module144	  will be called snd-virmidi.145 146config SND_MTPAV147	tristate "MOTU MidiTimePiece AV multiport MIDI"148	depends on HAS_IOPORT149	select SND_RAWMIDI150	help151	  To use a MOTU MidiTimePiece AV multiport MIDI adapter152	  connected to the parallel port, say Y here and make sure that153	  the standard parallel port driver isn't used for the port.154 155	  To compile this driver as a module, choose M here: the module156	  will be called snd-mtpav.157 158config SND_MTS64159	tristate "ESI Miditerminal 4140 driver"160	depends on PARPORT161	select SND_RAWMIDI162	help163	  The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with 164	  additional SMPTE Timecode capabilities for the parallel port.165 166	  Say 'Y' to include support for this device.167 168	  To compile this driver as a module, chose 'M' here: the module 169	  will be called snd-mts64.170 171config SND_SERIAL_U16550172	tristate "UART16550 serial MIDI driver"173	depends on HAS_IOPORT174	select SND_RAWMIDI175	help176	  To include support for MIDI serial port interfaces, say Y here177	  and read <file:Documentation/sound/cards/serial-u16550.rst>.178	  This driver works with serial UARTs 16550 and better.179 180	  This driver accesses the serial port hardware directly, so181	  make sure that the standard serial driver isn't used or182	  deactivated with setserial before loading this driver.183 184	  To compile this driver as a module, choose M here: the module185	  will be called snd-serial-u16550.186 187config SND_SERIAL_GENERIC188	tristate "Generic serial MIDI driver"189	depends on SERIAL_DEV_BUS190	depends on OF191	select SND_RAWMIDI192	help193	  To include support for mapping generic serial devices as raw194	  ALSA MIDI devices, say Y here. The driver only supports setting195	  the serial port to standard baudrates. To attain the standard MIDI196	  baudrate of 31.25 kBaud, configure the clock of the underlying serial197	  device so that a requested 38.4 kBaud will result in the standard speed.198 199	  Use this devicetree binding to configure serial port mapping200	  <file:Documentation/devicetree/bindings/sound/serial-midi.yaml>201 202	  To compile this driver as a module, choose M here: the module203	  will be called snd-serial-generic.204 205config SND_MPU401206	tristate "Generic MPU-401 UART driver"207	depends on HAS_IOPORT208	select SND_MPU401_UART209	help210	  Say Y here to include support for MIDI ports compatible with211	  the Roland MPU-401 interface in UART mode.212 213	  To compile this driver as a module, choose M here: the module214	  will be called snd-mpu401.215 216config SND_PORTMAN2X4217	tristate "Portman 2x4 driver"218	depends on PARPORT219	select SND_RAWMIDI220	help221	  Say Y here to include support for Midiman Portman 2x4 parallel222	  port MIDI device.223 224	  To compile this driver as a module, choose M here: the module225	  will be called snd-portman2x4.226 227config SND_AC97_POWER_SAVE228	bool "AC97 Power-Saving Mode"229	depends on SND_AC97_CODEC230	default n231	help232	  Say Y here to enable the aggressive power-saving support of233	  AC97 codecs.  In this mode, the power-mode is dynamically234	  controlled at each open/close.235 236	  The mode is activated by passing 'power_save=X' to the237	  snd-ac97-codec driver module, where 'X' is the time-out238	  value, a nonnegative integer that specifies how many239	  seconds of idle time the driver must count before it may240	  put the AC97 into power-save mode;  a value of 0 (zero)241	  disables the use of this power-save mode.242 243	  After the snd-ac97-codec driver module has been loaded,244	  the 'power_save' parameter can be set via sysfs as follows:245 246	    echo 10 > /sys/module/snd_ac97_codec/parameters/power_save247 248	  In this case, the time-out is set to 10 seconds; setting249	  the time-out to 1 second (the minimum activation value)250	  isn't recommended because many applications try to reopen251	  the device frequently.  A value of 10 seconds would be a252	  good choice for normal operations.253 254	  See Documentation/sound/designs/powersave.rst for more details.255 256config SND_AC97_POWER_SAVE_DEFAULT257	int "Default time-out for AC97 power-save mode"258	depends on SND_AC97_POWER_SAVE259	default 0260	help261	  The default time-out value in seconds for AC97 automatic262	  power-save mode.  0 means to disable the power-save mode.263 264	  See SND_AC97_POWER_SAVE for more details.265 266endif	# SND_DRIVERS267