How to change probe order of HDA sound devices?

Andre Albsmeier Andre.Albsmeier at siemens.com
Wed Jun 26 06:03:16 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
> -----

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


More information about the freebsd-multimedia mailing list