All of lore.kernel.org
 help / color / mirror / Atom feed
* probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems
@ 2007-06-08 10:36 Eran Guendelman
  2007-06-08 22:24 ` Lee Revell
  0 siblings, 1 reply; 4+ messages in thread
From: Eran Guendelman @ 2007-06-08 10:36 UTC (permalink / raw)
  To: alsa-devel

Hi, I am struggling to get the (external) microphone working on a 
SigmaTel STAC9221 A1 device on my Dell XPS M1210 laptop.  I saw other 
emails indicating that this was still problematic, and the latest 
drivers from alsa 1.0.14 did not seem to fix the problem.

So now that I've started reading and trying to understand the basics 
behind the hda codec in an effort to fix this problem, I was wondering 
if it was possible for me to boot into windows (I've got a dual-boot 
setup), get into a state where the microphone is working, and somehow 
probe the codec's state at that time (all of the pin configurations, 
etc.)... then theoretically, if I reproduce that configuration on the 
linux side, it should work (right?).

So the question is, does anyone have a ready-made utility for Windows to 
do this probe of the high definition audio codec?  I could probably try 
writing one myself, but thought I'd check if it already exists.

Thanks.

Please send responses by email too (not subscribed).

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

* Re: probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems
  2007-06-08 10:36 probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems Eran Guendelman
@ 2007-06-08 22:24 ` Lee Revell
  2007-06-08 22:40   ` Eran Guendelman
  2007-06-08 23:07   ` Tobin Davis
  0 siblings, 2 replies; 4+ messages in thread
From: Lee Revell @ 2007-06-08 22:24 UTC (permalink / raw)
  To: Eran Guendelman; +Cc: alsa-devel

On 6/8/07, Eran Guendelman <erang@stanford.edu> wrote:
> So the question is, does anyone have a ready-made utility for Windows to
> do this probe of the high definition audio codec?  I could probably try
> writing one myself, but thought I'd check if it already exists.

I think it's just in the .inf file.

Lee

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

* Re: probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems
  2007-06-08 22:24 ` Lee Revell
@ 2007-06-08 22:40   ` Eran Guendelman
  2007-06-08 23:07   ` Tobin Davis
  1 sibling, 0 replies; 4+ messages in thread
From: Eran Guendelman @ 2007-06-08 22:40 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel

Lee Revell wrote:
> On 6/8/07, Eran Guendelman <erang@stanford.edu> wrote:
>> So the question is, does anyone have a ready-made utility for Windows to
>> do this probe of the high definition audio codec?  I could probably try
>> writing one myself, but thought I'd check if it already exists.
> 
> I think it's just in the .inf file.
> 
> Lee
> 

I was able to find the default pin configurations in the .INI file, but 
have not yet understood what the rest of the stuff in the .INI file 
means (and I haven't really looked at any .INF files).  If you know of 
any guides to help understand the SigmaTel-codec related contents of an 
INI/INF file I would be happy to look at that.  I do see stuff like

[HKLM\SOFTWARE\SigmaTel\STSysTray\1.0\EventExpressions\JackPresensec]
Action1="if(JackState(10) == 0 && JackState(15) == 0 && JackState(12) == 
0 && GetPortPopup(12) == 1,(SetDeviceType(10,2)),(0))"
Action2="if(JackState(10) == 0 && JackState(15) == 0 && JackState(12) == 
0 && GetPortPopup(12) == 1,(SetDeviceType(15,2)),(0))"
Action3="if(JackState(10) == 0 && JackState(15) == 0 && JackState(12) == 
0 && GetPortPopup(12) == 1,(SetDeviceType(12,8)),(0))"

which could hold the key to what I'm looking for...

Thanks.

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

* Re: probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems
  2007-06-08 22:24 ` Lee Revell
  2007-06-08 22:40   ` Eran Guendelman
@ 2007-06-08 23:07   ` Tobin Davis
  1 sibling, 0 replies; 4+ messages in thread
From: Tobin Davis @ 2007-06-08 23:07 UTC (permalink / raw)
  Cc: alsa-devel, Eran Guendelman

For Sigmatel Codecs, this is correct.  You need to look at the verb
tables in the inf file.  Other HD Audio drivers have the verb tables
built into the driver, and the inf file just tells the driver which
table to use.

As to building a program to gather this information, I have actually
been thinking of adding a virtual hal to Xen that would imitate an HD
Audio bus.  This way, I could see what the driver is doing, just by
running Windows in a virtual machine.  I need to see if this violates
any reverse engineering regulations first.

Tobin



On Fri, 2007-06-08 at 18:24 -0400, Lee Revell wrote:

> On 6/8/07, Eran Guendelman <erang@stanford.edu> wrote:
> > So the question is, does anyone have a ready-made utility for Windows to
> > do this probe of the high definition audio codec?  I could probably try
> > writing one myself, but thought I'd check if it already exists.
> 
> I think it's just in the .inf file.
> 
> Lee
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
Tobin Davis <tdavis@dsl-only.net>

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

end of thread, other threads:[~2007-06-08 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08 10:36 probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems Eran Guendelman
2007-06-08 22:24 ` Lee Revell
2007-06-08 22:40   ` Eran Guendelman
2007-06-08 23:07   ` Tobin Davis

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.