From owner-freebsd-current@FreeBSD.ORG Fri Oct 3 08:12:38 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 904FD1065686; Fri, 3 Oct 2008 08:12:38 +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 C8C4D8FC0A; Fri, 3 Oct 2008 08:12:37 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 223296063; Fri, 03 Oct 2008 11:12:36 +0300 Message-ID: <48E5D3F3.1070504@FreeBSD.org> Date: Fri, 03 Oct 2008 11:12:35 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Alexander Leidinger References: <1222892584.00020319.1222880402@10.7.7.3> <48E47ADF.7030004@FreeBSD.org> <20081002144243.3f2e7310@ernst.jennejohn.org> <48E4CC6C.6050407@FreeBSD.org> <20081002194411.387b7f32@ernst.jennejohn.org> <48E526A6.8000107@FreeBSD.org> <48E54290.5010600@FreeBSD.org> <48E54B75.3010307@FreeBSD.org> <20081003094913.18626ml1ym0aaqgw@webmail.leidinger.net> In-Reply-To: <20081003094913.18626ml1ym0aaqgw@webmail.leidinger.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Joel Dahl Subject: Re: regression in HDA functionality X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 08:12:38 -0000 Alexander Leidinger wrote: >> In this specific case man has actually TWO sound cards in system: one >> with HDMI output and another with set of connectors on motherboard. >> Driver itself worked perfectly! It is not a driver problem that video >> card's codec was detected first by PCI bus while it's HDMI output is >> not connected! >> >> If you think that driver should have some additional logic in handling >> of such cases - describe it please. I don't see why driver should not >> use digital outputs or how independent soundcards should be ordered >> (actually it is not driver's business to enumerate soundcards). > > Can you change the order of pcm devices from one soundcard? I understand > that you can not change the PCI probe order, but maybe the order of > pcm1-3 if pcm1-3 are on the same hardware. Generally it is possible. > If this is possible, it may be better to have the pcm device first which > is most likely used. Usually present way is correct enough. Even in this case, if not a HDMI port, pcm0 would be the main rear audio port, pcm1 - auxiliary front headphones port and pcm2 digital I/O. So it is hard to manage better. One more interesting possible option here is to make headphones connector to redirect main output. Driver and codec allow it. But it is completely depends on codec configuration. If hardware vendor preferred not to configure it, why driver should try to be clever? The only thing driver could do, but not doing now is differentiating digital and analog devices, so in some situation may happen that pcm1 playback is analog, while record is digital. But it is surely not requirement, but more like pleasant feature I think. -- Alexander Motin