[alsa-devel] probing state of high definition audio card in windows / SigmaTel STAC9221 microphone problems
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).
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
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.
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
participants (3)
-
Eran Guendelman
-
Lee Revell
-
Tobin Davis