This is an archive of past FreeBSD releases; it's part of the FreeBSD Documentation Archive.
Before you begin, you should know the model of the card you have, the chip it uses, and whether it is a PCI or ISA card. FreeBSD supports a wide variety of both PCI and ISA cards. If you do not see your card in the following list, check the pcm(4) manual page. This is not a complete list; however, it does list some of the most common cards.
Crystal 4237, 4236, 4232, 4231
Yamaha OPL-SAx
OPTi931
Ensoniq AudioPCI 1370/1371
ESS Solo-1/1E
NeoMagic 256AV/ZX
Sound Blaster Pro, 16, 32, AWE64, AWE128, Live
Creative ViBRA16
Advanced Asound 100, 110, and Logic ALS120
ES 1868, 1869, 1879, 1888
Gravis UltraSound
Aureal Vortex 1 or 2
The driver you use in your kernel depends on the kind of card you have. The sections below provide more information and what you will need to add to your kernel configuration.
If you have one of the above cards, you will need to add
device pcm
to your kernel. If you have a PnP ISA card, you will also need to add
device sbc
to your kernel. For a non-PnP ISA card, add
device pcm
and
device sbc0 at isa? port0x220 irq 5 drq 1 flags 0x15
to your kernel. Those are the default settings. You may need to change the IRQ, etc. See the sbc(4) man page for more information.
Note: The Sound Blaster Live is not supported under FreeBSD 4.0 without a patch, which this document will not cover. It is recommended that you update to the latest -STABLE before trying to use this card.
For a PnP ISA card, you will need to add
device pcm
and
device gusc
to your kernel. If you have a non-PnP ISA card, you will need to add
device pcm
and
device gus0 at isa? port 0x220 irq 5 drq 1 flags 0x13
to your kernel. You may need to change the IRQ, etc. See the gusc(4) man page for more information.
For Crystal cards, you will need both
device pcm
and
device csa
in your kernel.
For PnP ISA or PCI cards, you will need to add
device pcm
to your kernel configuration. If you have a non-PnP ISA sound card that does not have a bridge driver, you will need to add
device pcm0 at isa? irq 10 drq 1 flags 0x0
to your kernel configuration. You may need to change the IRQ, etc., to match your hardware configuration.
This, and other documents, can be downloaded from ftp.FreeBSD.org/pub/FreeBSD/doc/.
For questions about FreeBSD, read the
documentation
before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.