[an error occurred while processing this directive] FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Sound cards
Previous: Networking
Next: Pseudo-devices

5.3.9. Sound cards

This is the first section containing lines that are not in the GENERIC kernel. To include sound card support, you'll have to copy the appropriate lines from the LINT kernel (which contains support for every device) as follows:

controller snd0

Generic sound driver code. Required for all of the following sound cards except pca.

device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr

ProAudioSpectrum digital audio and MIDI.

device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr

SoundBlaster digital audio.

Note: If your Soundblaster is on a different IRQ (such as 5), change irq 7 to, for example, irq 5 and remove the conflicts keyword. Also, you must add the line: options ``SBC_IRQ=5''

device sbxvi0 at isa? drq 5

SoundBlaster 16 digital 16-bit audio.

Note: If your SB16 is on a different 16-bit DMA channel (such as 6 or 7), change the drq 5 keyword appropriately, and then add the line: options "SB16_DMA=6"

device sbmidi0 at isa? port 0x330

SoundBlaster 16 MIDI interface. If you have a SoundBlaster 16, you must include this line, or the kernel will not compile.

device gus0 at isa? port 0x220 irq 10 drq 1 vector gusintr

Gravis Ultrasound.

device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr

Microsoft Sound System.

device opl0 at isa? port 0x388 conflicts

AdLib FM-synthesis audio. Include this line for AdLib, SoundBlaster, and ProAudioSpectrum users, if you want to play MIDI songs with a program such as playmidi (in the ports collection).

device mpu0 at isa? port 0x330 irq 6 drq 0

Roland MPU-401 stand-alone card.

device uart0 at isa? port 0x330 irq 5 vector ``m6850intr''

Stand-alone 6850 UART for MIDI.

device pca0 at isa? port ``IO_TIMER1'' tty

Digital audio through PC speaker. This is going to be very poor sound quality and quite CPU-intensive, so you have been warned (but it does not require a sound card).

Note: There is some additional documentation in /usr/src/sys/i386/isa/sound/sound.doc. Also, if you add any of these devices, be sure to create the sound device nodes .


FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Sound cards
Previous: Networking
Next: Pseudo-devices [an error occurred while processing this directive]