View Single Post
 
Old 05-12-2010, 07:48 PM
haze295 haze295 is offline
Puma
 
Join Date: Dec 2009
Posts: 27
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.
Reply With Quote