Help - Search - Members - Calendar
Full Version: [HOW TO] Pin Config!
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
Pages: 1, 2
age_sabres18
PIN CONFIG GUIDE

EDIT: Sorry but please do not PM me about further help with this or developing kexts as I really can't devote time to supporting this post (university tongue.gif) <3

1. Log onto your windows install. Open up control panel - Device Manager. Find your audio device and click properties. Under the details tab find your “device class guid” and copy it to your clipboard.




2.under search type “regedit” and run it. search your registry for your device class guid. Under one of the tabs you will find an icon named “PinConfigOverrideVerbs”. HERE ARE YOUR PINCONFIGS!!



3.byte flip all this data (yes really!). it takes a while but it often helps audio progress! you should end up with a long string of binary data like this:

ex.

<00a71c1f 00a71d40 00a71e2b 00a71f02 01871c50 01871d10 01871ea0 01871f90 00b71c20 00b71d30 00b71e8b 00b71f02 00c71cf0 00c71d00 00c71ef1 00c71f40 00d71c40 00d71d01 00d71e10 00d71f90 00e71cf2 00e71d00 00e71ef1 00e71f40 00f71cf7 00f71d00 00f71ef1 00f71f40 01071c60 01071de0 01071e4b 01071f01 01171c30 01171de0 01171ecb 01171f01>

Now you put this value into your apple HDA controller kext

ENJOY!
abcbello
hey dude the values under my "PinConfigOverrideVerbs" are exactly what yours are!! do you mind sending me your kext to see if it works on my pc?? does anything else need to be modified???
Hatch
Thanks so much ages_sabre18, we've been waiting for this..

This may be stupid, but: I don't run Vista anymore on my DV7. only XP.
In my XP under the IDT...there is no “device class guid".

I found your “device class guid”in my registry, but there is no PinConfigOverrideVerbs, I'm going to try restoring the original Vista and try it again.

Thanks for your guides.
mehdymehdy
can u explain how we can add this to apple hda and where exactly. and does this help to get the headphones working .
nobb1x
doing this, it kill audio on my alc268, anyone had success with this chip?
MacNutty
How to byte flip it?
MacUser2525
QUOTE (MacNutty @ Nov 22 2008, 12:37 AM) *
How to byte flip it?


Look at the second picture now where you see the 0000 REG_BINARY 1f 1c a7 00 plus the similar lines beneath. Looking at the string of the OP in the third part you see it starts with 00a71c1f..... then continues on with the next in the list with the pairs of the values in reverse order this is what you need to do with all of them in the list.
eric69
I have an HP Pavillion dv7-1175nr and this is my pin config, does anyone have something similar?

From Vista Byte Swapped
101c 5700 0057 1c10
011d 5700 0057 1d01
561e 5700 0057 1e56
181f 5700 0057 1f18
211c 7700 0077 1c21
011d 7700 0077 1d01
561e 7700 0077 1e56
581f 7700 0077 1f58
221c 9700 0097 1c22
011d 9700 0097 1d01
561e 9700 0097 1e56
581f 9700 0097 1f58
231c b700 00b7 1c23
011d b700 00b7 1d01
561e b700 00b7 1e56
581f b700 00b7 1f58
241c d700 00d7 1c24
011d d700 00d7 1d01
561e d700 00d7 1e56
581f d700 00d7 1f58

From Vista
101c5700011d5700561e5700181f5700211c7700011d7700561e7700581f7700
221c9700011d9700561e9700581f9700231cb700011db700561eb700581fb700
241cd700011dd700561ed700581fd700

Byte Swapped
00571c1000571d0100571e5600571f1800771c2100771d0100771e5600771f58
00971c2200971d0100971e5600971f5800b71c2300b71d0100b71e5600b71f58
00d71c2400d71d0100d71e5600d71f58
Res
Hello! I have a HP mini 1001 with IDT and ich7-m chips.

