Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Nov 2010 21:45:11 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>,  FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Problems with hda
Message-ID:  <4CD30D47.5020101@FreeBSD.org>
In-Reply-To: <mailpost.1288896148.9689511.5904.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>
References:  <mailpost.1288896148.9689511.5904.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
> Thanks to a generous FreeBSD user I have a shiny new Dell Optiplex 960,
> with the following device:
> 
> hdac0: <Intel 82801JD High Definition Audio Controller> mem
> 0xf7adc000-0xf7adffff irq 16 at device 27.0 on pci0
> hdac0: HDA Driver Revision: 20100226_0142
> hdac0: HDA Codec #0: Analog Devices AD1984A
> pcm0: <HDA Analog Devices AD1984A PCM #0 Analog> at cad 0 nid 1 on hdac0
> pcm1: <HDA Analog Devices AD1984A PCM #1 Analog> at cad 0 nid 1 on hdac0
> 
> There's 2 problems. When I plug the headphones in there are sounds,
> sometimes a low-level sound like a tea kettle whistling, and sometimes a
> louder screeching sound. 

Try to play with mixer. Especially with "speaker", if you have it. Some
unconnected CODEC inputs may receive random radio interference from
other system components.

> The other problem is that the front headphone
> jack doesn't work. The rear one works, but this is less than convenient.
> :) 

Have you tried to playback via pcm1? It could go exactly there.

> Windows and ubuntu linux do not have either problem with the same
> hardware.

Linux and Windows often have hardcoded drivers for specific hardware.
Our driver tries to be universal and honor standards, unluckily often
violated by BIOS makers.

For more information about CODEC and it's configuration you need to get
verbose dmesg. Details are in snd_hda(4).

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CD30D47.5020101>