From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 22 18:19:58 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AD06FB3; Wed, 22 Jan 2014 18:19:58 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5B5913D9; Wed, 22 Jan 2014 18:19:57 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0MHoTfE019494; Wed, 22 Jan 2014 18:50:44 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E004E5.3080608@fgznet.ch> Date: Wed, 22 Jan 2014 18:50:29 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Justin Hibbits , Alexey Dokuchaev Subject: Re: Tightening kernel for Mac Mini G4 References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> In-Reply-To: <20140122082542.745de133@zhabar.gateway.2wire.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 18:19:58 -0000 On 22.01.14 17:25, Justin Hibbits wrote: > On Wed, 22 Jan 2014 15:33:23 +0000 > Alexey Dokuchaev wrote: >> Fourth question is of less importance, but still. In >> powerpc/GENERIC, I see this sound support section: >> >> device sound # Generic sound driver (required) >> device snd_ai2s # Apple I2S audio >> device snd_davbus # Apple DAVBUS audio >> device snd_uaudio # USB Audio >> >> But nonetheless: >> >> $ mixer >> mixer: /dev/mixer: No such file or directory >> >> Is internal sound card supported? If yes, which module should I load? >> >> Thanks, >> >> ./danfe > > Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I > can take a look at it. Internal sound on most PowerPC Apple hardware > is supported, I'm curious why yours isn't. Sound works but it lacks a 'visible' codec. In the device tree there is no codec mentioned. It has a simple DAC called toonie. And the driver for this is missing. If the codec is missing, the mixer device is also missing. It is enough when you have: device sound # Generic sound driver (required) device snd_ai2s # Apple I2S audio If you have an external USB gadget then you can use snd_audio. Works fine with low-cost (high-quality) usb-ad/da. Andreas