diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-04-08 15:48:52 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-04-08 15:48:52 -0400 |
commit | e75d660672ddd11704b7f0fdb8ff21968587b266 (patch) | |
tree | ccb9c107744c10b553c0373e450bee3971d16c00 /Documentation/sound | |
parent | 61282f37927143e45b03153f3e7b48d6b702147a (diff) | |
parent | 0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff) |
Merge branch 'master' into for-next
Merge with latest Linus' tree, as I have incoming patches
that fix code that is newer than current HEAD of for-next.
Conflicts:
drivers/net/ethernet/realtek/r8169.c
Diffstat (limited to 'Documentation/sound')
-rw-r--r-- | Documentation/sound/alsa/ALSA-Configuration.txt | 18 | ||||
-rw-r--r-- | Documentation/sound/alsa/Audiophile-Usb.txt | 4 | ||||
-rw-r--r-- | Documentation/sound/alsa/HD-Audio-Models.txt | 79 | ||||
-rw-r--r-- | Documentation/sound/alsa/HD-Audio.txt | 7 | ||||
-rw-r--r-- | Documentation/sound/alsa/MIXART.txt | 6 | ||||
-rw-r--r-- | Documentation/sound/alsa/OSS-Emulation.txt | 2 | ||||
-rw-r--r-- | Documentation/sound/oss/AudioExcelDSP16 | 10 | ||||
-rw-r--r-- | Documentation/sound/oss/CMI8330 | 5 | ||||
-rw-r--r-- | Documentation/sound/oss/Introduction | 10 | ||||
-rw-r--r-- | Documentation/sound/oss/Opti | 8 | ||||
-rw-r--r-- | Documentation/sound/oss/PAS16 | 4 | ||||
-rw-r--r-- | Documentation/sound/oss/README.modules | 10 |
12 files changed, 47 insertions, 116 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index 12e3a0fb9bec..8c16d50f6cb6 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt | |||
@@ -860,7 +860,8 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
860 | 860 | ||
861 | [Multiple options for each card instance] | 861 | [Multiple options for each card instance] |
862 | model - force the model name | 862 | model - force the model name |
863 | position_fix - Fix DMA pointer (0 = auto, 1 = use LPIB, 2 = POSBUF) | 863 | position_fix - Fix DMA pointer (0 = auto, 1 = use LPIB, 2 = POSBUF, |
864 | 3 = VIACOMBO, 4 = COMBO) | ||
864 | probe_mask - Bitmask to probe codecs (default = -1, meaning all slots) | 865 | probe_mask - Bitmask to probe codecs (default = -1, meaning all slots) |
865 | When the bit 8 (0x100) is set, the lower 8 bits are used | 866 | When the bit 8 (0x100) is set, the lower 8 bits are used |
866 | as the "fixed" codec slots; i.e. the driver probes the | 867 | as the "fixed" codec slots; i.e. the driver probes the |
@@ -925,6 +926,11 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
925 | (Usually SD_LPIB register is more accurate than the | 926 | (Usually SD_LPIB register is more accurate than the |
926 | position buffer.) | 927 | position buffer.) |
927 | 928 | ||
929 | position_fix=3 is specific to VIA devices. The position | ||
930 | of the capture stream is checked from both LPIB and POSBUF | ||
931 | values. position_fix=4 is a combination mode, using LPIB | ||
932 | for playback and POSBUF for capture. | ||
933 | |||
928 | NB: If you get many "azx_get_response timeout" messages at | 934 | NB: If you get many "azx_get_response timeout" messages at |
929 | loading, it's likely a problem of interrupts (e.g. ACPI irq | 935 | loading, it's likely a problem of interrupts (e.g. ACPI irq |
930 | routing). Try to boot with options like "pci=noacpi". Also, you | 936 | routing). Try to boot with options like "pci=noacpi". Also, you |
@@ -2038,7 +2044,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
2038 | Install the necessary firmware files in alsa-firmware package. | 2044 | Install the necessary firmware files in alsa-firmware package. |
2039 | When no hotplug fw loader is available, you need to load the | 2045 | When no hotplug fw loader is available, you need to load the |
2040 | firmware via vxloader utility in alsa-tools package. To invoke | 2046 | firmware via vxloader utility in alsa-tools package. To invoke |
2041 | vxloader automatically, add the following to /etc/modprobe.conf | 2047 | vxloader automatically, add the following to /etc/modprobe.d/alsa.conf |
2042 | 2048 | ||
2043 | install snd-vx222 /sbin/modprobe --first-time -i snd-vx222 && /usr/bin/vxloader | 2049 | install snd-vx222 /sbin/modprobe --first-time -i snd-vx222 && /usr/bin/vxloader |
2044 | 2050 | ||
@@ -2162,10 +2168,10 @@ corresponds to the card index of ALSA. Usually, define this | |||
2162 | as the same card module. | 2168 | as the same card module. |
2163 | 2169 | ||
2164 | An example configuration for a single emu10k1 card is like below: | 2170 | An example configuration for a single emu10k1 card is like below: |
2165 | ----- /etc/modprobe.conf | 2171 | ----- /etc/modprobe.d/alsa.conf |
2166 | alias snd-card-0 snd-emu10k1 | 2172 | alias snd-card-0 snd-emu10k1 |
2167 | alias sound-slot-0 snd-emu10k1 | 2173 | alias sound-slot-0 snd-emu10k1 |
2168 | ----- /etc/modprobe.conf | 2174 | ----- /etc/modprobe.d/alsa.conf |
2169 | 2175 | ||
2170 | The available number of auto-loaded sound cards depends on the module | 2176 | The available number of auto-loaded sound cards depends on the module |
2171 | option "cards_limit" of snd module. As default it's set to 1. | 2177 | option "cards_limit" of snd module. As default it's set to 1. |
@@ -2178,7 +2184,7 @@ cards is kept consistent. | |||
2178 | 2184 | ||
2179 | An example configuration for two sound cards is like below: | 2185 | An example configuration for two sound cards is like below: |
2180 | 2186 | ||
2181 | ----- /etc/modprobe.conf | 2187 | ----- /etc/modprobe.d/alsa.conf |
2182 | # ALSA portion | 2188 | # ALSA portion |
2183 | options snd cards_limit=2 | 2189 | options snd cards_limit=2 |
2184 | alias snd-card-0 snd-interwave | 2190 | alias snd-card-0 snd-interwave |
@@ -2188,7 +2194,7 @@ options snd-ens1371 index=1 | |||
2188 | # OSS/Free portion | 2194 | # OSS/Free portion |
2189 | alias sound-slot-0 snd-interwave | 2195 | alias sound-slot-0 snd-interwave |
2190 | alias sound-slot-1 snd-ens1371 | 2196 | alias sound-slot-1 snd-ens1371 |
2191 | ----- /etc/modprobe.conf | 2197 | ----- /etc/modprobe.d/alsa.conf |
2192 | 2198 | ||
2193 | In this example, the interwave card is always loaded as the first card | 2199 | In this example, the interwave card is always loaded as the first card |
2194 | (index 0) and ens1371 as the second (index 1). | 2200 | (index 0) and ens1371 as the second (index 1). |
diff --git a/Documentation/sound/alsa/Audiophile-Usb.txt b/Documentation/sound/alsa/Audiophile-Usb.txt index a4c53d8961e1..654dd3b694a8 100644 --- a/Documentation/sound/alsa/Audiophile-Usb.txt +++ b/Documentation/sound/alsa/Audiophile-Usb.txt | |||
@@ -232,7 +232,7 @@ The parameter can be given: | |||
232 | # modprobe snd-usb-audio index=1 device_setup=0x09 | 232 | # modprobe snd-usb-audio index=1 device_setup=0x09 |
233 | 233 | ||
234 | * Or while configuring the modules options in your modules configuration file | 234 | * Or while configuring the modules options in your modules configuration file |
235 | - For Fedora distributions, edit the /etc/modprobe.conf file: | 235 | (tipically a .conf file in /etc/modprobe.d/ directory: |
236 | alias snd-card-1 snd-usb-audio | 236 | alias snd-card-1 snd-usb-audio |
237 | options snd-usb-audio index=1 device_setup=0x09 | 237 | options snd-usb-audio index=1 device_setup=0x09 |
238 | 238 | ||
@@ -253,7 +253,7 @@ CAUTION when initializing the device | |||
253 | - first turn off the device | 253 | - first turn off the device |
254 | - de-register the snd-usb-audio module (modprobe -r) | 254 | - de-register the snd-usb-audio module (modprobe -r) |
255 | - change the device_setup parameter by changing the device_setup | 255 | - change the device_setup parameter by changing the device_setup |
256 | option in /etc/modprobe.conf | 256 | option in /etc/modprobe.d/*.conf |
257 | - turn on the device | 257 | - turn on the device |
258 | * A workaround for this last issue has been applied to kernel 2.6.23, but it may not | 258 | * A workaround for this last issue has been applied to kernel 2.6.23, but it may not |
259 | be enough to ensure the 'stability' of the device initialization. | 259 | be enough to ensure the 'stability' of the device initialization. |
diff --git a/Documentation/sound/alsa/HD-Audio-Models.txt b/Documentation/sound/alsa/HD-Audio-Models.txt index c8c54544abc5..d97d992ced14 100644 --- a/Documentation/sound/alsa/HD-Audio-Models.txt +++ b/Documentation/sound/alsa/HD-Audio-Models.txt | |||
@@ -8,37 +8,10 @@ ALC880 | |||
8 | 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out | 8 | 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out |
9 | 6stack 6-jack in back, 2-jack in front | 9 | 6stack 6-jack in back, 2-jack in front |
10 | 6stack-digout 6-jack with a SPDIF out | 10 | 6stack-digout 6-jack with a SPDIF out |
11 | w810 3-jack | ||
12 | z71v 3-jack (HP shared SPDIF) | ||
13 | asus 3-jack (ASUS Mobo) | ||
14 | asus-w1v ASUS W1V | ||
15 | asus-dig ASUS with SPDIF out | ||
16 | asus-dig2 ASUS with SPDIF out (using GPIO2) | ||
17 | uniwill 3-jack | ||
18 | fujitsu Fujitsu Laptops (Pi1536) | ||
19 | F1734 2-jack | ||
20 | lg LG laptop (m1 express dual) | ||
21 | lg-lw LG LW20/LW25 laptop | ||
22 | tcl TCL S700 | ||
23 | clevo Clevo laptops (m520G, m665n) | ||
24 | medion Medion Rim 2150 | ||
25 | test for testing/debugging purpose, almost all controls can be | ||
26 | adjusted. Appearing only when compiled with | ||
27 | $CONFIG_SND_DEBUG=y | ||
28 | auto auto-config reading BIOS (default) | ||
29 | 11 | ||
30 | ALC260 | 12 | ALC260 |
31 | ====== | 13 | ====== |
32 | fujitsu Fujitsu S7020 | 14 | N/A |
33 | acer Acer TravelMate | ||
34 | will Will laptops (PB V7900) | ||
35 | replacer Replacer 672V | ||
36 | favorit100 Maxdata Favorit 100XS | ||
37 | basic fixed pin assignment (old default model) | ||
38 | test for testing/debugging purpose, almost all controls can | ||
39 | adjusted. Appearing only when compiled with | ||
40 | $CONFIG_SND_DEBUG=y | ||
41 | auto auto-config reading BIOS (default) | ||
42 | 15 | ||
43 | ALC262 | 16 | ALC262 |
44 | ====== | 17 | ====== |
@@ -70,55 +43,7 @@ ALC680 | |||
70 | 43 | ||
71 | ALC882/883/885/888/889 | 44 | ALC882/883/885/888/889 |
72 | ====================== | 45 | ====================== |
73 | 3stack-dig 3-jack with SPDIF I/O | 46 | N/A |
74 | 6stack-dig 6-jack digital with SPDIF I/O | ||
75 | arima Arima W820Di1 | ||
76 | targa Targa T8, MSI-1049 T8 | ||
77 | asus-a7j ASUS A7J | ||
78 | asus-a7m ASUS A7M | ||
79 | macpro MacPro support | ||
80 | mb5 Macbook 5,1 | ||
81 | macmini3 Macmini 3,1 | ||
82 | mba21 Macbook Air 2,1 | ||
83 | mbp3 Macbook Pro rev3 | ||
84 | imac24 iMac 24'' with jack detection | ||
85 | imac91 iMac 9,1 | ||
86 | w2jc ASUS W2JC | ||
87 | 3stack-2ch-dig 3-jack with SPDIF I/O (ALC883) | ||
88 | alc883-6stack-dig 6-jack digital with SPDIF I/O (ALC883) | ||
89 | 3stack-6ch 3-jack 6-channel | ||
90 | 3stack-6ch-dig 3-jack 6-channel with SPDIF I/O | ||
91 | 6stack-dig-demo 6-jack digital for Intel demo board | ||
92 | acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc) | ||
93 | acer-aspire Acer Aspire 9810 | ||
94 | acer-aspire-4930g Acer Aspire 4930G | ||
95 | acer-aspire-6530g Acer Aspire 6530G | ||
96 | acer-aspire-7730g Acer Aspire 7730G | ||
97 | acer-aspire-8930g Acer Aspire 8930G | ||
98 | medion Medion Laptops | ||
99 | targa-dig Targa/MSI | ||
100 | targa-2ch-dig Targa/MSI with 2-channel | ||
101 | targa-8ch-dig Targa/MSI with 8-channel (MSI GX620) | ||
102 | laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE) | ||
103 | lenovo-101e Lenovo 101E | ||
104 | lenovo-nb0763 Lenovo NB0763 | ||
105 | lenovo-ms7195-dig Lenovo MS7195 | ||
106 | lenovo-sky Lenovo Sky | ||
107 | haier-w66 Haier W66 | ||
108 | 3stack-hp HP machines with 3stack (Lucknow, Samba boards) | ||
109 | 6stack-dell Dell machines with 6stack (Inspiron 530) | ||
110 | mitac Mitac 8252D | ||
111 | clevo-m540r Clevo M540R (6ch + digital) | ||
112 | clevo-m720 Clevo M720 laptop series | ||
113 | fujitsu-pi2515 Fujitsu AMILO Pi2515 | ||
114 | fujitsu-xa3530 Fujitsu AMILO XA3530 | ||
115 | 3stack-6ch-intel Intel DG33* boards | ||
116 | intel-alc889a Intel IbexPeak with ALC889A | ||
117 | intel-x58 Intel DX58 with ALC889 | ||
118 | asus-p5q ASUS P5Q-EM boards | ||
119 | mb31 MacBook 3,1 | ||
120 | sony-vaio-tt Sony VAIO TT | ||
121 | auto auto-config reading BIOS (default) | ||
122 | 47 | ||
123 | ALC861/660 | 48 | ALC861/660 |
124 | ========== | 49 | ========== |
diff --git a/Documentation/sound/alsa/HD-Audio.txt b/Documentation/sound/alsa/HD-Audio.txt index 91fee3b45fb8..7813c06a5c71 100644 --- a/Documentation/sound/alsa/HD-Audio.txt +++ b/Documentation/sound/alsa/HD-Audio.txt | |||
@@ -59,7 +59,12 @@ a case, you can change the default method via `position_fix` option. | |||
59 | `position_fix=1` means to use LPIB method explicitly. | 59 | `position_fix=1` means to use LPIB method explicitly. |
60 | `position_fix=2` means to use the position-buffer. | 60 | `position_fix=2` means to use the position-buffer. |
61 | `position_fix=3` means to use a combination of both methods, needed | 61 | `position_fix=3` means to use a combination of both methods, needed |
62 | for some VIA and ATI controllers. 0 is the default value for all other | 62 | for some VIA controllers. The capture stream position is corrected |
63 | by comparing both LPIB and position-buffer values. | ||
64 | `position_fix=4` is another combination available for all controllers, | ||
65 | and uses LPIB for the playback and the position-buffer for the capture | ||
66 | streams. | ||
67 | 0 is the default value for all other | ||
63 | controllers, the automatic check and fallback to LPIB as described in | 68 | controllers, the automatic check and fallback to LPIB as described in |
64 | the above. If you get a problem of repeated sounds, this option might | 69 | the above. If you get a problem of repeated sounds, this option might |
65 | help. | 70 | help. |
diff --git a/Documentation/sound/alsa/MIXART.txt b/Documentation/sound/alsa/MIXART.txt index ef42c44fa1f2..4ee35b4fbe4a 100644 --- a/Documentation/sound/alsa/MIXART.txt +++ b/Documentation/sound/alsa/MIXART.txt | |||
@@ -76,9 +76,9 @@ FIRMWARE | |||
76 | when CONFIG_FW_LOADER is set. The mixartloader is necessary only | 76 | when CONFIG_FW_LOADER is set. The mixartloader is necessary only |
77 | for older versions or when you build the driver into kernel.] | 77 | for older versions or when you build the driver into kernel.] |
78 | 78 | ||
79 | For loading the firmware automatically after the module is loaded, use | 79 | For loading the firmware automatically after the module is loaded, use a |
80 | the post-install command. For example, add the following entry to | 80 | install command. For example, add the following entry to |
81 | /etc/modprobe.conf for miXart driver: | 81 | /etc/modprobe.d/mixart.conf for miXart driver: |
82 | 82 | ||
83 | install snd-mixart /sbin/modprobe --first-time -i snd-mixart && \ | 83 | install snd-mixart /sbin/modprobe --first-time -i snd-mixart && \ |
84 | /usr/bin/mixartloader | 84 | /usr/bin/mixartloader |
diff --git a/Documentation/sound/alsa/OSS-Emulation.txt b/Documentation/sound/alsa/OSS-Emulation.txt index 022aaeb0e9dd..152ca2a3f1bd 100644 --- a/Documentation/sound/alsa/OSS-Emulation.txt +++ b/Documentation/sound/alsa/OSS-Emulation.txt | |||
@@ -19,7 +19,7 @@ the card number and the minor unit number. Usually you don't have to | |||
19 | define these aliases by yourself. | 19 | define these aliases by yourself. |
20 | 20 | ||
21 | Only necessary step for auto-loading of OSS modules is to define the | 21 | Only necessary step for auto-loading of OSS modules is to define the |
22 | card alias in /etc/modprobe.conf, such as | 22 | card alias in /etc/modprobe.d/alsa.conf, such as |
23 | 23 | ||
24 | alias sound-slot-0 snd-emu10k1 | 24 | alias sound-slot-0 snd-emu10k1 |
25 | 25 | ||
diff --git a/Documentation/sound/oss/AudioExcelDSP16 b/Documentation/sound/oss/AudioExcelDSP16 index e0dc0641b480..ea8549faede9 100644 --- a/Documentation/sound/oss/AudioExcelDSP16 +++ b/Documentation/sound/oss/AudioExcelDSP16 | |||
@@ -41,7 +41,7 @@ mpu_base I/O base address for activate MPU-401 mode | |||
41 | (0x300, 0x310, 0x320 or 0x330) | 41 | (0x300, 0x310, 0x320 or 0x330) |
42 | mpu_irq MPU-401 irq line (5, 7, 9, 10 or 0) | 42 | mpu_irq MPU-401 irq line (5, 7, 9, 10 or 0) |
43 | 43 | ||
44 | The /etc/modprobe.conf will have lines like this: | 44 | A configuration file in /etc/modprobe.d/ directory will have lines like this: |
45 | 45 | ||
46 | options opl3 io=0x388 | 46 | options opl3 io=0x388 |
47 | options ad1848 io=0x530 irq=11 dma=3 | 47 | options ad1848 io=0x530 irq=11 dma=3 |
@@ -51,11 +51,11 @@ Where the aedsp16 options are the options for this driver while opl3 and | |||
51 | ad1848 are the corresponding options for the MSS and OPL3 modules. | 51 | ad1848 are the corresponding options for the MSS and OPL3 modules. |
52 | 52 | ||
53 | Loading MSS and OPL3 needs to pre load the aedsp16 module to set up correctly | 53 | Loading MSS and OPL3 needs to pre load the aedsp16 module to set up correctly |
54 | the sound card. Installation dependencies must be written in the modprobe.conf | 54 | the sound card. Installation dependencies must be written in configuration |
55 | file: | 55 | files under /etc/modprobe.d/ directory: |
56 | 56 | ||
57 | install ad1848 /sbin/modprobe aedsp16 && /sbin/modprobe -i ad1848 | 57 | softdep ad1848 pre: aedsp16 |
58 | install opl3 /sbin/modprobe aedsp16 && /sbin/modprobe -i opl3 | 58 | softdep opl3 pre: aedsp16 |
59 | 59 | ||
60 | Then you must load the sound modules stack in this order: | 60 | Then you must load the sound modules stack in this order: |
61 | sound -> aedsp16 -> [ ad1848, opl3 ] | 61 | sound -> aedsp16 -> [ ad1848, opl3 ] |
diff --git a/Documentation/sound/oss/CMI8330 b/Documentation/sound/oss/CMI8330 index 9c439f1a6dba..8a5fd1611c6f 100644 --- a/Documentation/sound/oss/CMI8330 +++ b/Documentation/sound/oss/CMI8330 | |||
@@ -143,11 +143,10 @@ CONFIG_SOUND_MSS=m | |||
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | Alma Chao <elysian@ethereal.torsion.org> suggests the following /etc/modprobe.conf: | 146 | Alma Chao <elysian@ethereal.torsion.org> suggests the following in |
147 | a /etc/modprobe.d/*conf file: | ||
147 | 148 | ||
148 | alias sound ad1848 | 149 | alias sound ad1848 |
149 | alias synth0 opl3 | 150 | alias synth0 opl3 |
150 | options ad1848 io=0x530 irq=7 dma=0 soundpro=1 | 151 | options ad1848 io=0x530 irq=7 dma=0 soundpro=1 |
151 | options opl3 io=0x388 | 152 | options opl3 io=0x388 |
152 | |||
153 | |||
diff --git a/Documentation/sound/oss/Introduction b/Documentation/sound/oss/Introduction index 75d967ff9266..42da2d8fa372 100644 --- a/Documentation/sound/oss/Introduction +++ b/Documentation/sound/oss/Introduction | |||
@@ -167,8 +167,8 @@ in a file such as /root/soundon.sh. | |||
167 | MODPROBE: | 167 | MODPROBE: |
168 | ========= | 168 | ========= |
169 | 169 | ||
170 | If loading via modprobe, these common files are automatically loaded | 170 | If loading via modprobe, these common files are automatically loaded when |
171 | when requested by modprobe. For example, my /etc/modprobe.conf contains: | 171 | requested by modprobe. For example, my /etc/modprobe.d/oss.conf contains: |
172 | 172 | ||
173 | alias sound sb | 173 | alias sound sb |
174 | options sb io=0x240 irq=9 dma=3 dma16=5 mpu_io=0x300 | 174 | options sb io=0x240 irq=9 dma=3 dma16=5 mpu_io=0x300 |
@@ -228,7 +228,7 @@ http://www.opensound.com. Before loading the commercial sound | |||
228 | driver, you should do the following: | 228 | driver, you should do the following: |
229 | 229 | ||
230 | 1. remove sound modules (detailed above) | 230 | 1. remove sound modules (detailed above) |
231 | 2. remove the sound modules from /etc/modprobe.conf | 231 | 2. remove the sound modules from /etc/modprobe.d/*.conf |
232 | 3. move the sound modules from /lib/modules/<kernel>/misc | 232 | 3. move the sound modules from /lib/modules/<kernel>/misc |
233 | (for example, I make a /lib/modules/<kernel>/misc/tmp | 233 | (for example, I make a /lib/modules/<kernel>/misc/tmp |
234 | directory and copy the sound module files to that | 234 | directory and copy the sound module files to that |
@@ -265,7 +265,7 @@ twice, you need to do the following: | |||
265 | sb.o could be copied (or symlinked) to sb1.o for the | 265 | sb.o could be copied (or symlinked) to sb1.o for the |
266 | second SoundBlaster. | 266 | second SoundBlaster. |
267 | 267 | ||
268 | 2. Make a second entry in /etc/modprobe.conf, for example, | 268 | 2. Make a second entry in /etc/modprobe.d/*conf, for example, |
269 | sound1 or sb1. This second entry should refer to the | 269 | sound1 or sb1. This second entry should refer to the |
270 | new module names for example sb1, and should include | 270 | new module names for example sb1, and should include |
271 | the I/O, etc. for the second sound card. | 271 | the I/O, etc. for the second sound card. |
@@ -369,7 +369,7 @@ There are several ways of configuring your sound: | |||
369 | 2) On the command line when using insmod or in a bash script | 369 | 2) On the command line when using insmod or in a bash script |
370 | using command line calls to load sound. | 370 | using command line calls to load sound. |
371 | 371 | ||
372 | 3) In /etc/modprobe.conf when using modprobe. | 372 | 3) In /etc/modprobe.d/*conf when using modprobe. |
373 | 373 | ||
374 | 4) Via Red Hat's GPL'd /usr/sbin/sndconfig program (text based). | 374 | 4) Via Red Hat's GPL'd /usr/sbin/sndconfig program (text based). |
375 | 375 | ||
diff --git a/Documentation/sound/oss/Opti b/Documentation/sound/oss/Opti index c15af3c07d46..4cd5d9ab3580 100644 --- a/Documentation/sound/oss/Opti +++ b/Documentation/sound/oss/Opti | |||
@@ -18,7 +18,7 @@ force the card into a mode in which it can be programmed. | |||
18 | If you have another OS installed on your computer it is recommended | 18 | If you have another OS installed on your computer it is recommended |
19 | that Linux and the other OS use the same resources. | 19 | that Linux and the other OS use the same resources. |
20 | 20 | ||
21 | Also, it is recommended that resources specified in /etc/modprobe.conf | 21 | Also, it is recommended that resources specified in /etc/modprobe.d/*.conf |
22 | and resources specified in /etc/isapnp.conf agree. | 22 | and resources specified in /etc/isapnp.conf agree. |
23 | 23 | ||
24 | Compiling the sound driver | 24 | Compiling the sound driver |
@@ -67,11 +67,7 @@ address is hard-coded into the driver. | |||
67 | 67 | ||
68 | Using kmod and autoloading the sound driver | 68 | Using kmod and autoloading the sound driver |
69 | ------------------------------------------- | 69 | ------------------------------------------- |
70 | Comment: as of linux-2.1.90 kmod is replacing kerneld. | 70 | Config files in '/etc/modprobe.d/' are used as below: |
71 | The config file '/etc/modprobe.conf' is used as before. | ||
72 | |||
73 | This is the sound part of my /etc/modprobe.conf file. | ||
74 | Following that I will explain each line. | ||
75 | 71 | ||
76 | alias mixer0 mad16 | 72 | alias mixer0 mad16 |
77 | alias audio0 mad16 | 73 | alias audio0 mad16 |
diff --git a/Documentation/sound/oss/PAS16 b/Documentation/sound/oss/PAS16 index 3dca4b75988e..5c27229eec8c 100644 --- a/Documentation/sound/oss/PAS16 +++ b/Documentation/sound/oss/PAS16 | |||
@@ -128,7 +128,7 @@ CONFIG_SOUND_YM3812 | |||
128 | You can then get OPL3 functionality by issuing the command: | 128 | You can then get OPL3 functionality by issuing the command: |
129 | insmod opl3 | 129 | insmod opl3 |
130 | In addition, you must either add the following line to | 130 | In addition, you must either add the following line to |
131 | /etc/modprobe.conf: | 131 | /etc/modprobe.d/*.conf: |
132 | options opl3 io=0x388 | 132 | options opl3 io=0x388 |
133 | or else add the following line to /etc/lilo.conf: | 133 | or else add the following line to /etc/lilo.conf: |
134 | opl3=0x388 | 134 | opl3=0x388 |
@@ -158,5 +158,5 @@ following line would be appropriate: | |||
158 | append="pas2=0x388,10,3,-1,0,-1,-1,-1 opl3=0x388" | 158 | append="pas2=0x388,10,3,-1,0,-1,-1,-1 opl3=0x388" |
159 | 159 | ||
160 | If sound is built totally modular, the above options may be | 160 | If sound is built totally modular, the above options may be |
161 | specified in /etc/modprobe.conf for pas2, sb and opl3 | 161 | specified in /etc/modprobe.d/*.conf for pas2, sb and opl3 |
162 | respectively. | 162 | respectively. |
diff --git a/Documentation/sound/oss/README.modules b/Documentation/sound/oss/README.modules index e691d74e1e5e..cdc039421a46 100644 --- a/Documentation/sound/oss/README.modules +++ b/Documentation/sound/oss/README.modules | |||
@@ -26,7 +26,7 @@ Note that it is no longer necessary or possible to configure sound in the | |||
26 | drivers/sound dir. Now one simply configures and makes one's kernel and | 26 | drivers/sound dir. Now one simply configures and makes one's kernel and |
27 | modules in the usual way. | 27 | modules in the usual way. |
28 | 28 | ||
29 | Then, add to your /etc/modprobe.conf something like: | 29 | Then, add to your /etc/modprobe.d/oss.conf something like: |
30 | 30 | ||
31 | alias char-major-14-* sb | 31 | alias char-major-14-* sb |
32 | install sb /sbin/modprobe -i sb && /sbin/modprobe adlib_card | 32 | install sb /sbin/modprobe -i sb && /sbin/modprobe adlib_card |
@@ -36,7 +36,7 @@ options adlib_card io=0x388 # FM synthesizer | |||
36 | Alternatively, if you have compiled in kernel level ISAPnP support: | 36 | Alternatively, if you have compiled in kernel level ISAPnP support: |
37 | 37 | ||
38 | alias char-major-14 sb | 38 | alias char-major-14 sb |
39 | post-install sb /sbin/modprobe "-k" "adlib_card" | 39 | softdep sb post: adlib_card |
40 | options adlib_card io=0x388 | 40 | options adlib_card io=0x388 |
41 | 41 | ||
42 | The effect of this is that the sound driver and all necessary bits and | 42 | The effect of this is that the sound driver and all necessary bits and |
@@ -66,12 +66,12 @@ args are expected. | |||
66 | Note that at present there is no way to configure the io, irq and other | 66 | Note that at present there is no way to configure the io, irq and other |
67 | parameters for the modular drivers as one does for the wired drivers.. One | 67 | parameters for the modular drivers as one does for the wired drivers.. One |
68 | needs to pass the modules the necessary parameters as arguments, either | 68 | needs to pass the modules the necessary parameters as arguments, either |
69 | with /etc/modprobe.conf or with command-line args to modprobe, e.g. | 69 | with /etc/modprobe.d/*.conf or with command-line args to modprobe, e.g. |
70 | 70 | ||
71 | modprobe sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330 | 71 | modprobe sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330 |
72 | modprobe adlib_card io=0x388 | 72 | modprobe adlib_card io=0x388 |
73 | 73 | ||
74 | recommend using /etc/modprobe.conf. | 74 | recommend using /etc/modprobe.d/*.conf. |
75 | 75 | ||
76 | Persistent DMA Buffers: | 76 | Persistent DMA Buffers: |
77 | 77 | ||
@@ -89,7 +89,7 @@ wasteful of RAM, but it guarantees that sound always works. | |||
89 | 89 | ||
90 | To make the sound driver use persistent DMA buffers we need to pass the | 90 | To make the sound driver use persistent DMA buffers we need to pass the |
91 | sound.o module a "dmabuf=1" command-line argument. This is normally done | 91 | sound.o module a "dmabuf=1" command-line argument. This is normally done |
92 | in /etc/modprobe.conf like so: | 92 | in /etc/modprobe.d/*.conf files like so: |
93 | 93 | ||
94 | options sound dmabuf=1 | 94 | options sound dmabuf=1 |
95 | 95 | ||