Re: FreeBSD 8.0: how to exchange order of recognized HDA devices?

From: Thierry Herbelot <thierry.herbelot_at_free.fr>
Date: Wed, 13 May 2009 10:03:32 +0200
Le Wednesday 13 May 2009, O. Hartmann a écrit :
> The problem occured after the installation of an ATI HD4670 graphics
> board, on which one can find an additional HDA device found by the
> kernel before the on-board HDA device is found.
> So many clients, like vlc, mplayer etc. do have problems - they either
> play no sound through the usual pathways (via on-board soundcard/chip
> and the attached speakerset and/or headphones).
> I see 4 mixer-devices: mixer0 through mixer3. mixer0 seems to be
> attached to the graphics-card, mixer1 shows the usual devices I
> recognize and mixer 2 and 3 are unknown to me, they show up only 2
> facilities.
>
> To make things simple: is there a way to change order of the found HDA
> controller?

Hello,

I am using a quick and dirty workaround for the same issue under -stable : I 
am loading the snd_hda from /etc/rc.local (i.e. late in the boot process) 
instead of via the loader (from /boot/loader.conf)

then, the snd_hda uses the "right" physical device (this is with a 780G-based 
integrated motherboard)

	Cheers

	TfH

PS : dmesg extract :
hdac0: <ATI SB600 High Definition Audio Controller> mem 0xfe024000-0xfe027fff 
irq 16 at device 20.2 on pci0
hdac0: HDA Driver Revision: 20090131_0127
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC885
hdac1: <ATI RS780 High Definition Audio Controller> mem 0xfdffc000-0xfdffffff 
irq 19 at device 5.1 on pci1
hdac1: HDA Driver Revision: 20090131_0127
hdac1: [ITHREAD]
hdac1: HDA Codec #0: ATI RS690/780 HDMI
pcm0: <HDA Realtek ALC885 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC885 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC885 PCM #2 Digital> at cad 0 nid 1 on hdac0
pcm3: <HDA ATI RS690/780 HDMI PCM #0 Digital> at cad 0 nid 1 on hdac1

>
> Thi8s is what 'dmesg|grep HDA' reveals:
>
> --
> hdac0: HDA Codec #0: ATI R6xx HDMI
> pcm0: <HDA ATI R6xx HDMI PCM #0 Digital> at cad 0 nid 1 on hdac0
> hdac1: HDA Codec #0: Analog Devices AD1988B
> pcm1: <HDA Analog Devices AD1988B PCM #0 Analog> at cad 0 nid 1 on hdac1
> pcm2: <HDA Analog Devices AD1988B PCM #1 Analog> at cad 0 nid 1 on hdac1
> pcm3: <HDA Analog Devices AD1988B PCM #2 Digital> at cad 0 nid 1 on hdac1
> --
>
>
> Or do i miss something unrevealed?
>
> Thanks in advance,
> Oliver
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed May 13 2009 - 06:03:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC