This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sys / i386 / doc / sound.doc
CommitLineData
06e9c46d
SW
1NOTE! Check that there is no #define EXCLUDE_<cardname> lines for
2 the cards you are configuring in the sound/local.h. Otherwise
3 the low level driver for the card is not compiled in the kernel.
a4561f9a
SW
4You may add one or more of the following depending on what you do NOT
5want compiled into your kernel. Only use the options for which you
6do NOT have a card to support it, or if you do not want a particular
7functionality.
8
9 options "EXCLUDE_MPU401" # NO MPU401 support
10 options EXCLUDE_GUS # NO GUS support
11 options EXCLUDE_SBPRO # NO SB Pro support
12 options EXCLUDE_SB16 # NO SB 16 support
13 options EXCLUDE_YM3812 # NO SB AdLib support
14 options EXCLUDE_PAS # NO Pro Audio Studio support
15 options EXCLUDE_PRO_MIDI # NO PAS MIDI support
16 options EXCLUDE_MIDI # NO MIDI support whatsoever
06e9c46d
SW
17
18To enable sound card support, you need to uncomment and add one or more of
19the following lines to your kernel configuration file according to the
20directions below:
21
22#device snd5 at isa? port 0x330 irq 6 drq 0 vector mpuintr
23#device snd4 at isa? port 0x220 irq 15 drq 6 vector gusintr
24#device snd3 at isa? port 0x388 irq 10 drq 6 vector pasintr
25#device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr
26#device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr
27#device snd7 at isa? port 0x300 irq 7 drq 0 vector sbintr
28#device snd1 at isa? port 0x388 irq 0 drq 0 vector sbintr
29
30 Unit numbers are:
31 1 for Yamaha FM synth
32 2 for SB/SB Pro DSP
33 3 for PAS PCM and Midi
34 4 for GUS
35 5 for MPU-401 (there is separate driver for the SB16)
36 6 for SB16 (DSP)
37 7 for SB16 Midi (MPU-401 emulation)
38
39 If you have ProAudioSpectrum, uncomment units 3, 2 and 1
40 If you have SoundBlaster 1.0 to 2.0 or SB Pro, uncomment 2 and 1.
41 If you have SoundBlaster 16, uncomment 2, 1, 6 and 7.
42 (use the same IRQ for the cards 2, 6 and 7. The DMA of the
43 card 2 is the 8 bit one and the DMA of the card 6 is the 16 bit one.
44 the port address of the card 7 is the Midi I/O address of the SB16.
45 If you have GravisUltrasound, uncomment 4
46 If you have MPU-401, uncomment 5
a7007fcc 47
d2447330
JH
48NOTE: The MPU-401 driver may or may not work, and is unfortunately
49unverifiable since no one I know has one. If you can test this,
322c0b63
JH
50please let me know! Also note that you will have to change these
51settings if your soundcard is set for a non-standard address or IRQ.
52Please check your documentation (or verify with any provided DOS utilities
53that may have come with your card) and set the IRQ or address fields
54accordingly.
55
0eb11319
JH
56Also: Some systems with the OPTI chipset will require you to #define
57BROKEN_BUS_CLOCK in /sys/i386/sound/pas2_card.c. Symptoms are that
58you will hear a lot of clicking and popping sounds, like a geiger counter,
59coming out of the PAS even when is not playing anything.
60
06e9c46d
SW
61Probing problems: Since the SB16 uses the same IRQ and addresses for
62the different drivers, some of the snd dirvers will not be probed because
63the kernel thinks there is a conflict. Until a real solution is implemented,
64to get all the snd drivers to work, immediately return(0) to the haveseen()
65call in /sys/i386/isa/isa.c on your local copy. (Warning: doing this
66will bypass checks for ALL drivers, so be careful)
0eb11319
JH
67
68 - Jordan Hubbard (jkh@freefall.cdrom.com)
06e9c46d 69 - Steven Wallace (swallace@freefall.cdrom.com)