*BSD News Article 55192


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!agate!overload.lbl.gov!lll-winken.llnl.gov!enews.sgi.com!sgigate.sgi.com!swrinde!newsfeed.internetmci.com!in1.uu.net!polstra!austin.polstra.com!not-for-mail
From: jdp@polstra.com (John Polstra)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SB/Mouse/Kernel
Date: 22 Nov 1995 08:34:29 -0800
Organization: Polstra & Co., Seattle, WA
Lines: 35
Message-ID: <48vjel$82c@austin.polstra.com>
References: <Pine.BSF.3.91.951117155433.272B-100000@djw.hicom.net>
NNTP-Posting-Host: austin.polstra.com

In article <Pine.BSF.3.91.951117155433.272B-100000@djw.hicom.net>,
David J. Wilson <djw@djw.hicom.net> wrote:
> 
> 	Anyway, I decided that when I recompiled my kernel (to free some
> memory, since I don't use 80% of what comes in the generic kernel), that 
> maybe I'd put in Soundblaster support and PS/2 mouse support.  So I did that,
> adding the lines for the mouse exactly how I saw it in the FAQ file, and then
> added the SB line according to my configuration, copying the format from the
> LINT config file.  Everything went fine, except when it got to the end when it 
> builds/links the kernel (I believe it says "Loading kernel..." or something
> similar), and then I get a few linker errors.  They were basically saying that
> two functions that were for the Soundblaster didn't exist, and one function
> that was for the mouse didn't exist.

Regarding the SoundBlaster support, I had the same problem the first
time I tried to configure it.  I found that I had to configure in the
"sbmidi0" device to solve the problem.  (This is a bug in the sound
support, or at least in the commentary in LINT.)  Here is what I am
currently using:

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

Incidentally, this configuration seems to work just fine for the
built-in sound support on the Intel Endeavor motherboard.

N.B., I disabled my "lpt0" device, which was also using irq 7.  If you
don't do that, you'll have to add the "conflicts" keyword to the line
for "sb0", as shown in the LINT file.
-- 
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth