From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 28 07:46:24 2007 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B13D16A417; Sat, 28 Jul 2007 07:46:24 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av8-2-sn3.vrr.skanova.net (av8-2-sn3.vrr.skanova.net [81.228.9.184]) by mx1.freebsd.org (Postfix) with ESMTP id 5965213C458; Sat, 28 Jul 2007 07:46:24 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: by av8-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 32A5C382BF; Sat, 28 Jul 2007 09:24:24 +0200 (CEST) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av8-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 09B0E3811F; Sat, 28 Jul 2007 09:24:24 +0200 (CEST) Received: from [192.168.1.197] (81-229-94-7-no68.tbcn.telia.com [81.229.94.7]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id E8B9837E42; Sat, 28 Jul 2007 09:24:23 +0200 (CEST) From: Joel Dahl To: Christopher Davis In-Reply-To: References: Content-Type: text/plain Date: Sat, 28 Jul 2007 09:24:23 +0200 Message-Id: <1185607463.1261.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "M. Warner Losh" , multimedia@freebsd.org Subject: Re: Aureal sound driver (aureal.c and au88x0.c?) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 07:46:24 -0000 On Fri, 2007-07-27 at 20:43 -0700, Christopher Davis wrote: > On 7/26/07, Christopher Davis wrote: > > I've edited sys/dev/sound/pci/aureal.c to use bus_alloc_resources(), > > pci_enable_io(), etc as part of my SoC project. I changed it to > > allocate only one I/O port; it previously allocated about 3 I/O ports, > > but it seemed to only use the first one. I also added the detach > > method, which was missing, but there is likely a message to send > > to the card to shut it down properly. > > > > I don't have this card, so I'm not sure if things still work. It's in my > > branch if anyone's interested in testing it out: > > > > //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c > > http://loafier.sixbit.org/aureal.c > > > > -- > > Christopher Davis > > > > I didn't notice this before, but au88x0.c seems to be a newer > driver that supports the Aureal sound cards. The aureal.c > driver probes for the Aureal Vortex 8820, and au88x0.c probes > for the 8820, 8830 and 8810 cards, according to the source > code files. au88x0.c looks like the more complete driver. Do we have any snd_aureal(4) or snd_au88x0(4) users at all? Neither of them are enabled in NOTES, and I know that aureal lacks support for both playback and recording. I wouldn't spend too much time on them if I were you. ;-) I haven't really looked at your SoC project and what you're trying to do, but the most widely used (and actively maintained) sound drivers are probably snd_hda(4), snd_ich(4), snd_atiixp(4), snd_envy24(4), snd_envy24ht(4), snd_via8233(4), snd_emu10k1(4) and snd_emu10kx(4). You probably won't have a hard time finding testers and reviewers for them. -- Joel