diff options
Diffstat (limited to 'Documentation/sound/oss')
-rw-r--r-- | Documentation/sound/oss/ALS | 4 | ||||
-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 | 7 | ||||
-rw-r--r-- | Documentation/sound/oss/README.modules | 10 |
7 files changed, 30 insertions, 24 deletions
diff --git a/Documentation/sound/oss/ALS b/Documentation/sound/oss/ALS index bf10bed4574..d01ffbfd580 100644 --- a/Documentation/sound/oss/ALS +++ b/Documentation/sound/oss/ALS | |||
@@ -57,10 +57,10 @@ The resulting sound driver will provide the following capabilities: | |||
57 | DSP/PCM/audio out (L&R), FM (L&R) and Mic in (mono). | 57 | DSP/PCM/audio out (L&R), FM (L&R) and Mic in (mono). |
58 | 58 | ||
59 | Jonathan Woithe | 59 | Jonathan Woithe |
60 | jwoithe@just42.net | 60 | jwoithe@physics.adelaide.edu.au |
61 | 30 March 1998 | 61 | 30 March 1998 |
62 | 62 | ||
63 | Modified 2000-02-26 by Dave Forrest, drf5n@virginia.edu to add ALS100/ALS200 | 63 | Modified 2000-02-26 by Dave Forrest, drf5n@virginia.edu to add ALS100/ALS200 |
64 | Modified 2000-04-10 by Paul Laufer, pelaufer@csupomona.edu to add ISAPnP info. | 64 | Modified 2000-04-10 by Paul Laufer, pelaufer@csupomona.edu to add ISAPnP info. |
65 | Modified 2000-11-19 by Jonathan Woithe, jwoithe@just42.net | 65 | Modified 2000-11-19 by Jonathan Woithe, jwoithe@physics.adelaide.edu.au |
66 | - updated information for kernel 2.4.x. | 66 | - updated information for kernel 2.4.x. |
diff --git a/Documentation/sound/oss/AudioExcelDSP16 b/Documentation/sound/oss/AudioExcelDSP16 index ea8549faede..e0dc0641b48 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 | A configuration file in /etc/modprobe.d/ directory will have lines like this: | 44 | The /etc/modprobe.conf 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 configuration | 54 | the sound card. Installation dependencies must be written in the modprobe.conf |
55 | files under /etc/modprobe.d/ directory: | 55 | file: |
56 | 56 | ||
57 | softdep ad1848 pre: aedsp16 | 57 | install ad1848 /sbin/modprobe aedsp16 && /sbin/modprobe -i ad1848 |
58 | softdep opl3 pre: aedsp16 | 58 | install opl3 /sbin/modprobe aedsp16 && /sbin/modprobe -i opl3 |
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 8a5fd1611c6..9c439f1a6db 100644 --- a/Documentation/sound/oss/CMI8330 +++ b/Documentation/sound/oss/CMI8330 | |||
@@ -143,10 +143,11 @@ CONFIG_SOUND_MSS=m | |||
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | Alma Chao <elysian@ethereal.torsion.org> suggests the following in | 146 | Alma Chao <elysian@ethereal.torsion.org> suggests the following /etc/modprobe.conf: |
147 | a /etc/modprobe.d/*conf file: | ||
148 | 147 | ||
149 | alias sound ad1848 | 148 | alias sound ad1848 |
150 | alias synth0 opl3 | 149 | alias synth0 opl3 |
151 | options ad1848 io=0x530 irq=7 dma=0 soundpro=1 | 150 | options ad1848 io=0x530 irq=7 dma=0 soundpro=1 |
152 | options opl3 io=0x388 | 151 | options opl3 io=0x388 |
152 | |||
153 | |||
diff --git a/Documentation/sound/oss/Introduction b/Documentation/sound/oss/Introduction index 42da2d8fa37..75d967ff926 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 when | 170 | If loading via modprobe, these common files are automatically loaded |
171 | requested by modprobe. For example, my /etc/modprobe.d/oss.conf contains: | 171 | when requested by modprobe. For example, my /etc/modprobe.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.d/*.conf | 231 | 2. remove the sound modules from /etc/modprobe.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.d/*conf, for example, | 268 | 2. Make a second entry in /etc/modprobe.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.d/*conf when using modprobe. | 372 | 3) In /etc/modprobe.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 4cd5d9ab358..c15af3c07d4 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.d/*.conf | 21 | Also, it is recommended that resources specified in /etc/modprobe.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,7 +67,11 @@ 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 | Config files in '/etc/modprobe.d/' are used as below: | 70 | Comment: as of linux-2.1.90 kmod is replacing kerneld. |
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. | ||
71 | 75 | ||
72 | alias mixer0 mad16 | 76 | alias mixer0 mad16 |
73 | alias audio0 mad16 | 77 | alias audio0 mad16 |
diff --git a/Documentation/sound/oss/PAS16 b/Documentation/sound/oss/PAS16 index 5c27229eec8..951b3dce51b 100644 --- a/Documentation/sound/oss/PAS16 +++ b/Documentation/sound/oss/PAS16 | |||
@@ -60,7 +60,8 @@ With PAS16 you can use two audio device files at the same time. /dev/dsp (and | |||
60 | 60 | ||
61 | The new stuff for 2.3.99 and later | 61 | The new stuff for 2.3.99 and later |
62 | ============================================================================ | 62 | ============================================================================ |
63 | The following configuration options are relevant to configuring the PAS16: | 63 | The following configuration options from Documentation/Configure.help |
64 | are relevant to configuring the PAS16: | ||
64 | 65 | ||
65 | Sound card support | 66 | Sound card support |
66 | CONFIG_SOUND | 67 | CONFIG_SOUND |
@@ -128,7 +129,7 @@ CONFIG_SOUND_YM3812 | |||
128 | You can then get OPL3 functionality by issuing the command: | 129 | You can then get OPL3 functionality by issuing the command: |
129 | insmod opl3 | 130 | insmod opl3 |
130 | In addition, you must either add the following line to | 131 | In addition, you must either add the following line to |
131 | /etc/modprobe.d/*.conf: | 132 | /etc/modprobe.conf: |
132 | options opl3 io=0x388 | 133 | options opl3 io=0x388 |
133 | or else add the following line to /etc/lilo.conf: | 134 | or else add the following line to /etc/lilo.conf: |
134 | opl3=0x388 | 135 | opl3=0x388 |
@@ -158,5 +159,5 @@ following line would be appropriate: | |||
158 | append="pas2=0x388,10,3,-1,0,-1,-1,-1 opl3=0x388" | 159 | append="pas2=0x388,10,3,-1,0,-1,-1,-1 opl3=0x388" |
159 | 160 | ||
160 | If sound is built totally modular, the above options may be | 161 | If sound is built totally modular, the above options may be |
161 | specified in /etc/modprobe.d/*.conf for pas2, sb and opl3 | 162 | specified in /etc/modprobe.conf for pas2, sb and opl3 |
162 | respectively. | 163 | respectively. |
diff --git a/Documentation/sound/oss/README.modules b/Documentation/sound/oss/README.modules index cdc039421a4..e691d74e1e5 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.d/oss.conf something like: | 29 | Then, add to your /etc/modprobe.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 | softdep sb post: adlib_card | 39 | post-install sb /sbin/modprobe "-k" "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.d/*.conf or with command-line args to modprobe, e.g. | 69 | with /etc/modprobe.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.d/*.conf. | 74 | recommend using /etc/modprobe.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.d/*.conf files like so: | 92 | in /etc/modprobe.conf like so: |
93 | 93 | ||
94 | options sound dmabuf=1 | 94 | options sound dmabuf=1 |
95 | 95 | ||