How to change probe order of HDA sound devices?

Andre Albsmeier Andre.Albsmeier at siemens.com
Tue Jun 25 13:14:34 UTC 2013


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: <NVIDIA GF119 HDA Controller> mem 0xfea7c000-0xfea7ffff irq 17 at device 0.1 on pci8
> > ...
> > hdac1: <Intel 82801G HDA Controller> mem 0xfebfc000-0xfebfffff irq 19 at device 27.0 on pci0
> > ...
> > hdacc0: <NVIDIA (0x001c) HDA CODEC> at cad 0 on hdac0
> > hdaa0: <NVIDIA (0x001c) Audio Function Group> at nid 1 on hdacc0
> > pcm0: <NVIDIA (0x001c) (HDMI/DP 8ch)> at nid 4 on hdaa0
> > pcm1: <NVIDIA (0x001c) (HDMI/DP 8ch)> at nid 5 on hdaa0
> > hdacc1: <Realtek ALC882 HDA CODEC> at cad 0 on hdac1
> > hdaa1: <Realtek ALC882 Audio Function Group> at nid 1 on hdacc1
> > pcm2: <Realtek ALC882 (Rear Analog)> at nid 21 and 26 on hdaa1
> > pcm3: <Realtek ALC882 (Rear Analog)> at nid 20 and 24 on hdaa1
> > pcm4: <Realtek ALC882 (Analog)> at nid 22 and 28 on hdaa1
> > pcm5: <Realtek ALC882 (Rear Analog Line-out)> at nid 23 on hdaa1
> > pcm6: <Realtek ALC882 (Front Analog Headphones)> at nid 27 on hdaa1
> > pcm7: <Realtek ALC882 (Rear Digital)> 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


More information about the freebsd-multimedia mailing list