oSxFr33k, on Sep 25 2010, 12:57 AM, said:
@wonslung,
Here are most of the DSDT and IOREG files I have gone through. I got the DSDT SMBus script from the iMAC 11,1 and the DSDT sbus script slipped right into our DSDT with no compiling errors and the Kernel ACPI warning message went away.
The iMAC Processor i7 is a quad core closet one to our i7 Asus G51Jx series, 4 cores , 8 threads.. The MacBook Pro i7 is not a Quad core but 2 cores, 4 threads.
http://www.projectos...?...post&p=5900
http://www.projectos...?...post&p=5900
Sift through that thread you will find what you need.
thanks.
The solution for "keyboard backlight stays on when put to sleep is:
search for " If (LNot (ATKP))" and remove both instances of it (you also need to remove a couple brackets.
here is the original:
Method (KPTS, 1, NotSerialized)
{
If (LNot (ATKP))
{
Store (LDBM, Local0)
If (LNotEqual (Zero, And (Local0, 0x81)))
{
Return (Zero)
}
Store (0x1802, Local0)
Add (Local0, 0x06, Local0)
WRAM (Local0, Zero)
}
and here is the fixed:
Method (KPTS, 1, NotSerialized)
{
Store (LDBM, Local0)
If (LNotEqual (Zero, And (Local0, 0x81)))
{
Return (Zero)
}
Store (0x1802, Local0)
Add (Local0, 0x06, Local0)
WRAM (Local0, Zero)
and the second instance original:
Method (KWAK, 1, NotSerialized)
{
If (LNot (ATKP))
{
Store (LDBM, Local0)
If (LNotEqual (Zero, And (Local0, 0x81)))
{
Return (Zero)
}
Store (B1OF, Local0)
Store (0x1802, Local2)
Add (Local2, 0x06, Local2)
If (LEqual (Local0, One))
{
Store (B1CS, Local0)
Store (DerefOf (Index (LKBS, Local0)), Local1)
WRAM (Local2, Local1)
}
Else
{
WRAM (Local2, Zero)
}
}
and second instance of it fixed:
Method (KWAK, 1, NotSerialized)
{
Store (LDBM, Local0)
If (LNotEqual (Zero, And (Local0, 0x81)))
{
Return (Zero)
}
Store (B1OF, Local0)
Store (0x1802, Local2)
Add (Local2, 0x06, Local2)
If (LEqual (Local0, One))
{
Store (B1CS, Local0)
Store (DerefOf (Index (LKBS, Local0)), Local1)
WRAM (Local2, Local1)
}
Else
{
WRAM (Local2, Zero)
}
more to come.