All of lore.kernel.org
 help / color / mirror / Atom feed
* command 0x7e7 sent on STAC9200 / STAC9228
@ 2012-08-16 12:03 David Henningsson
  2012-08-16 12:11 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: David Henningsson @ 2012-08-16 12:03 UTC (permalink / raw)
  To: Takashi Iwai, alsa-devel@alsa-project.org

Hi Takashi,

While working with fixing the stuff that my automated test tool has 
discovered, here's one I'm not sure what to do with.

If you run hda-emu on any of these three:

codecs/canonical/stac9200-dell-inspiron-6400-ccert-200705-83
codecs/canonical/stac9200-dell-inspiron-6400-ccert-200712-207
codecs/canonical/stac9228-dell-inspiron-1420-ccert-200708-95

Hda-emu prints out:
invalid command: NID=0x1, verb=0x7e7, parm=0x0

In this case, I'm not sure if the command is invalid (and thus should be 
removed), or if it's a secret IDT verb that we need to set.

 From patch_sigmatel.c:

	/* Configure GPIOx as CMOS */
	snd_hda_codec_write(codec, codec->afg, 0, 0x7e7, 0);

But in hda-spec.c this verb is only in the verb table of IDT codecs, not 
STAC codecs.

Can you offer some enlightement?

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: command 0x7e7 sent on STAC9200 / STAC9228
  2012-08-16 12:03 command 0x7e7 sent on STAC9200 / STAC9228 David Henningsson
@ 2012-08-16 12:11 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2012-08-16 12:11 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel@alsa-project.org

At Thu, 16 Aug 2012 14:03:39 +0200,
David Henningsson wrote:
> 
> Hi Takashi,
> 
> While working with fixing the stuff that my automated test tool has 
> discovered, here's one I'm not sure what to do with.
> 
> If you run hda-emu on any of these three:
> 
> codecs/canonical/stac9200-dell-inspiron-6400-ccert-200705-83
> codecs/canonical/stac9200-dell-inspiron-6400-ccert-200712-207
> codecs/canonical/stac9228-dell-inspiron-1420-ccert-200708-95
> 
> Hda-emu prints out:
> invalid command: NID=0x1, verb=0x7e7, parm=0x0
>
> In this case, I'm not sure if the command is invalid (and thus should be 
> removed), or if it's a secret IDT verb that we need to set.
> 
>  From patch_sigmatel.c:
> 
> 	/* Configure GPIOx as CMOS */
> 	snd_hda_codec_write(codec, codec->afg, 0, 0x7e7, 0);
> 
> But in hda-spec.c this verb is only in the verb table of IDT codecs, not 
> STAC codecs.
> 
> Can you offer some enlightement?

I was just too lazy to add the old exception.
It be a valid verb.  I can't find it in datasheet, too, but it was the
code snippet provided by Sigmatel at that time.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-16 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 12:03 command 0x7e7 sent on STAC9200 / STAC9228 David Henningsson
2012-08-16 12:11 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.