*BSD News Article 22600


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!sztaki!pink
From: pink@fsz.bme.hu (Szabolcs Szigeti (PinkPanther))
Subject: Re: soundblaster for NetBSD-09 ?
Message-ID: <CF5FG4.LHB@sztaki.hu>
Sender: news@sztaki.hu (News system)
Organization: Department of Process Control, Technical University of Budapest, HUNGARY
References: <29tj87$dfr@news.cs.tu-berlin.de>
Date: Tue, 19 Oct 1993 14:40:52 GMT
Lines: 44

In article <29tj87$dfr@news.cs.tu-berlin.de> nuggets@cs.tu-berlin.de (Lars Hentschke) writes:
>Hi...
>
>I'm searching for a soundblaster-driver on NetBSD-09.
>
>(someone has posted a patch for soundblaster-driver1.5.,
> but after configuring my kernel was in
> /sys/arch/i386/compile/MYKERNEL/vector.h
> a line with "sb0mask", but this was nowhere defined
> and ld can't find this symbol.
> I replaced this with ttymask and linking runs ok.
> I booted with this kernel, and my Sounblaster
> was detected on 220 irq 5, -- all right.
> I mknoded all sb-devices, like i declared in cdevs[]-Array,
> but a 'cat /dev/sb_XX' results in 'device not configured'
> Any suggestions? )
>
> dis denne ..
>   Lars.
Hi, 
	I posted those patches, they were a really below average piece of
code, so i reworked that driver and uploaded it to agate.berkeley.edu
in /pub/incoming/sb-netbsd09.shar.
This driver is now supposed to work with at least NetBSD-current of Oct-02.

For the sb0mask use:

device	sb0 at isa? port 0x220 tty irq ....
			       ^^^-or bio i haven't figured out what
			       is better. Somebody?

Are you sure that you are using the proper major & minor device numbers?
Or sometimes conf.c is not recompiled if a proper make depend wasn't done,
so you can't access devices even that they are compiled in.

Happy noise making!
	szabolcs


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|Jimbo's guide to getting flamed         |  Szabolcs  Szigeti               |
|#71: write boring SIG2 stupid .signatures  |  Internet: pink@fsz.bme.hu       |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=