*BSD News Article 51096


Return to BSD News archive

#! rnews 2042 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoregon.edu!news.algonet.se!seunet!news2.swip.net!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to compile sound blaster support?
Date: 10 Sep 1995 07:31:26 +0100
Organization: None
Lines: 36
Message-ID: <42u0nu$9h7@awfulhak.demon.co.uk>
References: <42nbj9$2e4@agate.berkeley.edu> <42ov76$bhl@kadath.zeitgeist.net>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Amancio Hasty, Jr. (hasty@rah.star-gate.com) wrote:
: geordan@soda.CSUA.Berkeley.EDU (Geordan Rosario) wrote:
: >
: >I've asked this a couple of times and have not received working answer...once
: >and for all, how do I compile in support for my Sound Blaster 16 (I'll take
: >SB Pro drivers) on FreeBSD 2.0-R?  I just want to know what to put in the
: >config file.
: >


: Look in /sys/i386/i386/LINT for info on how to compile the driver for 
: SB16 support

This doesn't work if you've got non-standard settings... you need something
like the following:

controller	snd0                  # Basic sound support
options		CONFIGURE_SOUNDCARD   # Maybe not necessary
options		"SBC_BASE=0x220"      # My base addr (default anyway)
options		"SBC_IRQ=5"           # My IRQ - default 7
options		"SBC_DMA=1"           # 8-bit DRQ
options		"SB16_DMA=7"          # 16-bit DRQ
options		"SB16MIDI_BASE=0x300" # Midi base

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

Note the 'conflicts' bit after the port & irq so that you can have 8-bit and
16-bit sb support - I havn't tried 16-bit without 8-bit.

--
Brian <brian@awfulhak.demon.co.uk>

Don't _EVER_ lose your sense of humour....