Don't allow others to run uuconv
[unix-history] / sys / doc / sound.doc
CommitLineData
d30b4617
GW
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.
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
94e137e6
AC
9 options EXCLUDE_AUDIO # NO digital audio support
10 options EXCLUDE_SEQUENCER # NO sequencer support
d30b4617
GW
11 options "EXCLUDE_MPU401" # NO MPU401 support
12 options EXCLUDE_GUS # NO GUS support
94e137e6
AC
13 options EXCLUDE_GUS_IODETECT # NO GUS io detection
14 options EXCLUDE_SB # NO SB support
15 options EXCLUDE_SB_EMULATION # NO PAS SB emulation support
d30b4617 16 options EXCLUDE_SBPRO # NO SB Pro support
94e137e6
AC
17 options "EXCLUDE_SB16" # NO SB 16 support
18 options "EXCLUDE_YM3812" # NO AdLib support
19 options "EXCLUDE_OPL3" # NO OPL3 chip support
d30b4617
GW
20 options EXCLUDE_PAS # NO Pro Audio Studio support
21 options EXCLUDE_PRO_MIDI # NO PAS MIDI support
94e137e6 22 options EXCLUDE_CHIP_MIDI # NO MIDI chip support
d30b4617
GW
23 options EXCLUDE_MIDI # NO MIDI support whatsoever
24
25To enable sound card support, you need to uncomment and add one or more of
26the following lines to your kernel configuration file according to the
27directions below:
28
94e137e6 29#device snd5 at isa? port 0x330 irq 6 vector mpuintr
d30b4617
GW
30#device snd4 at isa? port 0x220 irq 15 drq 6 vector gusintr
31#device snd3 at isa? port 0x388 irq 10 drq 6 vector pasintr
32#device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr
33#device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr
01e47e5d 34#device snd7 at isa? port 0x300
94e137e6 35#device snd1 at isa? port 0x388
d30b4617 36
289b41e0
AC
37Note for PAS user: you should change snd1 line to
38#device snd1 at isa? port 0x38a
39(next stereo port) to avoid conflict with snd3
40
d30b4617
GW
41 Unit numbers are:
42 1 for Yamaha FM synth
43 2 for SB/SB Pro DSP
44 3 for PAS PCM and Midi
45 4 for GUS
46 5 for MPU-401 (there is separate driver for the SB16)
47 6 for SB16 (DSP)
48 7 for SB16 Midi (MPU-401 emulation)
49
50 If you have ProAudioSpectrum, uncomment units 3, 2 and 1
51 If you have SoundBlaster 1.0 to 2.0 or SB Pro, uncomment 2 and 1.
52 If you have SoundBlaster 16, uncomment 2, 1, 6 and 7.
53 (use the same IRQ for the cards 2, 6 and 7. The DMA of the
54 card 2 is the 8 bit one and the DMA of the card 6 is the 16 bit one.
55 the port address of the card 7 is the Midi I/O address of the SB16.
56 If you have GravisUltrasound, uncomment 4
57 If you have MPU-401, uncomment 5
58
59NOTE: The MPU-401 driver may or may not work, and is unfortunately
60unverifiable since no one I know has one. If you can test this,
61please let me know! Also note that you will have to change these
62settings if your soundcard is set for a non-standard address or IRQ.
63Please check your documentation (or verify with any provided DOS utilities
64that may have come with your card) and set the IRQ or address fields
65accordingly.
66
67Also: Some systems with the OPTI chipset will require you to #define
68BROKEN_BUS_CLOCK in /sys/i386/sound/pas2_card.c. Symptoms are that
69you will hear a lot of clicking and popping sounds, like a geiger counter,
70coming out of the PAS even when is not playing anything.
71
72Probing problems: Since the SB16 uses the same IRQ and addresses for
73the different drivers, some of the snd dirvers will not be probed because
74the kernel thinks there is a conflict. Until a real solution is implemented,
75to get all the snd drivers to work, immediately return(0) to the haveseen()
76call in /sys/i386/isa/isa.c on your local copy. (Warning: doing this
77will bypass checks for ALL drivers, so be careful)
78
79 - Jordan Hubbard (jkh@freefall.cdrom.com)
80 - Steven Wallace (swallace@freefall.cdrom.com)