~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/drivers/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/drivers/Kconfig (Version linux-6.12-rc7) and /sound/drivers/Kconfig (Version linux-5.10.229)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php