From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 16 19:06:11 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97EB81065675 for ; Sun, 16 Nov 2008 19:06:11 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 386FD8FC19 for ; Sun, 16 Nov 2008 19:06:10 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id mAGJ69u0021826; Sun, 16 Nov 2008 20:06:09 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49206F20.7010409@fgznet.ch> Date: Sun, 16 Nov 2008 20:06:08 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: FreeBSD PowerPC ML Subject: Re: aoa driver X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 19:06:11 -0000 Hi Marco, Marco Trillo wrote: > I've uploaded a tarball with the new version of the 'aoa' (apple > onboard audio) driver. This version makes use of the new "aoagpio" > device available in -current, replacing the ad-hoc GPIO routines of > the previous version. Also the debug printfs are disabled. Otherwise > it is the same as the previous version. > > The tarball: > An additional patch for some PowerBooks: > > > The supported devices are Burgundy, Screamer, Tumbler, and Snapper. > Thanks to everyone who tested the previous versions! > > Some missing stuff (hardware which I don't have, or features I'm not > interested in adding at the moment): > > - Recording is not supported. > - The 'Onyx' codec (found mainly on G5 machines and some PowerBooks) > is not supported. It should be easy to add, as it is just another I2S > codec. > - The 'Daca' found on the clamshell iBooks is not supported. > - The Mac Mini should be supported but without volume control (always > full-scale output). The Mac Mini does not have hardware with analog > volume support. The FreeBSD sound framework supports digital volume > control, but the current driver does not enable it if no hardware > support is available. Same AluBook: aoagpio0: gpio 5 on macgpio0 aoagpio1: gpio 6 on macgpio0 aoagpio2: gpio 11 on macgpio0 aoagpio3: extint-gpio 15 irq 61 on macgpio0 aoagpio3: [ITHREAD] .... pcm0: codec: at address 6Ah on kiic0 0a: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01: 60 43: 02 02: 01 00 00 00 00 00 04: 00 00 00 00 00 00 05: 72 06: 72 07: 10 00 00 00 00 00 00 00 00 08: 10 00 00 00 00 00 00 00 00 21: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23: 00 00 00 24: 00 00 00 40: c2 Is the above still debug or do you always intend to dump these addresses? Working fine here, with the patch you mentioned above. Thanks, Andreas