## Installing a PnP Soundcard ## Anonymous Make sure that your soundcard is plug and play before you try the following. Important: 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. For 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. For 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. For SoundBlaster 32 and AWE 32 or 64 Please refer to http://www.neosoft.com/~conrads/awepnp-freebsd.html for instructions on setting up your SoundBlaster 32 and/or AWE 32 or 64. Anonymous $Id: sound.txt,v 1.1 2000/02/16 08:07:50 jim Exp $