*BSD News Article 84624


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!math.ohio-state.edu!news.cis.ohio-state.edu!nntp.sei.cmu.edu!fs7.ece.cmu.edu!cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!fas-news.harvard.edu!bleupen.student.harvard.edu!mhowitt
From: mhowitt@fas.harvard.edu (Matt Howitt)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help with SoundBlaster 16
Date: 10 Dec 1996 04:25:59 GMT
Organization: Harvard University
Lines: 77
Message-ID: <58ioon$f68@decaxp.harvard.edu>
Reply-To: mhowitt@fas.harvard.edu
NNTP-Posting-Host: bleupen.student.harvard.edu
Keywords: freebsd soundblaster 16
X-Newsreader: TIN [version 1.2 PL2]

Hello.

I have a SoundBlaster 16 that I am trying to get working with FreeBSD 
2.1.6. I have compiled audio support into the kernel. setting the proper 
values in sound_config.h for interrupts, base addresses, etc. I have also
added the following lines to my kernel 'config' file:

device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330

These are the factory defaults, and the DOS utility that comes with the 
SoundBlaster 16 (PnP Value edition) says that the board passes all tests 
with flying colors.

Here's what the relevant portion of the boot up message looks like:

sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13> <No such hardware>sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa

Notice: <No such hardware>

Here's what cating /dev/sndstat produces:

VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995 
freebsd-hackers@freefall.cdrom.com)
Config options: ffffffff

Installed drivers: 
Type 2: SoundBlaster
Type 6: SoundBlaster16
Type 7: SB16 MIDI


Card config: 
SoundBlaster at 0x220 irq 5 drq 1
SoundBlaster16 at 0x0 irq 65535 drq 5
SB16 MIDI at 0x330 irq 65535 drq 4294967295

Audio devices:
0: SoundBlaster 16 4.13

Synth devices:

Midi devices:
0: SoundBlaster 16 Midi

Timers:
0: System Timer

Mixers:


Notice: the strange values on the SB16 lines and the SB16 MIDI lines. 
Also, seems like there should be a mixer. (I do have a /dev/mixer,
however.)

I get very faint audio out of a pair of headphones in this configuration. 
I get no microphone input, however. I have used both the vat tool and 
xmix and have never gotten any mic input. If I cat a file to /dev/audio, 
it is faint but it comes out.

I have tried upgrading to the driver posted on Amancio Hasty's MBONE tools
page, and the audio sounds much louder (a very good thing) but mic input
still doesn't work. 

I am unable to test the microphone input from DOS or Windows because the 
machine does not have DOS or Windows.

Any help is appreciated. E-mail messages at mhowitt@fas.harvard.edu are 
best. If there is sufficient interest, I'm happy to summarize to the group.

Matt