Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SND_MPU401_UART
0003         tristate
0004         select SND_RAWMIDI
0005 
0006 config SND_OPL3_LIB
0007         tristate
0008         select SND_TIMER
0009         select SND_HWDEP
0010         select SND_SEQ_DEVICE if SND_SEQUENCER != n
0011 
0012 config SND_OPL4_LIB
0013         tristate
0014         select SND_TIMER
0015         select SND_HWDEP
0016         select SND_SEQ_DEVICE if SND_SEQUENCER != n
0017 
0018 # select SEQ stuff to min(SND_SEQUENCER,SND_XXX)
0019 config SND_OPL3_LIB_SEQ
0020         def_tristate SND_SEQUENCER && SND_OPL3_LIB
0021         select SND_SEQ_MIDI_EMUL
0022         select SND_SEQ_MIDI_EVENT
0023 
0024 config SND_OPL4_LIB_SEQ
0025         def_tristate SND_SEQUENCER && SND_OPL4_LIB
0026         select SND_SEQ_MIDI_EMUL
0027         select SND_SEQ_MIDI_EVENT
0028 
0029 config SND_VX_LIB
0030         tristate
0031         select FW_LOADER
0032         select SND_HWDEP
0033         select SND_PCM
0034 
0035 config SND_AC97_CODEC
0036         tristate
0037         select SND_PCM
0038         select AC97_BUS
0039         select SND_VMASTER
0040 
0041 menuconfig SND_DRIVERS
0042         bool "Generic sound devices"
0043         default y
0044         help
0045           Support for generic sound devices.
0046   
0047 if SND_DRIVERS
0048 
0049 config SND_PCSP
0050         tristate "PC-Speaker support (READ HELP!)"
0051         depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS
0052         depends on INPUT
0053         select SND_PCM
0054         help
0055           If you don't have a sound card in your computer, you can include a
0056           driver for the PC speaker which allows it to act like a primitive
0057           sound card.
0058           This driver also replaces the pcspkr driver for beeps.
0059 
0060           You can compile this as a module which will be called snd-pcsp.
0061 
0062           WARNING: if you already have a soundcard, enabling this
0063           driver may lead to a problem. Namely, it may get loaded
0064           before the other sound driver of yours, making the
0065           pc-speaker a default sound device. Which is likely not
0066           what you want. To make this driver play nicely with other
0067           sound driver, you can add this in a configuration file under
0068           /etc/modprobe.d/ directory:
0069           options snd-pcsp index=2
0070 
0071           You don't need this driver if you only want your pc-speaker to beep.
0072           You don't need this driver if you have a tablet piezo beeper
0073           in your PC instead of the real speaker.
0074 
0075           Say N if you have a sound card.
0076           Say M if you don't.
0077           Say Y only if you really know what you do.
0078 
0079 config SND_DUMMY
0080         tristate "Dummy (/dev/null) soundcard"
0081         select SND_PCM
0082         help
0083           Say Y here to include the dummy driver.  This driver does
0084           nothing, but emulates various mixer controls and PCM devices.
0085 
0086           You don't need this unless you're testing the hardware support
0087           of programs using the ALSA API.
0088 
0089           To compile this driver as a module, choose M here: the module
0090           will be called snd-dummy.
0091 
0092 config SND_ALOOP
0093         tristate "Generic loopback driver (PCM)"
0094         select SND_PCM
0095         select SND_TIMER
0096         help
0097           Say 'Y' or 'M' to include support for the PCM loopback device.
0098           This module returns played samples back to the user space using
0099           the standard ALSA PCM device. The devices are routed 0->1 and
0100           1->0, where first number is the playback PCM device and second
0101           number is the capture device. Module creates two PCM devices and
0102           configured number of substreams (see the pcm_substreams module
0103           parameter).
0104 
0105           The loopback device allows time synchronization with an external
0106           timing source using the time shift universal control (+-20%
0107           of system time).
0108 
0109           To compile this driver as a module, choose M here: the module
0110           will be called snd-aloop.
0111 
0112 config SND_VIRMIDI
0113         tristate "Virtual MIDI soundcard"
0114         depends on SND_SEQUENCER
0115         select SND_TIMER
0116         select SND_RAWMIDI
0117         select SND_SEQ_VIRMIDI
0118         select SND_SEQ_MIDI_EVENT
0119         help
0120           Say Y here to include the virtual MIDI driver.  This driver
0121           allows to connect applications using raw MIDI devices to
0122           sequencer clients.
0123 
0124           If you don't know what MIDI is, say N here.
0125 
0126           To compile this driver as a module, choose M here: the module
0127           will be called snd-virmidi.
0128 
0129 config SND_MTPAV
0130         tristate "MOTU MidiTimePiece AV multiport MIDI"
0131         select SND_RAWMIDI
0132         help
0133           To use a MOTU MidiTimePiece AV multiport MIDI adapter
0134           connected to the parallel port, say Y here and make sure that
0135           the standard parallel port driver isn't used for the port.
0136 
0137           To compile this driver as a module, choose M here: the module
0138           will be called snd-mtpav.
0139 
0140 config SND_MTS64
0141         tristate "ESI Miditerminal 4140 driver"
0142         depends on PARPORT
0143         select SND_RAWMIDI
0144         help
0145           The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with 
0146           additional SMPTE Timecode capabilities for the parallel port.
0147 
0148           Say 'Y' to include support for this device.
0149 
0150           To compile this driver as a module, chose 'M' here: the module 
0151           will be called snd-mts64.
0152 
0153 config SND_SERIAL_U16550
0154         tristate "UART16550 serial MIDI driver"
0155         select SND_RAWMIDI
0156         help
0157           To include support for MIDI serial port interfaces, say Y here
0158           and read <file:Documentation/sound/cards/serial-u16550.rst>.
0159           This driver works with serial UARTs 16550 and better.
0160 
0161           This driver accesses the serial port hardware directly, so
0162           make sure that the standard serial driver isn't used or
0163           deactivated with setserial before loading this driver.
0164 
0165           To compile this driver as a module, choose M here: the module
0166           will be called snd-serial-u16550.
0167 
0168 config SND_SERIAL_GENERIC
0169         tristate "Generic serial MIDI driver"
0170         depends on SERIAL_DEV_BUS
0171         depends on OF
0172         select SND_RAWMIDI
0173         help
0174           To include support for mapping generic serial devices as raw
0175           ALSA MIDI devices, say Y here. The driver only supports setting
0176           the serial port to standard baudrates. To attain the standard MIDI
0177           baudrate of 31.25 kBaud, configure the clock of the underlying serial
0178           device so that a requested 38.4 kBaud will result in the standard speed.
0179 
0180           Use this devicetree binding to configure serial port mapping
0181           <file:Documentation/devicetree/bindings/sound/serial-midi.yaml>
0182 
0183           To compile this driver as a module, choose M here: the module
0184           will be called snd-serial-generic.
0185 
0186 config SND_MPU401
0187         tristate "Generic MPU-401 UART driver"
0188         select SND_MPU401_UART
0189         help
0190           Say Y here to include support for MIDI ports compatible with
0191           the Roland MPU-401 interface in UART mode.
0192 
0193           To compile this driver as a module, choose M here: the module
0194           will be called snd-mpu401.
0195 
0196 config SND_PORTMAN2X4
0197         tristate "Portman 2x4 driver"
0198         depends on PARPORT
0199         select SND_RAWMIDI
0200         help
0201           Say Y here to include support for Midiman Portman 2x4 parallel
0202           port MIDI device.
0203 
0204           To compile this driver as a module, choose M here: the module
0205           will be called snd-portman2x4.
0206 
0207 config SND_AC97_POWER_SAVE
0208         bool "AC97 Power-Saving Mode"
0209         depends on SND_AC97_CODEC
0210         default n
0211         help
0212           Say Y here to enable the aggressive power-saving support of
0213           AC97 codecs.  In this mode, the power-mode is dynamically
0214           controlled at each open/close.
0215 
0216           The mode is activated by passing 'power_save=X' to the
0217           snd-ac97-codec driver module, where 'X' is the time-out
0218           value, a nonnegative integer that specifies how many
0219           seconds of idle time the driver must count before it may
0220           put the AC97 into power-save mode;  a value of 0 (zero)
0221           disables the use of this power-save mode.
0222 
0223           After the snd-ac97-codec driver module has been loaded,
0224           the 'power_save' parameter can be set via sysfs as follows:
0225 
0226             echo 10 > /sys/module/snd_ac97_codec/parameters/power_save
0227 
0228           In this case, the time-out is set to 10 seconds; setting
0229           the time-out to 1 second (the minimum activation value)
0230           isn't recommended because many applications try to reopen
0231           the device frequently.  A value of 10 seconds would be a
0232           good choice for normal operations.
0233 
0234           See Documentation/sound/designs/powersave.rst for more details.
0235 
0236 config SND_AC97_POWER_SAVE_DEFAULT
0237         int "Default time-out for AC97 power-save mode"
0238         depends on SND_AC97_POWER_SAVE
0239         default 0
0240         help
0241           The default time-out value in seconds for AC97 automatic
0242           power-save mode.  0 means to disable the power-save mode.
0243 
0244           See SND_AC97_POWER_SAVE for more details.
0245 
0246 endif   # SND_DRIVERS