From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 28 03:43:48 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 0562016A41F for ; Sat, 28 Jul 2007 03:43:48 +0000 (UTC) (envelope-from loafier@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id B57BB13C480 for ; Sat, 28 Jul 2007 03:43:47 +0000 (UTC) (envelope-from loafier@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so257496anc for ; Fri, 27 Jul 2007 20:43:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=AW3GdaxfUNwK2SFgwl8w0kpZcStvd+OcACF6/2SgW8BpGzGDaBMLwG7QN/SjqqUxjoYLh5taIaybRt8/Tl9I3tE46kFyHuTFfR+qU/WL/d02T7lbQwGBle8KiX/QKrl5HuP390xIzePd44E4LeLy4GFV4vpXqSmo/gujR9z9iTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=BjazVS9qAbfyqwYigr+jtt5Anl+hXYho9fITaV7vNM6sFdNJzYwtUs5gtr9vDiXi0w4eV1jMoWRPxyJJ9YyMbs/eX5N2zpSxj/Zt1ynPI5C6v2DHWtNJ/sUOGPpG9uOfcmVnfdHlmwM8/Gc6oHcnQbgsthhYXE5U6+H8phLz5Xk= Received: by 10.100.14.19 with SMTP id 19mr3467085ann.1185594226517; Fri, 27 Jul 2007 20:43:46 -0700 (PDT) Received: by 10.100.13.14 with HTTP; Fri, 27 Jul 2007 20:43:46 -0700 (PDT) Message-ID: Date: Fri, 27 Jul 2007 20:43:46 -0700 From: "Christopher Davis" Sender: loafier@gmail.com To: multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: e3b3c48cf645ed03 Cc: "M. Warner Losh" 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 03:43:48 -0000 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. -- Christopher Davis