I have done all the process above, even tried all the AppleHDA.kext people uploaded.(I edit the info.plist with my device ID and replace the AppleHDA with the one that I have modified) To the end, I got everything in system profile and preference, even the function key can call out the on screen volume bar, the system can detect my headphone plugger automatically. But it just has no sound. The only sound is a "bo" while it's booting into desktop.

I would like to try pinconfig. However, the regedit in winxp has nothing like vista. There is not an item named "pinconfigoverride". But I did notice an item named "pin". By the way, since most of the values in pinconfigoverride are numbers. Why most of your configdata in AppleHDAController are alphabet letters?

Hope someone can help me, thanks!
eric69
Where in the AppleHDAcontroller.kext does the pin data have to be modified?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>AppleHDAController</string>
<key>CFBundleGetInfoString</key>
<string>1.4.0a22, Copyright Apple Computer, Inc. 2005-2007</string>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleHDAController</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>HDA Controller Driver</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.4.0a23</string>
<key>IOKitPersonalities</key>
<dict>
<key>HD AUDIO</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleHDAController</string>
<key>HDAConfigDefault</key>
<array>
<dict>
<key>CodecID</key>
<integer>287143602</integer>
<key>ConfigData</key>
<data>
AKccHwCnHUAApx4rAKcfAgGHHFABhx0QAYce
oAGHH5AAtxwgALcdMAC3HosAtx8CAMcc8ADH
HQAAxx7xAMcfQADXHEAA1x0BANceEADXH5AA
5xzyAOcdAADnHvEA5x9AAPcc9wD3HQAA9x7x
APcfQAEHHGABBx3gAQceSwEHHwEBFxwwARcd
4AEXHssBFx8B
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>12</integer>
</dict>
</array>
<key>IOClass</key>
<string>AppleHDAController</string>
<key>IOPCIPrimaryMatch</key>
<string>0x793a1002 0x437a1002 0x43831002 0x293e8086 0x26688086 0x27d88086 0x284b8086 0x293e8086 0x026c10de 0x037110de 0x75021039 0x546110b9 0x32881106 0x026c10de 0x03e410de 0x03f010de 0x044a10de 0x044b10de</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
</dict>
<key>OSBundleCompatibleVersion</key>
<string>1.0.0d1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOHDAFamily</key>
<string>1.0.0d1</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.1</string>
<key>com.apple.kpi.bsd</key>
<string>8.0.0b3</string>
<key>com.apple.kpi.iokit</key>
<string>8.0.0b3</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0b3</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0b3</string>
</dict>
</dict>
</plist>
age_sabres18
use plist edit pro and edit the raw configdata. if your edit the plist with textedit it wont work.
pnoytechie
Hi. I attempted to try this... but, there are several configData in the plist file of AppleHDAcontroller.kext. I'm using PlistPro...

as shown here:
Click to view attachment

can you tell me what exactly needs to be replaced?

thank you very much age_sabres18
age_sabres18
QUOTE (pnoytechie @ Nov 27 2008, 08:10 PM) *
Hi. I attempted to try this... but, there are several configData in the plist file of AppleHDAcontroller.kext. I'm using PlistPro...

as shown here:
Click to view attachment

can you tell me what exactly needs to be replaced?

thank you very much age_sabres18


you replace the one where you inserted your device id.
walkTHEdog
@age_sabres18
thanks for posting this

I am a totally new to this , so please bear with me
My previous experience in making an audio work is using taruga HDA patcher v1.2
My Pin config guide is identical to yours

would it be possible for you to post a text file and could I use the applehdapatcher to drop this text into the appleHDA?

I'm trying to make the audio work on a compaq CQ40-108TU

thanks a lot
mitch_de
QUOTE (age_sabres18 @ Nov 19 2008, 06:02 AM) *
PIN CONFIG GUIDE

sorry this took so long ive been busy tongue.gif

1. Log onto your windows install. Open up control panel - Device Manager. Find your audio device and click properties. Under the details tab find your “device class guid” and copy it to your clipboard.

