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 configuration file. If you have a PnP ISA card, you will also need to add:

    device sbc

For a non-PnP ISA card, add:

    device pcm
    device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15

to your kernel configuration file. The settings shown above are the defaults. You may need to change the IRQ or the other settings to match your card. See the sbc(4) manual page for more information.

Note: The Sound Blaster Live is not supported under FreeBSD 4.0 without a patch, which this section 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
    device gusc

to your kernel configuration file. If you have a non-PnP ISA card, you will need to add:

    device pcm
    device gus0 at isa? port 0x220 irq 5 drq 1 flags 0x13

to your kernel configuration file. You may need to change the IRQ or the other settings to match your card. See the gusc(4) manual page for more information.

14.2.3 Crystal Sound Cards

For Crystal cards, you will need to add:

    device pcm
    device csa

to your kernel configuration file.

14.2.4 Generic Support

For PnP ISA or PCI cards, you will need to add:

    device pcm

to your kernel configuration file. 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 file. You may need to change the IRQ or the other settings to match your card.

14.2.5 Onboard Sound

Some systems with built-in motherboard sound devices may require the following option in your kernel configuration:

    options PNPBIOS

This, and other documents, can be downloaded from ftp://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>.