This is an archive of past FreeBSD releases; it's part of the FreeBSD Documentation Archive.

Locating the Correct Device

14.2. Locating the Correct Device

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.

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.

14.2.1. Creative, Advance, and ESS Sound Cards

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.

14.2.2. Gravis UltraSound Cards

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.

14.2.3. Crystal Sound Cards

For Crystal cards, you will need both

    device pcm

and

    device csa

in your kernel.

14.2.4. Generic Support

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>.