<00a71c1f 00a71d40 00a71e2b 00a71f02 01871c50 01871d10 01871ea0 01871f90 00b71c20 00b71d30 00b71e8b 00b71f02 00c71cf0 00c71d00 00c71ef1 00c71f40 00d71c40 00d71d01 00d71e10 00d71f90 00e71cf2 00e71d00 00e71ef1 00e71f40 00f71cf7 00f71d00 00f71ef1 00f71f40 01071c60 01071de0 01071e4b 01071f01 01171c30 01171de0 01171ecb 01171f01>
Now you put this value into your apple HDA controller kext
ENJOY!



Hi, is there a way to get those needed config values using Win XP ?
Also, may the be found in the realtek drivers .inf (possible?)
age_sabres18
QUOTE (mitch_de @ Nov 29 2008, 04:53 PM) *
Hi, is there a way to get those needed config values using Win XP ?
Also, may the be found in the realtek drivers .inf (possible?)


you should find the same thing in winxp
mitch_de
THANKS very much i will look for that next booting Win XP

EDIT: Anyone already have an 889A PinCOnfig byte list (i have that codec in an Ep35-DS3 (no P/L/R) ?
Thanks
astearon
Under xp there's only Device ID ; Hardware ID .. but no"guID"
are those the same ?

By the way
found something that resembles the guid in the regeditor
6994ad04-93ef-11d0-a3cc-00a0c9223196
but no “PinConfigOverrideVerbs” under any of them, there's only a reference in midi map

"\\?\HDAUDIO#FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036#4&cc92d09&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rear1Wave"
and futher down the list
different folders like:
HDAUDIO\FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036\4&cc92d09&0&0001----->#RearTopology----->Control and Device parameters
HDAUDIO\FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036\4&cc92d09&0&0001----->#RearWave----->Control and Device parameters
But nowhere ANY of those REG_BINARY's
Res
QUOTE (astearon @ Dec 3 2008, 04:01 AM) *
Under xp there's only Device ID ; Hardware ID .. but no"guID"
are those the same ?

By the way
found something that resembles the guid in the regeditor
6994ad04-93ef-11d0-a3cc-00a0c9223196
but no “PinConfigOverrideVerbs” under any of them, there's only a reference in midi map

"\\?\HDAUDIO#FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036#4&cc92d09&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rear1Wave"
and futher down the list
different folders like:
HDAUDIO\FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036\4&cc92d09&0&0001----->#RearTopology----->Control and Device parameters
HDAUDIO\FUNC_01&VEN_8384&DEV_7682&SUBSYS_10192633&REV_1036\4&cc92d09&0&0001----->#RearWave----->Control and Device parameters
But nowhere ANY of those REG_BINARY's

There is no PinConfigOverrideVerbs in the regeditor of winxp. Vista please.
astearon
can i upload "something" to a vista user .. like the driver or i don't know so he can read my guid off of it ?
ckybam69
ages i got the same info as you but when i upload everything it doesnt work. could you send me your kext so i can just use that?
Tek_No
I don't get it.

I just flipped all bytes under Vista and saved the bytes in a plain text file

Then booted into Leo 10.5.5, opened the text file and copied the contents to the clipboard.

Then started PlistEdit Pro and tried to paste the bytes into the kext.

I'm always getting an "invalid hex data entered" error message although I'm sure that the data is correct hex data (0-9 and a-f)

Any ideas on this???

Take care,
Tek_No
epifus
I test it on my RealTeck HDA, it did not work sad.gif
quis
Are you talking about modifying the original AppleHDA? Or patched one?
And is it to put these into the ConfigData column?

Finally what's the effect of doing this??

Questions from a newbie...
vlad1966
Can this method work w/a PCI sound card?

I'd love to get digital out working with my HT Omega Claro Plus.
dyrdymal
Can someone post this for Dell E520 (I just don't have Vista installed)...?

Thx,
mitch_de
You can use Win XP also !
dyrdymal
QUOTE (mitch_de @ Dec 18 2008, 09:31 AM) *
You can use Win XP also !

well.. I can't! there's no "Device Class GUID" in device properties, and I've searched whole registry for PinConfigOverrideVerbs - not there at all...
So - anyone with dell d520 and Vista...?

Thanks,
AlienX2
QUOTE (mitch_de @ Dec 18 2008, 05:31 PM) *
You can use Win XP also !


Where is guid class of sound card device?
MacNutty
Is this the complete solution for patching audio or something else also is needed to get it work? Because I tried no success. If you can please explain in detail the right way of patching the audio.
enb14
Guys this is what I got with my ALC888

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}007\PinConfigOverrideVerbs]
"0000"=hex:10,1c,d7,00
"0001"=hex:40,1d,d7,00
"0002"=hex:01,1e,d7,00
"0003"=hex:01,1f,d7,00
"0004"=hex:11,1c,e7,00
"0005"=hex:60,1d,e7,00
"0006"=hex:01,1e,e7,00
"0007"=hex:01,1f,e7,00
"0008"=hex:12,1c,f7,00
"0009"=hex:10,1d,f7,00
"0010"=hex:01,1e,f7,00
"0011"=hex:01,1f,f7,00
"0012"=hex:14,1c,07,01
"0013"=hex:20,1d,07,01
"0014"=hex:01,1e,07,01
"0015"=hex:01,1f,07,01
"0016"=hex:1f,1c,17,01
"0017"=hex:40,1d,17,01
"0018"=hex:21,1e,17,01
"0019"=hex:02,1f,17,01
"0020"=hex:30,1c,27,01
"0021"=hex:21,1d,27,01
"0022"=hex:45,1e,27,01
"0023"=hex:01,1f,27,01
"0024"=hex:40,1c,37,01
"0025"=hex:30,1d,37,01
"0026"=hex:81,1e,37,01
"0027"=hex:01,1f,37,01
"0028"=hex:50,1c,47,01
"0029"=hex:90,1d,47,01
"0030"=hex:a1,1e,47,01
"0031"=hex:02,1f,47,01
"0032"=hex:60,1c,57,01
"0033"=hex:10,1d,57,01
"0034"=hex:81,1e,57,01
"0035"=hex:41,1f,57,01
"0036"=hex:70,1c,67,01
"0037"=hex:10,1d,67,01
"0038"=hex:91,1e,67,01
"0039"=hex:41,1f,67,01
"0040"=hex:80,1c,77,01
"0041"=hex:11,1d,77,01
"0042"=hex:c5,1e,77,01
"0043"=hex:01,1f,77,01
"NumVerbs"=hex:2c,00,00,00

So my question is if I also have to add NumVerbs or just 0043?
enb14
Well this is my colaboration to the osx world, try this converter from windows so then you will have your pin in order to be used for OSX.


Tested on Vista 32bit, ALC888 (DG33FB intel motherboard) I hope this works for you.

Requires .net Framework 3.5
mitch_de
Anyone done ALC889A (Ga-EP-35) already ?
AlienX2
still not work for me sad.gif i tried tested it. Anyone done with correct port who is intel D945GNT user or IDT/Sigmatel 9221 user (my device id is 0x83847680 and my audio controller is 0x80860202)??
enb14
AlienX2 I usted to have that motherboard and is a real pain to get the audio to work. in 10.4.1 throuth 10.4.3 it worked flawlessly, but now it seems to not work anymore on 10.5.x

If you make it to work let us know.
DB1
Anyone please do for Asus P5k VM (ALC883), I would be most grateful - i have not had winduz for several years.

BTW will this work as in a plist only type kext (as Cyclonefir) for EFI munky boot partition method or Chameleon Extra>Extensions set up?

I'll try it if someone can provide the data for my mobo.
MacNutty
QUOTE (enb14 @ Dec 22 2008, 03:16 AM) *
Well this is my colaboration to the osx world, try this converter from windows so then you will have your pin in order to be used for OSX.
Tested on Vista 32bit, ALC888 (DG33FB intel motherboard) I hope this works for you.

