Things look quiet here. But I've been doing a lot of blogging at
dan.langille.org because I prefer WordPress now.
Not all my posts there are FreeBSD related.
I am in the midst of migrating The FreeBSD Diary over to WordPress
(and you can read about that here).
Once the migration is completed, I'll move the FreeBSD posts into the
new FreeBSD Diary website.
Unless you are using an older version of FreeBSD (e.g. before FreeBSD 4.1) you should
be reading the section in the handbook dealing with sound.
I've been told that controllers have been removed starting with FreeBSD 4.0. If you
are running 4.*, then you need this information.
This article was submitted by HexGhost, a regular on the UnderNet IRC channel #FreeBSD.
Please contact him regarding this article. His contact details are at the end of this article. I'm afraid I can't help you as I
don't have a sound card.
Here are some random notes which may be of help:
an AWE64 is basically an SB16 PnP with wavetable MIDI tacked onto it.
an AWE64 and AWE32 PnP are actually identical, except for included software and their
memory expansion capabilities.
if your card uses the SB16 interface, you should have device pcm0 and device sbc0 in
your kernel (this would apply to all ISA cards).
the newer PCI cards from SB (SoundBlaster) just need the pcm0 device.
Ever since I discovered FreeBSD I've been trying to find more ways to make it beat
windows. After all, I converted from Windows 95, and going from pretty-looking GUI
to dismal (comparatively speaking) UNIX was a major change. Since I don't use
FreeBSD as a major server (other than an mp3 server), sound is a major thing for me.
Setting up sound in FreeBSD has two paths: kernel support or OSS. OSS is a
nice commercial way to go, around $15 to $20 and I hear it isn't bad. However, if
you're like me and hate to pay for something that you can do yourself, kernel support is
the way to go.
Things you need to know first
Your first bet would be to gather information about your sound hardware.
Is it a SoundBlaster?
If so, what type?
If not, is it SoundBlaster compatible?
What IRQ/DMA is it on?
Is it PnP (Plug and Play)?
These are all important questions you need to address before attempting to add sound
This is where that information from the previous section comes
into play. Depending on what sound system you have, you will be doing one of two
things. If your sound system is Plug and Play, you will be using the PnP
drivers. If not (or if the PnP drivers don't work for your system) you can use the
VoxWare drivers. However, these are supposedly not as cool. Your mileage may
Lets start with the PnP route. Add the following lines to the bottom of your
device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x0 vector pcmintr
The first line is a comment. The second adds the PnP controller. The third
is where the action is. If your sound card is on different settings
(IRQ/DMA/Address) then change the values accordingly. After you add these lines,
save and exit your text editor.
If you decided to go the VoxWare way, you need to check out: