InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Help with Applehda.kext (http://infinitemac.com/showthread.php?t=6117)

haze295 05-10-2010 06:57 PM

Help with Applehda.kext
 
Hey guys,

I have a very rare sigmatel audio chipset that someone on these forums made me a custom applehda.kext. I had to reinstall my OS from scratch and used a new dsdt
and now for some reason the same HDA doesn't load.

I was wondering if it's because I had to compile a new DSDT and if someone could
help me fix it? I have the applehda that worked all through 10.6 to 10.6.3 on my first install, i have my new DSDT and I have a linux codec dump.


Any help is greatly appreciated :)
BTW, I will pay for a working HDA (not voodoo) that allows mic input, headphones, and normal basic functionality (including working audio buttons on keyboard). All of this was working in my previous version. As long as someone has paypal to send the money I'm paying you. No arguements.

haze295 05-11-2010 02:53 PM

2 Attachment(s)
I have posted my Linux Dumps where codec#1 as you will see doesn't lead to much
but Codec#2 gives the proper readout. I can also post my DSDT and original
working applehda if needed.

haze295 05-12-2010 07:48 PM

Alright...

I found that the DSDT's are completely different in coding which is why the applehda doesn't work.

WORKING DSDT
Quote:

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x06)
{
"codec-id",
Buffer (0x04)
{
0xB0, 0x76, 0x1D, 0x11
},

"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},

"PinConfigurations",
Buffer (0x50)
{
/* 0000 */ 0x10, 0x10, 0x21, 0x00, 0x20, 0x10, 0xA1, 0x00,
/* 0008 */ 0xF0, 0x00, 0xF0, 0x40, 0x30, 0x00, 0x17, 0x90,
/* 0010 */ 0x40, 0x00, 0xF0, 0x40, 0x50, 0x00, 0xF0, 0x40,
/* 0018 */ 0x70, 0x00, 0xF0, 0x40, 0x80, 0x00, 0xA6, 0x90,
/* 0020 */ 0x90, 0x00, 0xF0, 0x40, 0xA0, 0x10, 0x45, 0x00,
/* 0028 */ 0xB0, 0x00, 0xF0, 0x40, 0x60, 0x10, 0x45, 0x90,
/* 0030 */ 0xC0, 0x00, 0xF0, 0x40
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}


NON-WORKING
Quote:

Device (HDEF)
{
Name (_ADR, 0x001B0000)
OperationRegion (HDCS, PCI_Config, 0x54, 0x04)
Field (HDCS, DWordAcc, NoLock, Preserve)
{
, 15,
PMES, 1
}
}

As you can see a very big difference. I tried to copy and paste the sections however I get compile errors. Can someone go through my two DSDTs and fix the missing audio portions and compile it? This is past my knowledge and the errors I get I'm unfamiliar with.