snd_hda(4) pin routing issues
danfe at nsu.ru
Tue Jun 7 12:09:04 UTC 2011
On Mon, Jun 06, 2011 at 03:34:44PM +0300, Alexander Motin wrote:
> Here you have output association including three independent outputs.
> What's strange is that pin 9 is digital, while the rest two is analog.
> It is not fatal, but usually wrong. Also note that all 3 pins configured
> to have own channels with no redirection. But looking on further output
> you should see that codec has only one analog and one digital DACs!
> Tunable you were using:
> hint.hdac.0.cad0.nid13.config="as=1 seq=15"
> is correct. It makes driver to setup audio redirection for headphones
> output, using same DAC as for the line-out.
> I would also added another tunable:
> hint.hdac.0.cad0.nid9.config="as=4 seq=0"
> to separate digital output into separate device, as it should. By the
> way it will return analog recording to pcm0 device, which was pushed out
> to pcm1, as pcm0 was considered digital because of using one digital pin
Alexander, you rock! :-) After applying two tunables suggested I finally
have working playback and recording (I've patched hdac_widget_pin_patch()
function directly to avoid doing a reboot), huge thanks!
I'm having an almost forgotten feeling of something getting quite obvious
after being explained. I will try to prepare a patch for manpage as I
know there are others complaining that while it's very thorough and
detailed, it often fails to help in real life (e.g. in my case, I could
not come up with proper patch for nid9).
More information about the freebsd-multimedia