*BSD News Article 31746


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!EU.net!Germany.EU.net!gomel.knirsch.de!knobel.knirsch.de!knobel.knirsch.de!andreas
From: andreas@knobel.knirsch.de (Andreas Klemm)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Conf. Sound Blaster
Date: 17 Jun 1994 11:56:31 GMT
Organization: $HOME, D-41469 Neuss
Lines: 53
Message-ID: <2ts321$2u4@knobel.knirsch.de>
References: <2tok9m$63t@panix3.panix.com>
NNTP-Posting-Host: knobel.knirsch.de
X-Newsreader: TIN [version 1.2 PL2]

Boris Pitel (scibp6p@panix.com) wrote:
:     Hi, everybody!
:  I am running FreeBSD 1.0, and for installations use inst_package ( one with
: pkg_add, pkg_delete, etc...)

:   I was trying today to install sblaster_kern package, but I don't understand
: some basic things, I think!
:   1) I don't think that installation script submitted the compilation of the
: sb.c, have I do it myself? I didn't see any Makefile in the elated places?
: After this scipt invokes some mknodes ?
: 2) I have to put manually I think the addess and IRQ of my SB card - in 
: which file ?
: 3)Do I have to recompile the kernel? How? - I didn't install the sources?

Perhaps you should get the FreeBSD 1.1R kernel sources. There is soundblaster
aupport already builtin. In the soon coming FreeBSD 1.1.5 the Soundblaster
support is announced to be better. Perhaps you wait until then ?!

Anyway ... I run 1.1 and have a not yet fully supported Soundblaster 16.
It runs well with the Soundblaster 16 driver.

The following file gives you hints, how to configure a kernel with
soundblaster support:

-rw-r--r--    1 bin          1546 Oct 29  1993 /sys/i386/doc/sound.doc

I used the following settings in the kernel. Note: I have a DMA busmastering
SCSI controller (AHA1542B). So I had to change the default settings of the
soundcard:

	changed the midi i/o port from 0x330 (which conflicts with AHA)
				to 0x300
	and changed the IRQ to use IRQ 5.

#options	EXCLUDE_CHIP_MIDI	# \  sound driver options
#options	"EXCLUDE_MPU401"	#  \ exclude specified
options		EXCLUDE_GUS		#  / device or chip
#options	EXCLUDE_SBPRO		# /  from driver

device		snd1 at isa? port 0x388 irq 0 drq 0 vector sbintr
device		snd2 at isa? port 0x220 irq 5 drq 1 vector sbintr
#device		snd5 at isa? port 0x300 irq 5 drq 0 vector mpuintr

That's it. Don't forget to create /dev/audio and other devices using
the MAKEDEV script in /dev !

Good luck !

	Andreas ///

--
Andreas Klemm                 /\/\____ Wiechers & Partner Datentechnik GmbH 
andreas@knobel.knirsch.de ___/\/\/     andreas@wupmon.wup.de (Unix Support)