View Single Post
 
Old 02-27-2010, 07:58 AM
adriangb adriangb is offline
Jaguar
 
Join Date: Jan 2010
Posts: 95
For starters, don't use a DSDT for a other board.
My board didn't have any HDEF or audio at all, so I had to guess where to put it (this was the hard part).
So basically, copy this code into the same place in your DSDT as it is in mine:
Code:
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D, 
0x05
})
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x08)
{
"codec-id", 
Buffer (0x04)
{
0x85, 0x08, 0xEC, 0x10
}, 

"layout-id", 
/**** Is ResourceTemplate, but EndTag not at buffer end ****/ Buffer (0x04)
{
0x75, 0x03, 0x00, 0x00
}, 

"device-type", 
Buffer (0x10)
{
"Realtek ALC889a"
}, 

"PinConfigurations", 
Buffer (0x18)
{
/* 0000 */ 0x10, 0x44, 0x11, 0x01, 0x20, 0x14, 0x01, 0x01, 
/* 0008 */ 0x40, 0x4C, 0x21, 0x02, 0x50, 0x34, 0x81, 0x01, 
/* 0010 */ 0x60, 0x9C, 0xA1, 0x02, 0xF0, 0x61, 0x4B, 0x01
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Name (BUFA, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,5,6,7,9,10,11,12,14,15}
})
Name (BUFB, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{}
})
CreateWordField (BUFB, One, IRQV)
And then search for DSDT in mine, and copy the line with the other appearance (it's something like "...PCI0.HDEF...") and put it in the same place. If the device names are different in mine and yours, try searching for them by address.
I got the code and kext from: http://efixusers.com/showthread.php?t=213.
Reply With Quote