aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sound/alsa/ALSA-Configuration.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sound/alsa/ALSA-Configuration.txt')
-rw-r--r--Documentation/sound/alsa/ALSA-Configuration.txt21
1 files changed, 20 insertions, 1 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
index 8e49c19f6c9..f34821d6d52 100644
--- a/Documentation/sound/alsa/ALSA-Configuration.txt
+++ b/Documentation/sound/alsa/ALSA-Configuration.txt
@@ -57,7 +57,9 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
57 - Default: 1 57 - Default: 1
58 - For auto-loading more than one card, specify this 58 - For auto-loading more than one card, specify this
59 option together with snd-card-X aliases. 59 option together with snd-card-X aliases.
60 60 slots - Reserve the slot index for the given driver.
61 This option takes multiple strings.
62 See "Module Autoloading Support" section for details.
61 63
62 Module snd-pcm-oss 64 Module snd-pcm-oss
63 ------------------ 65 ------------------
@@ -2140,6 +2142,23 @@ alias sound-slot-1 snd-ens1371
2140In this example, the interwave card is always loaded as the first card 2142In this example, the interwave card is always loaded as the first card
2141(index 0) and ens1371 as the second (index 1). 2143(index 0) and ens1371 as the second (index 1).
2142 2144
2145Alternative (and new) way to fixate the slot assignment is to use
2146"slots" option of snd module. In the case above, specify like the
2147following:
2148
2149options snd slots=snd-interwave,snd-ens1371
2150
2151Then, the first slot (#0) is reserved for snd-interwave driver, and
2152the second (#1) for snd-ens1371. You can omit index option in each
2153driver if slots option is used (although you can still have them at
2154the same time as long as they don't conflict).
2155
2156The slots option is especially useful for avoiding the possible
2157hot-plugging and the resultant slot conflict. For example, in the
2158case above again, the first two slots are already reserved. If any
2159other driver (e.g. snd-usb-audio) is loaded before snd-interwave or
2160snd-ens1371, it will be assigned to the third or later slot.
2161
2143 2162
2144ALSA PCM devices to OSS devices mapping 2163ALSA PCM devices to OSS devices mapping
2145======================================= 2164=======================================