From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 4 19:21:27 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 CE79D1065674 for ; Tue, 4 Nov 2008 19:21:27 +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 64FE18FC18 for ; Tue, 4 Nov 2008 19:21:26 +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 mA4JLN1i099677; Tue, 4 Nov 2008 20:21:24 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <4910A0B3.4070808@fgznet.ch> Date: Tue, 04 Nov 2008 20:21:23 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <490F5E89.4040608@fgznet.ch> 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: feedback: Apple Tumbler and Snapper audio: looking for testers 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: Tue, 04 Nov 2008 19:21:28 -0000 Hi Marco, Marco Trillo wrote: > Thanks a lot for testing the driver! Thank you for making it possible..... ! > Hmm... it seems that it is not able to detect the codec, so the volume > cannot be changed. > > I think the following patch should solve this problem -- it makes the > driver also look for a "layout-id" property and use that, if the other > match attempts have failed. Indeed, it does: 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 And I can set the volume with the mixer utility now. GREAT! Thanks again for writing this. Regards, Andreas P.S, if you need momre details from the dmesg, let me know. Even if you need retesting stuff.