Requires .net Framework 3.5


Do you get sound on speakers and headphones too? I have the same MB. Can you help please?
enb14
Just from speakers, from input I can't test it even in windows due to my Antec P180 case which doesn't supports Intel HDA so I can't tell you if front panel works.
AlienX2
QUOTE (enb14 @ Dec 23 2008, 05:31 AM) *
AlienX2 I usted to have that motherboard and is a real pain to get the audio to work. in 10.4.1 throuth 10.4.3 it worked flawlessly, but now it seems to not work anymore on 10.5.x

If you make it to work let us know.


Yea That's true. i want to wait for someone fix or taruga will solve or D945GNT group.
amador
QUOTE (AlienX2 @ Dec 23 2008, 06:11 PM) *
Yea That's true. i want to wait for someone fix or taruga will solve or D945GNT group.




IDT 92HD206 8-channel audio CODEC. < mine has an error too NO SOUND at all is there any way how to fix this?.. KEXT NEEDED? PLS HELP. rolleyes.gif

PC SPEC:

Kalyway 10.5.2 DVD Intel_Amd (sse2/sse3) EFI V8 WORKING thumbsup_anim.gif
MOBO : ECS 780GM-A
CPU : X2 6000+
RAM : 1 GB DDR2 X2 1066 MHZ
HD : SEAGATE 500 GB SATA II
DISPLAY AND AUDIO IS ONBOARD

BTW. I ADD PCI LAN CARD TO TRY AND SKIP THE QUESTION DO YOU ALREADY OWN A MAC..I JUST READ IT IN THE FORUM,,AND IT WORKS smile.gif
Slice
In WinXP I found only this.
Click to view attachment
Is it the same? How to use it?
enb14
Slice that's incomplete, so now I have created a new version for vista. Check my thread.


Guys I've created a new version in where it looks for more than one pinconfig so guys try and see if it works for you.
Slice
QUOTE (enb14 @ Dec 29 2008, 03:14 AM) *
Slice that's incomplete, so now I have created a new version for vista. Check my thread.
Guys I've created a new version in where it looks for more than one pinconfig so guys try and see if it works for you.

Thank you, but I need a tool for WinXP that has another registry.

My found is good but not for novice yet. I am on the road of testing.
Other problem - in Comp#1 I have no such entries.
Click to view attachment
Farx
To Slice:

My Motherboard is GA-965P-S3

Below maybe you wants


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\PinConfigOverrideVerbs]
"0000"=hex:10,1c,47,01
"0001"=hex:44,1d,47,01
"0002"=hex:01,1e,47,01
"0003"=hex:01,1f,47,01
"0004"=hex:12,1c,57,01
"0005"=hex:14,1d,57,01
"0006"=hex:01,1e,57,01
"0007"=hex:01,1f,57,01
"0008"=hex:11,1c,67,01
"0009"=hex:64,1d,67,01
"0010"=hex:01,1e,67,01
"0011"=hex:01,1f,67,01
"0012"=hex:14,1c,77,01
"0013"=hex:24,1d,77,01
"0014"=hex:01,1e,77,01
"0015"=hex:01,1f,77,01
"0016"=hex:40,1c,87,01
"0017"=hex:9c,1d,87,01
"0018"=hex:a1,1e,87,01
"0019"=hex:01,1f,87,01
"0020"=hex:50,1c,97,01
"0021"=hex:9c,1d,97,01
"0022"=hex:a1,1e,97,01
"0023"=hex:02,1f,97,01
"0024"=hex:4f,1c,a7,01
"0025"=hex:34,1d,a7,01
"0026"=hex:81,1e,a7,01
"0027"=hex:01,1f,a7,01
"0028"=hex:20,1c,b7,01
"0029"=hex:4c,1d,b7,01
"0030"=hex:21,1e,b7,01
"0031"=hex:02,1f,b7,01
"0032"=hex:f0,1c,c7,01
"0033"=hex:01,1d,c7,01
"0034"=hex:33,1e,c7,01
"0035"=hex:59,1f,c7,01
"0036"=hex:f0,1c,d7,01
"0037"=hex:11,1d,d7,01
"0038"=hex:11,1e,d7,01
"0039"=hex:41,1f,d7,01
"0040"=hex:30,1c,e7,01
"0041"=hex:61,1d,e7,01
"0042"=hex:4b,1e,e7,01
"0043"=hex:01,1f,e7,01
"0044"=hex:60,1c,f7,01
"0045"=hex:71,1d,f7,01
"0046"=hex:cb,1e,f7,01
"0047"=hex:01,1f,f7,01
"NumVerbs"=hex:30,00,00,00
Slice
QUOTE (Farx @ Jan 1 2009, 04:43 PM) *
To Slice:

