From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 9 04:05:18 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5584D1065672; Tue, 9 Sep 2008 04:05:18 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 415A48FC36; Tue, 9 Sep 2008 04:05:18 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id BFDB933C62; Mon, 8 Sep 2008 21:05:36 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 6959E33C5B; Mon, 8 Sep 2008 21:05:36 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18629.62972.243803.679154@almost.alerce.com> Date: Mon, 8 Sep 2008 21:05:16 -0700 To: swell.k@gmail.com In-Reply-To: <863akbq9y4.fsf@gmail.com> References: <18628.22210.414995.987246@almost.alerce.com> <863akbq9y4.fsf@gmail.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-multimedia@freebsd.org, Alexander Motin Subject: Re: help understanding sound/snd_hda on mac pro w/ -STABLE. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 04:05:18 -0000 swell.k@gmail.com writes: > George Hartzell writes: > > [...] > > An even simpler question would be, how can I test the other pcm > > devices? > > If you look closely at /dev/sndstat output you'll notice there is > `default' keyword on one of the pcm's. To change it you have to > set hw.snd.default_unit accordingly. It's documented in sound(4). > Next time you'll run mpg123 it will use different /dev/dsp. bingo, at least a little bit with Alexander's 20080905 patch. With hint.hdac.0.config="gpio1" in /boot/device.hints and hw.snd.default_unit="2" I can use mpg123 to play sound out of the line-out jack in the back of the unit. I've tried combinations of gpio0, gpio1, gpio2 and default_unit's of 0,1,2,3 and can't get sound out of the headphone jack on the front of the machine. Thanks for the patch and the help understanding what's going on! g.