Date: Tue, 7 Jun 2011 19:11:11 +0700 From: Alexey Dokuchaev <danfe@nsu.ru> To: Alexander Motin <mav@FreeBSD.org> Cc: multimedia@FreeBSD.org Subject: Re: snd_hda(4) pin routing issues Message-ID: <20110607121111.GA38205@regency.nsu.ru> In-Reply-To: <4DECC964.4040009@FreeBSD.org> References: <20100731163218.GA39249@regency.nsu.ru> <20110515163619.GA49401@regency.nsu.ru> <20110516032002.GA94798@regency.nsu.ru> <20110604142511.GA2424@regency.nsu.ru> <4DECC964.4040009@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > there. 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). Thanks again, ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110607121111.GA38205>