Kconfig 8.4 KB

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