From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 26 06:03:16 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 14A146DE for ; Wed, 26 Jun 2013 06:03:16 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBA81FB3 for ; Wed, 26 Jun 2013 06:03:15 +0000 (UTC) Received: from mail3.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.13.6/8.13.6) with ESMTP id r5Q5pilC028170; Wed, 26 Jun 2013 07:51:45 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail3.siemens.de (8.13.6/8.13.6) with ESMTP id r5Q5piOx009927; Wed, 26 Jun 2013 07:51:44 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.7/8.14.7) id r5Q5piwf034804; Date: Wed, 26 Jun 2013 07:51:44 +0200 From: Andre Albsmeier To: Boris Samorodov Subject: Re: How to change probe order of HDA sound devices? Message-ID: <20130626055144.GA1389@bali> References: <20130625110115.GA1525@bali> <51C984EA.1060603@passap.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <51C984EA.1060603@passap.ru> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-multimedia@freebsd.org" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 06:03:16 -0000 On Tue, 25-Jun-2013 at 13:54:18 +0200, Boris Samorodov wrote: > 25.06.2013 15:01, Andre Albsmeier пишет: > > I replaced my old non-sound capable graphics card with a new one > > (Nvidia GeForce GT 610). > > > > Now all the sound hardware of this new card gets probed _before_ > > my standard sound device (Realtek), shifting the latter from > > hdac0 to hdac1: > > > > hdac0: mem 0xfea7c000-0xfea7ffff irq 17 at device 0.1 on pci8 > > ... > > hdac1: mem 0xfebfc000-0xfebfffff irq 19 at device 27.0 on pci0 > > ... > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > pcm0: at nid 4 on hdaa0 > > pcm1: at nid 5 on hdaa0 > > hdacc1: at cad 0 on hdac1 > > hdaa1: at nid 1 on hdacc1 > > pcm2: at nid 21 and 26 on hdaa1 > > pcm3: at nid 20 and 24 on hdaa1 > > pcm4: at nid 22 and 28 on hdaa1 > > pcm5: at nid 23 on hdaa1 > > pcm6: at nid 27 on hdaa1 > > pcm7: at nid 30 on hdaa1 > > > > How can I get back the old behaviour so that the Realktek > > card will sit on hdac0? Tried the usual suspects like > > > > hint.hdacc.0.at=hdac1 > > hint.hdacc.1.at=hdac0 > > > > but this didn't work. > > Maybe you just need to change the default? > ----- > sysctl hw.snd.default_unit=1 > ----- As said before this doesn't help since I need the same pcmX, dspX and mixerX devices as without the Nvidia card. However, I fixed it by simply disabling the whole Nvidia crap: hint.hdac.0.cad0.nid4.config="as=0" hint.hdac.0.cad0.nid5.config="as=0" hint.hdac.0.cad0.nid6.config="as=0" hint.hdac.0.cad0.nid7.config="as=0" This doesn't make the Realtek probe before Nvidia but all pcm, dsp and mixer devices sit where they have been before and that's what I need. Thanks anyway, -Andre