## Setting up a PnP Soundcard
## Anonymous
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 .
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:
- Compile new kernel
- Install new kernel
- cd /dev
- 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
Return to Issue #4
|