Jump to content

[HOW TO] Pin Config!


  • Please log in to reply
98 replies to this topic

#41
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow
In WinXP I found only this.
Attached File  PinXP.png   44.24KB   599 downloads
Is it the same? How to use it?

#42
enb14

enb14

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 615 posts
  • Gender:Male
  • Location:Central America
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.

Attached Files



#43
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow

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.
Attached File  Sound883.PNG   134.06KB   282 downloads

#44
Farx

Farx

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
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

#45
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow

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.

#46
enb14

enb14

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 615 posts
  • Gender:Male
  • Location:Central America
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.

Attached File  PinConfig3.rar   4.86KB   418 downloads

#47
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow

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.
Attached File  PinConfig.PNG   18.08KB   113 downloads

#48
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

In WinXP I found only this.
Attached File  PinXP.png   44.24KB   599 downloads
Is it the same? How to use it?



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:
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.

#49
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow
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.

#50
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
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:
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:
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 */
};


#51
gbonilla

gbonilla

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:Los Angeles, California
Hey Macgirl can you provide the link to the ALSA driver so I can take a look at it as well, it sounds interesting.

#52
MacUser2525

MacUser2525

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,458 posts
  • Gender:Male
  • Location:Canada

Hey Macgirl can you provide the link to the ALSA driver so I can take a look at it as well, it sounds interesting.


http://www.google.ca...lient=firefox-a

First link...

#53
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

Hey Macgirl can you provide the link to the ALSA driver so I can take a look at it as well, it sounds interesting.

This is the source I get with kubuntu 8.04:
http://www.mediafire...php?nmnfrz1umjw

#54
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow

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)

Hi macgirl!
I see you use the same nodes as me (except virtual Internal Digital Mic). Did you got AppleHDA 1.6.2 working? Did you have Input slider?

#55
gbonilla

gbonilla

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:Los Angeles, California
I believe the key to getting the Internal Mic working as well as Mic Sliders is utilizing the DspFuncLib.kext in AppleHDA 1.6.2. As you can see in The Kings kext in his How To Patch AppleHDA, if you look in layouts under HDAPlatform and look at mic you can see he implemented the DspFuncLib if we can only utilize this as well we'll all be able to get the slider working.

I strongly believe this is the thing to do to get the slider working. I messed around with it a bit last night but couldnt get it going. Hopefully one of you can get it working and we'll all be happy campers.

#56
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

Hi macgirl!
I see you use the same nodes as me (except virtual Internal Digital Mic). Did you got AppleHDA 1.6.2 working? Did you have Input slider?

Yes I have modded 1.6.2a37 working, but also Legacy AppleHDA with Extra kexts.

Here they are:
Attached File  FixSigmaTel_STAC9228.zip   5.87KB   75 downloads
You only need to change Pathmap and pin config to reflect your internal mic

@gbonilla, thanks I will begin investigation of the DspFuncLib, thanks for the hint.

#57
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
A little progress on the pin config of the Internal digital Mic on the XPS M1330/1550: http://forum.insanel...&...t&p=1041592

#58
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow
I have full working sound with two configuration (all inputs and all outputs)
Hack#1 - Realtek ALC883
Hack#3 - Sigmatel 9228
But there is a difference. In #1 I have input control sliders. In #3 - no.
I compare byte by byte all info.plist and no significant differencies found. Only nodeIDs and codecID are different. But I don't know how to compose ConfigData in HDAController. May be here?

#59
gbonilla

gbonilla

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:Los Angeles, California

I have full working sound with two configuration (all inputs and all outputs)
Hack#1 - Realtek ALC883
Hack#3 - Sigmatel 9228
But there is a difference. In #1 I have input control sliders. In #3 - no.
I compare byte by byte all info.plist and no significant differencies found. Only nodeIDs and codecID are different. But I don't know how to compose ConfigData in HDAController. May be here?


If you're using my latest kext then you should have all the correct configdata.

#60
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,077 posts
  • Gender:Male
  • Location:Moscow
I found Input slider!
Attached File  Picture_3.png   53.42KB   353 downloads
It depends on amp section at nodes 24, 25 and 26.

Now I want to understand how to make autodetect of outputs. 7th digit at PinDefault?

EDITED: No, simply join outputs into <array></array>
That all! My sigmatel 9228 works with autodetect and with input sliders :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy