From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 14:37:55 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 DF0921065670; Tue, 6 Jan 2009 14:37:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 687888FC0C; Tue, 6 Jan 2009 14:37:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2CD22.dip.t-dialin.net [217.226.205.34]) by redbull.bpaserver.net (Postfix) with ESMTP id CFDEA2E272; Tue, 6 Jan 2009 15:37:44 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5E9B412F822; Tue, 6 Jan 2009 15:37:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1231252652; bh=9U7Yzk7LCbTnba8ew/iYUWcB3v8r3Ga+V SW5BzRQkCg=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2tgUt4bLOVnqnevWcnc5Cgfq53KzUkdu2YHVMrD+bbR/2cd+rSqN74+XYHUOLncQD ffXy8BBjYoePt1hD97J2ZfNPl5ZZ1k1ZGG4kTa/lXdK4TtrVhHg3r22fIt6HeATJwPX UptD+ugHyjVal5G2dF93/gDtK4IIk0dbWHTm/gCXW3+SqVFd3AxqgmU2Kb61NPCnxah GDtfKq0djgK2dH3lWLuYFxPZuPd1qQ14RtBvpCqI8ulKoMDrymkVXEe5vOXqMDPSvCv 1QkOiwv7arLVsszbS4hxZD4waP6kdXUK4+mjnIE+GoG+vLd9oddwuKNg4sLjlGUqSYz cGOMuCazA== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n06EbRof048217; Tue, 6 Jan 2009 15:37:27 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 06 Jan 2009 15:37:25 +0100 Message-ID: <20090106153725.10034o5c6ymot4m8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 06 Jan 2009 15:37:25 +0100 From: Alexander Leidinger To: Alexander Motin References: <49628626.40202@FreeBSD.org> <20090106072511.16463froljaeoy80@webmail.leidinger.net> <4963236D.9050703@FreeBSD.org> In-Reply-To: <4963236D.9050703@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: CFDEA2E272.5DD94 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, TW_SN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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 14:37:55 -0000 Quoting Alexander Motin (from Tue, 06 Jan 2009 =20 11:25:01 +0200): > 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. I agree... so we don't have a return value for the probe which =20 basically tells that we want to see the probe called for this device =20 again, after all other devices where probed? Would be useful here. If this is not possible, I think we need something in the release =20 notes about this. Maybe "The snd_hda driver now supports HDMI audio =20 ports of graphic cards. This may result in additional audio devices =20 after an update from 7.[01] and even replacing the previous default =20 sound device. To change the default device in this case do ...." >> 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. Should be mentioned in the release notes too. There's the possibility =20 that an user get's a different default device, so we should be able to =20 say "we told you so even in the release notes". Bye, Alexander. --=20 But it does move! =09=09-- Galileo Galilei http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137