*BSD News Article 27352


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!uknet!EU.net!ieunet!news.ieunet.ie!jkh
From: jkh@whisker.hubbard.ie (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.questions
Subject: Re: PAS16 w/ FreeBSD
Date: 12 Feb 1994 17:45:12 GMT
Organization: Jordan Hubbard
Lines: 42
Distribution: world
Message-ID: <JKH.94Feb12174512@whisker.hubbard.ie>
References: <AhL_SI600iM8Q3XWgA@andrew.cmu.edu>
NNTP-Posting-Host: whisker.hubbard.ie
In-reply-to: Timothy J Kniveton's message of Sat, 12 Feb 1994 04:55:32 -0500

In article <AhL_SI600iM8Q3XWgA@andrew.cmu.edu> Timothy J Kniveton <tim+@CMU.EDU> writes:

   i am trying to install my sound card for use with FreeBSD.  it's a PAS
   16.  i put in the recommended sound device lines (for snd1,2, &3), and
   re-compiled the kernel.  i ended up with a kernel apparently too big:
   it told me that it wouldn't fit in 640k and to relink for >1MB (can
   someone explain what linking the kernel is and how to do it?)...

Well, you linked the kernel when you put the sound drivers in, so I'll
assume that you know more than you think you iknow.. :-)  You can relink
the kernel > 1MB by using the `at' keyword in your config file, like so:

config          "386bsd"        at 0xFE100000 root on wd0 swap on wd0

(this is just an example, you should keep the `root on .. swap on ..'
 the same as it currently is in your kernel config file)

This has also gone away in FreeBSD-current, with the new VM system
always putting kernels at high addresses and then reclaiming the
unused memory below.  You don't need to fool with `at' anymore.

   my question is this:  in the boot sequence when it gives me the info
   about sound, is it probing the card, or just assuming that the config
   of the kernel is correct?  also, where can i find sound utilities?

It's using the config data as a "hint" that it should look, but when
it says "snd2 at 0x220 irq 7 drq 1 on isa" (or something to that effect)
it's saying that it successfully found it.

   and finally, i tried  cat <sound.au and sound.wav> > /dev/sound and
   /dev/sound1 -- nothing happens.  is there something else i need to do?

You should be able to simply "cat sound.au > /dev/audio".  If that doesn't
work, check your speakers.. :-)

You might also check out the snd-util package on
freebsd.cdrom.com:~ftp/pub/FreeBSD/packages

					Jordan
--
Jordan K. Hubbard	FreeBSD core team	Electric Bivalves Anonymous
On the net, no one can hear you scream.