From owner-freebsd-multimedia Thu Oct 26 9:35:19 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 64BF637B479 for ; Thu, 26 Oct 2000 09:35:16 -0700 (PDT) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id SAA20877; Thu, 26 Oct 2000 18:35:15 +0200 (MET DST) Received: from avalon.oasis.IAEhv.nl (avalon.oasis.IAEhv.nl [192.168.1.3]) by drawbridge.oasis.IAEhv.nl (Postfix) with ESMTP id 0EF3E3E24; Thu, 26 Oct 2000 18:30:16 +0200 (CEST) Received: by avalon.oasis.IAEhv.nl (Postfix, from userid 226) id 18A3633; Thu, 26 Oct 2000 18:30:09 +0200 (CEST) Subject: Re: Aureal Soundcard in Stable... In-Reply-To: "from Trenton Schulz at Oct 23, 2000 08:55:04 pm" To: Trenton Schulz Date: Thu, 26 Oct 2000 18:30:09 +0200 (CEST) Cc: freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001026163009.18A3633@avalon.oasis.IAEhv.nl> From: volf@oasis.IAEhv.nl (Frank Volf) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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