My Motherboard is GA-965P-S3

Below maybe you wants
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\PinConfigOverrideVerbs]
"0000"=hex:10,1c,47,01
....................
"NumVerbs"=hex:30,00,00,00

It is Vista! I said about a way through Windows XP.
For GA-965P-S3 there is finest sound driver in iDeneb. I do reseach for others.
enb14
Slice what Farx was trying to say is that you should find that information in your registry, if you can find it let us know where is it.

By the way this is my latest pinconfig in where you now can have all your audio devices without needing to go to control panel.

Click to view attachment
Slice
QUOTE (enb14 @ Jan 3 2009, 06:50 AM) *
Slice what Farx was trying to say is that you should find that information in your registry, if you can find it let us know where is it.

By the way this is my latest pinconfig in where you now can have all your audio devices without needing to go to control panel.

In my registry there is no such information. Because I have only XP but not Vista.
Click to view attachment
macgirl
QUOTE (Slice @ Dec 26 2008, 07:04 AM) *
In WinXP I found only this.
Click to view attachment
Is it the same? How to use it?



QUOTE (enb14 @ Dec 28 2008, 06:14 PM) *
Slice that's incomplete, so now I have created a new version for vista. Check my thread.
Guys I've created a new version in where it looks for more than one pinconfig so guys try and see if it works for you.


That is not incomplete, we have that also on Vista, those are Override of the pin config data, see:
CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinA]
"CfgDflt"=dword:0221121f
"AltCfg"=hex:1f,12,11,02
"Action"=hex:81,0d

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinB]
"CfgDflt"=dword:400003fa

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinC]
"CfgDflt"=dword:400003fb

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinD]
"CfgDflt"=dword:90170310
"ExtAmpCtrl"=hex:02,05,02

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinE]
"CfgCurr"=dword:02a11230
"CfgDflt"=dword:02111212
"AltCfg"=hex:12,12,11,02,30,12,81,02,30,12,a1,02
"Bias"=hex:ff,04,02
"Action"=hex:0a,0e
"Selectable"=hex:01

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pinF]
"CfgCurr"=dword:0221121f
"CfgDflt"=dword:02111211
"AltCfg"=hex:11,12,11,02,1f,12,21,02
"Action"=hex:81,0d

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\10]
"CfgDflt"=dword:400003fc

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\11]
"CfgDflt"=dword:400003fd

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\12]
"CfgDflt"=dword:400003fe

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\13]
"CfgDflt"=dword:90a60350
"Mic0Type"=dword:00000000
"Mic0XCoord"=dword:00000000
"Mic0YCoord"=dword:00000040
"Mic0ZCoord"=dword:00000000
"Mic0VerticalAngle"=dword:00000000
"Mic0HorizontalAngle"=dword:00000000
"Mic1Type"=dword:00000000
"Mic1XCoord"=dword:00000000
"Mic1YCoord"=dword:ffffffc0
"Mic1ZCoord"=dword:00000000
"Mic1VerticalAngle"=dword:00000000
"Mic1HorizontalAngle"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\14]
"CfgDflt"=dword:400003ff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\21]
"CfgDflt"=dword:03461340

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings\pin\22]
"CfgDflt"=dword:40c003f1


