From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 28 17:38:07 2009 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 5F74A1065674 for ; Fri, 28 Aug 2009 17:38:07 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 876308FC12 for ; Fri, 28 Aug 2009 17:38:06 +0000 (UTC) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 252813981; Fri, 28 Aug 2009 20:37:59 +0300 Message-ID: <4A9815F3.9010601@FreeBSD.org> Date: Fri, 28 Aug 2009 20:37:55 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Andriy Gapon References: <4A980B19.4090801@icyb.net.ua> In-Reply-To: <4A980B19.4090801@icyb.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: forcing two channel output X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 17:38:07 -0000 Andriy Gapon wrote: > Please see verbose dmesg here: > http://people.freebsd.org/~avg/ga-ma780g-ud3h/verbose.dmesg.txt > > I get 4 pcm devices and I understand their functions as following: > 0. digital hdmi > 1. analog rear > 2. analog front > 3. digital > > It seems that when I use dsp1 sound goes to 4 jacks at the rear. Indeed. Your Codec is configured for 7.1 output, but snd_hda at this moment does not support more then two channels. So for historical reason it duplicates stereo output to every channel pair. I am going to look at this again after 8.0 release. > But I have only a simple stereo system connected to only one output. > > Should I do anything? You can, if you want/need it. > Can I tell sound driver and hardware to not bother and route sound to only one output? > Should I simply disable the unused jacks (with as=0) or maybe split them off to > separate pcms that I won't use? You can do whatever you like: disable them with as=0 or turn into many separate devices with as=15, or even turn them into many additional inputs. -- Alexander Motin