From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 25 13:14:34 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E1DF7E7 for ; Tue, 25 Jun 2013 13:14:34 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id 379C91A4D for ; Tue, 25 Jun 2013 13:14:33 +0000 (UTC) Received: from mail3.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.13.6/8.13.6) with ESMTP id r5PDEWIh005701; Tue, 25 Jun 2013 15:14:32 +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 r5PDEWAh032027; Tue, 25 Jun 2013 15:14:32 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.7/8.14.7) id r5PDEWwk031677; Date: Tue, 25 Jun 2013 15:14:31 +0200 From: Andre Albsmeier To: Boris Samorodov Subject: Re: How to change probe order of HDA sound devices? Message-ID: <20130625131431.GA2209@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: Tue, 25 Jun 2013 13:14:34 -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 > ----- No, this doesn't help as for various reasons I need the pcmX, dspX and mixerX devices unchanged. The drastic approach would be to simply modify hdac.c (in a way that the Nvidia thing won't get probed at all) but if there was a cleaner solution I'd prefer that... -Andre > > Please, consult SOUND(4) for more details. > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > -- NOT sent from any iCrap or similar bullshit