So the "natural" pin configs are override with new values. Check that some connections have several (and optionals) pin configs, so for those who have Input/Output Jacks that can be configurable for output or input.
Slice
One note.
I complete best driver for my Sigmatel9228 and now I know best PinConfig. It differs from WindowsXP information!
In XP I see
Node 12 = 400003fb - that means absent device
Node 14 = 0281103e - that means LineIn External Front Jack 1/8
Node 19 = 90a60330 - Mic Internal Other Digital connector
Really I got true sound (thanks to gbonilla) using
Node 12 - LineIn
Node 14 - Mic internal

May be Vista driver is better but I can't check.
macgirl
Yesterday I was reading part of the ALSA driver, an there is a section for sigmatel patchs, the pin config of the 9228 is read from BIOS, then some pin config are override, see:
CODE
    case STAC_DELL_BIOS:
        /* configure the analog microphone on some laptops */
        stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
        /* correct the front output jack as a hp out */
        stac92xx_set_config_reg(codec, 0x0f, 0x0227011f);
        /* correct the front input jack as a mic */
        stac92xx_set_config_reg(codec, 0x0e, 0x02a79130);
        /* fallthru */

On vista some of this values are the same, but if I apply port 9 to any of the pin config I lost the sound, but even worst the Internal Digital Mic of the M1330 is somehow related with the internal speakers becuase if I modify the port of th DMic I lost sound on the speakers also.

Since the 9228 ports can be configurable for output or input there are some things that I think the AppleHDA.kext cant handle.

In my case I use:

Node 19 - Internal Digital Mic
Node 14 - External Mic (Right jack)
Node 12 - Line in, but it is configurable on the line out (center jack) so I can leave as Line Out or as a Line In, depends on pin config but can be software controlled with the current AppleHDA.

Node 13 - Internal Speakers
Node 10 - Headphones (left jack)
Node 15 - Line Out (center jack)

and there are two more:
node 33 - SPDIF Out (thru HDMI)
node 34 - SPDIF In (don't know thru where)

Other important stuff:
CODE
static struct snd_kcontrol_new stac927x_mixer[] = {
    STAC_INPUT_SOURCE(3),
    STAC_ANALOG_LOOPBACK(0xFEB, 0x7EB, 1),

    HDA_CODEC_VOLUME_IDX("Capture Volume", 0x0, 0x18, 0x0, HDA_INPUT),
    HDA_CODEC_MUTE_IDX("Capture Switch", 0x0, 0x1b, 0x0, HDA_OUTPUT),
    HDA_CODEC_VOLUME_IDX("Mux Capture Volume", 0x0, 0x15, 0x0, HDA_OUTPUT),

    HDA_CODEC_VOLUME_IDX("Capture Volume", 0x1, 0x19, 0x0, HDA_INPUT),
    HDA_CODEC_MUTE_IDX("Capture Switch", 0x1, 0x1c, 0x0, HDA_OUTPUT),
    HDA_CODEC_VOLUME_IDX("Mux Capture Volume", 0x1, 0x16, 0x0, HDA_OUTPUT),

    HDA_CODEC_VOLUME_IDX("Capture Volume", 0x2, 0x1A, 0x0, HDA_INPUT),
    HDA_CODEC_MUTE_IDX("Capture Switch", 0x2, 0x1d, 0x0, HDA_OUTPUT),
    HDA_CODEC_VOLUME_IDX("Mux Capture Volume", 0x2, 0x17, 0x0, HDA_OUTPUT),
    { } /* end */
};
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.