<div dir="ltr">That would make a good wiki page. Verb tables is a common problem.<div><br></div><div style>Thanks,</div><div style>Marc</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Apr 3, 2013 at 2:58 AM, Paul Menzel <span dir="ltr"><<a href="mailto:paulepanter@users.sourceforge.net" target="_blank">paulepanter@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dear Rudolf,<br>
<br>
<br>
Am Donnerstag, den 28.03.2013, 08:36 +0100 schrieb Rudolf Marek:<br>
<br>
[…]<br>
<br>
> > No idea. As you know already, according to Jens the Verb Table format is<br>
> > undocumented and Realtek does not give out any information [2].<br>
> ><br>
> > What chip do you have? Realtek ALC887? At least that is what searching<br>
> > for »f2a85-m realtek alc« seems to suggest.<br>
><br>
> Yes  think so. I my patch will simply write that verbs.<br>
<br>
thanks to the helpful reply of the ALSA developer Takashi Iwai [1], we<br>
can use some tools from ALSA to decode the verb tables.<br>
<br>
<br>
Am Dienstag, den 02.04.2013, 12:08 +0200 schrieb Takashi Iwai:<br>
At Thu, 28 Mar 2013 22:56:37 +0100,<br>
> Paul Menzel wrote:<br>
<br>
[…]<br>
<br>
> Our developer Rudolf suggests to take the values from<br>
> ><br>
> >     /sys/class/sound/hwC1D0/init_pin_configs<br>
> ><br>
> > when running the vendor BIOS [2].<br>
><br>
> Yes, that would work.  You don't have to initialize the codec fully<br>
> just to get the initial pin configs.  Pass probe_only=1 to<br>
> snd-hda-intel driver so that it will skip the codec initializations<br>
> but just probing the codecs.  The sysfs file should be available even<br>
> in this mode.<br>
><br>
> > How can a correct verb table be verified?<br>
><br>
> It's difficult to say what's correct in general, because the pin setup<br>
> is what's really depending on the hardware.  Also, BIOS doesn't always<br>
> give a correct pin config.  There might be the pin config overridden<br>
> by *.INI file on Windows.<br>
><br>
> Also, BIOS may set up more than pin configs.  It may set also some<br>
> COEF verbs.<br>
><br>
> > As for the ASRock E350M1 [4][5], I attach the output of `alsa-info.sh`<br>
> > [6] when running coreboot. The one running with the vendor BIOS is<br>
> > uploaded to the server [7] due to the size limit of this mailing list.<br>
> ><br>
> >         $ wdiff vendorbios coreboot # init_pin_configs<br>
> >         0x11 [-0x411111f0-] {+0x411110f0+}<br>
> >         0x12 0x411111f0<br>
> >         0x14 [-0x01014010-] {+0x01014030+}<br>
> >         0x15 [-0x01011012-] {+0x01011031+}<br>
> >         0x16 [-0x01016011-] {+0x01016032+}<br>
> >         0x17 [-0x411111f0-] {+0x01012033+}<br>
> >         0x18 [-0x01a19840-] {+0x01a19850+}<br>
> >         0x19 [-0x02a19950-] {+0x02a19c80+}<br>
> >         0x1a [-0x0181304f-] {+0x01813051+}<br>
> >         0x1b [-0x02214120-] {+0x02214c40+}<br>
> >         0x1c [-0x411111f0-] {+0x9933105f+}<br>
> >         0x1d [-0x4005e601-] {+0x00000100+}<br>
> >         0x1e [-0x01452130-] {+0x01441070+}<br>
> >         0x1f [-0x411111f0-] {+0x41c46060+}<br>
><br>
> The values there can be decoded by hda-decode-pincfg program included<br>
> in hda-emu:<br>
>   git://<a href="http://git.kernel.org/pub/scm/linux/kernel/git/tiwai/hda-emu.git" target="_blank">git.kernel.org/pub/scm/linux/kernel/git/tiwai/hda-emu.git</a><br>
><br>
> In the case above, pins 0x14-16 are changed to have association number<br>
> 3 instead of 1, and add the pin 0x17 as the side channel jack.<br>
<br>
<br>
[…]<br>
<br>
<br>
Thanks,<br>
<br>
Paul<br>
<br>
<br>
[3] <a href="http://mailman.alsa-project.org/pipermail/alsa-devel/2013-April/060775.html" target="_blank">http://mailman.alsa-project.org/pipermail/alsa-devel/2013-April/060775.html</a><br>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://se-eng.com">http://se-eng.com</a>
</div>