From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 01:41:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B38EB1065677 for ; Wed, 15 Feb 2012 01:41:27 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 44AB28FC1A for ; Wed, 15 Feb 2012 01:41:26 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so478151wgb.31 for ; Tue, 14 Feb 2012 17:41:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=OmonGntZ3hhWe0bskWkXWGtN5l2vih2/w8kgxMl1JB0=; b=mk4DcJnIvGBSt00q51Ehi2mp4UH5U1cChYHQw9oWWD+GdJ4t4YmGvGXh1wlHCxjNZ3 a0lI5Gj3Pdo9yfr4YRkQGsTBhYPq6Hy+DNKp1XGTxBOHwt8AIIfgzQSm57aSIY1tngqK 1t3Ge2a46WLTQObSZzuUjfEQXkgoGGknLIE5g= Received: by 10.180.101.101 with SMTP id ff5mr5486466wib.14.1329270086263; Tue, 14 Feb 2012 17:41:26 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id q7sm30414401wix.5.2012.02.14.17.41.24 (version=SSLv3 cipher=OTHER); Tue, 14 Feb 2012 17:41:25 -0800 (PST) Date: Wed, 15 Feb 2012 01:41:22 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120215014122.2b355aa6@gumby.homeunix.com> In-Reply-To: <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu> References: <214979068.173438.1329263776548.JavaMail.root@mail-01.cse.ucsc.edu> <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD / Gnome / Audio X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 01:41:27 -0000 On Tue, 14 Feb 2012 16:00:35 -0800 (PST) Tim Gustafson wrote: > Audio is working in that I can play a video in Firefox and hear the > audio, but it's currently coming out the wrong sound card (for > whatever reason, Dell's audio card shows up twice: once for the > internal speaker and once for the external speaker/headphone jacks). > So I can't tell Gnome to push the audio out /dev/dsp1 now, rather > than /dev/dsp0. I think you probably just need to set hw.snd.default_unit. e.g. I have: $ dmesg |grep pcm pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 1 nid 1 on hdac0 pcm2: at cad 2 nid 1 on hdac0 pcm3: at cad 3 nid 1 on hdac0 pcm4: at cad 0 nid 1 on hdac1 pcm5: at cad 0 nid 1 on hdac1 pcm6: at cad 0 nid 1 on hdac1 and in /etc/sysctl.conf I have hw.snd.default_unit=4 to select the analogue output from the motherboard rather than (I presume) the HDMI output from the graphics card.