From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 09:35:03 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60AE0106564A; Tue, 6 Jan 2009 09:35:03 +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 A50C18FC17; Tue, 6 Jan 2009 09:35:02 +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.2.9) with ESMTPA id 231106763; Tue, 06 Jan 2009 11:25:02 +0200 Message-ID: <4963236D.9050703@FreeBSD.org> Date: Tue, 06 Jan 2009 11:25:01 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Alexander Leidinger References: <49628626.40202@FreeBSD.org> <20090106072511.16463froljaeoy80@webmail.leidinger.net> In-Reply-To: <20090106072511.16463froljaeoy80@webmail.leidinger.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: HEADS UP: snd_hda MFC plan X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 09:35:03 -0000 Alexander Leidinger wrote: > Quoting Alexander Motin (from Tue, 06 Jan 2009 > 00:13:58 +0200): > >> On most systems having several devices is not a problem, as mostly >> used analog connectors are usually detected first. But on some systems >> (for example, having separate HDMI ports on video cards, which are now >> also supported and often detected first), user may be required to >> explicitly configure his audio applications or by using >> hw.snd.default_unit sysctl globally specify default audio device he >> wants to use. This moment explicitly specified in updated man page and >> I am going to specify it in UPDATING. > > Is there a way to move those HDMI ports to the end (either in pcmX or in > the probing) somehow? If yes, it would be more POLA to do this instead > of requiring the users to do something. HDMI ports usually have separate PCI HDA controllers. So order of pcm devices there defined by PCI probe order. Two driver instances know nothing about each other and I don't like the idea of obtaining such knowledge. > And related: do all detected analog ports appear in a sensible order? > What I mean is again POLA related. If someone updates from 7.1 to 7.2, > will he be required to do something to get sound out of the same > connector as before when connecting to the default audio device? If not, > is it possible for you to introduce some corresponding sorting before > MFCing? Order of ports withing one codec defined by hardware vendor via codec configuration done by BIOS. That configuration supposed to be optimal for the specific system. Taking that previous driver ignored most of this information and was less functional, there sure will be some usage differences, but most configurations I have seen are quite reasonable to work just out of the box. -- Alexander Motin