Skip to content

Independent notes on FreeBSD · published since 1999

The FreeBSD 'zine Features, news and community notes for FreeBSD

Issue 6 · July 2000

Reader written notes on FreeBSD, from the command line to the server room.

Open the current issue

April 1999 · Featured article

Sound

Setting Up a PnP Soundcard

Make sure that your soundcard is plug and play before you try any of the following.

 Make sure your bios is set to off for plug and play. Make sure you know the irq and dma for your soundcard. 

You need kernel support for sound to work under FreeBSD. I am assuming you know how to compile new kernel. If you don't, please see the appropriate sections of the FreeBSD Handbook.

PnP SoundBlaster vibra16x

You'll most likely end up using pcm0 instead of snd0 since snd0 doesn't allow dma less than 5. Unfortunately, by using pcm0 you won't have support for midi.

Put the following lines in your kernel configuration:

 controller pnp0 device pcm0 at isa ? port? tty irq 5 drq 1 flags 0x15 

Don't add any snd0 devices! (It will give you error if you try!)

After preparing your kernel configuration, perform the following:

  1. Compile new kernel
  2. Install new kernel
  3. cd /dev
  4. sh MAKEDEV snd1 (there is a reason for using snd1 instead of snd0)

After doing the above, cd to / and put the following lines in your /kernel.config:

 USERCONFIG pnp 1 0 os enable irq0 5 drq0 0 drq1 1 port0 0x220 port1 0x300 port2 0x388 pnp 1 1 os enable port0 0x201 quit 

Then add these to /boot.conf:

 load /kernel load t userconfig_script /kernel.config autoboot 

After doing the above, reboot.

While booting you should see your soundcard detected unless there is something wrong.

PnP SoundBlaster Pro

Note: Make sure you know your irq and dma for your soundcard.

Put the following in your kernel configuration:

 controller pnp0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 

Then compile the new kernel, install, and reboot. When it comes back up, do the following:

 cd /dev sh MAKEDEV snd0 

Then cd to / and put this in your /kernel.config:

 pnp 1 0 enable os port0 0x220 port1 0x330 port2 0x388 irq0 9 drq0 1 drq1 5 pnp 1 1 enable os port0 0x220 pnp 1 2 enable os port0 0x620 port1 0xa20 port2 0xe20 quit 

Put this in /boot/boot.conf or /boot/boot.rc (the latter is for the latest boot loader):

 load /kernel load t userconfig_script /kernel.config autoboot 

Once again, reboot.

SoundBlaster 32 and AWE 32 or 64

Please refer to for instructions on setting up your SoundBlaster 32 and/or AWE 32 or 64.

Anonymous

On the web

Further reading from the FreeBSD community and the projects named in this article.

Issue contents

Issue 4 · Apr 1999

qmail

Migrating from Sendmail on a FreeBSD System

By Nathan Underwood

Intro As we talked about in last month's issue, qmail is "a secure, reliable, efficient, and simple message transfer agent." If you need a refresher...

Read the article

Issue 4 · Apr 1999

PPP

Connecting to your ISP with PPP

By Dan Langille

Which PPP? There are two types of PPP but we will deal only with one of them: User PPP. This is the version of PPP which is commonly used by people....

Read the article

Issue 4 · Apr 1999

Window Maker

Running Window Maker as your X11 wm

By Jim Mock

If you run FreeBSD on your desktop system, or even dual boot with another OS, chances are you run X on it. You also probably have a favorite window...

Read the article