Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

4 Pages V  < 1 2 3 4 >  
Reply to this topic Start new topic
[HOW TO] Pin Config!
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
In WinXP I found only this.
Attached File  PinXP.png ( 44.24K ) Number of downloads: 414

Is it the same? How to use it?
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 567
  • Joined: 12-August 05
  • From: Central America
  • Member No.: 4,268
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 File(s)
Attached File  PinConfig2.rar ( 4.52K ) Number of downloads: 194
 
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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.
Attached File  Sound883.PNG ( 134.06K ) Number of downloads: 148
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 28
  • Joined: 13-March 07
  • Member No.: 92,376
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
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 567
  • Joined: 12-August 05
  • From: Central America
  • Member No.: 4,268
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.86K ) Number of downloads: 227
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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.
Attached File  PinConfig.PNG ( 18.08K ) Number of downloads: 71
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Moderators
  • Posts: 7,558
  • Joined: 5-July 05
  • From: Mexico City
  • Member No.: 123
QUOTE (Slice @ Dec 26 2008, 07:04 AM) *
In WinXP I found only this.
Attached File  PinXP.png ( 44.24K ) Number of downloads: 414

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.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Moderators
  • Posts: 7,558
  • Joined: 5-July 05
  • From: Mexico City
  • Member No.: 123
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 */
};
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 66
  • Joined: 5-November 08
  • From: Los Angeles, California
  • Member No.: 315,356
Hey Macgirl can you provide the link to the ALSA driver so I can take a look at it as well, it sounds interesting.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 991
  • Joined: 25-January 08
  • From: Canada
  • Member No.: 177,709
QUOTE (gbonilla @ Jan 13 2009, 01:10 PM) *
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/search?q=alsa+driver+...lient=firefox-a

First link...
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Moderators
  • Posts: 7,558
  • Joined: 5-July 05
  • From: Mexico City
  • Member No.: 123
QUOTE (gbonilla @ Jan 13 2009, 11:10 AM) *
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.com/download.php?nmnfrz1umjw
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
QUOTE (macgirl @ Jan 13 2009, 07:56 PM) *
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?
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 66
  • Joined: 5-November 08
  • From: Los Angeles, California
  • Member No.: 315,356
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.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Moderators
  • Posts: 7,558
  • Joined: 5-July 05
  • From: Mexico City
  • Member No.: 123
QUOTE (Slice @ Jan 14 2009, 08:19 AM) *
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.87K ) Number of downloads: 40

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.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Moderators
  • Posts: 7,558
  • Joined: 5-July 05
  • From: Mexico City
  • Member No.: 123
A little progress on the pin config of the Internal digital Mic on the XPS M1330/1550: http://forum.insanelymac.com/index.php?s=&...t&p=1041592
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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?
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 66
  • Joined: 5-November 08
  • From: Los Angeles, California
  • Member No.: 315,356
QUOTE (Slice @ Jan 16 2009, 04:51 AM) *
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.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
I found Input slider!
Attached File  Picture_3.png ( 53.42K ) Number of downloads: 175

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 smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
4 Pages V  < 1 2 3 4 >
Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 08:21 AM