Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 18:30:09 +0200 (CEST)
From:      volf@oasis.IAEhv.nl (Frank Volf)
To:        Trenton Schulz <twschulz@gloria.cord.edu>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: Aureal Soundcard in Stable...
Message-ID:  <20001026163009.18A3633@avalon.oasis.IAEhv.nl>
In-Reply-To: <Pine.BSI.4.10.10010232051230.12687-100000@gloria.cord.edu> "from Trenton Schulz at Oct 23, 2000 08:55:04 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Trenton Schulz wrote:
> I don't know if anyone else has noticed this but using the Aureal drivers
> from:
> http://www.cis.ohio-state.edu/~matey/au88x0/
> aren't working in -Stable for at least the last week or so.  The kernel I
> built for 4.1.1-Release works just fine, but now all I get is a page fault
> followed by a panic.  Have I missed something that recently changed or does
> this driver just not work anymore?

Try this patch. I'm not 100% sure about the exact FreeBSD_version where the
api changed occured (it may need to be >= 410000), but this works for me
with a -STABLE kernel.

Frank



--- au88x0.c.save	Fri Sep 15 05:59:30 2000
+++ au88x0.c	Sun Oct 22 13:37:32 2000
@@ -200,7 +200,7 @@
 static int	 auchan_getptr(void *data);
 static pcmchan_caps *auchan_getcaps(void *data);
 
-#if __FreeBSD_version > 500000
+#if __FreeBSD_version > 410000
 static u_int32_t au_playfmt[] = {
 	AFMT_U8,
 	AFMT_STEREO | AFMT_U8,
@@ -274,7 +274,7 @@
 static snd_mixer au_mixtemplate = {
 	"Aureal Vortex 88x0 mixer",
 	aumix_init,
-#if __FreeBSD_version > 500000
+#if __FreeBSD_version > 410000
 	NULL,
 #endif
 	aumix_set,
@@ -891,7 +891,7 @@
 	au_mixer = (snd_mixer *)malloc(sizeof(*au_mixer), M_DEVBUF, M_NOWAIT);
 	if (au_mixer == NULL) goto bad;
 	bcopy(&au_mixtemplate, au_mixer, sizeof(au_mixtemplate));
-#if __FreeBSD_version > 500000
+#if __FreeBSD_version > 410000
 	mixer_init(dev, au_mixer, au);
 #else
 	mixer_init(d, au_mixer, au);



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001026163009.18A3633>