RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,015
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
I have to say I am a little lost. I have read post #1 at least a dozen times and I still don’t quite understand what code I need to change. I have gotten this far.
I first edited the DSDT so it has no errors and I believe is now correct. At least my laptop boots with it.
Ran the grep commands and got the following:
Mac-Proatched $ grep -l Method.*_OFF *.dsl
SSDT-3-Ther_Rvp.dsl
SSDT-5-SaSsdt.dsl
SSDT-7-SgPch.dsl
SSDT-8-AmdTabl.dsl
Mac-Proatched $ grep -l Method.*_INI *.dsl
SSDT-5-SaSsdt.dsl
SSDT-7-SgPch.dsl
So now I see that SSDT 5 and 7 are in both.
I look for METHOD (_INI in SSDT-7, line 205, I find:
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
}
Correct _INI to patch.
Search for _OFF in SSDT-7 I find:
Method (_OFF, 0, Serialized) // _OFF: Power Off
{
If (LNotEqual (OSYS, 0x07D9))
{
\_SB.PCI0.RP01.PEGP.HGOF ()
Store (Zero, _STA)
}
}
I am assuming at his point this is the correct area I need to edit.
Wrong _OFF (that one is in a PowerResource macro).
You want to look at SSDT-8.
It calls HGOF (which is in SSDT-7), but fortunately HGOF contains no EC related code, so you need no edits to it.
Do I just delete or comment out the line: \_SB.PCI0.RP01.PEGP.HGOF ()
No.
But before I even get to the point of editing, when I first open SSDT-7, I am faced with several compiler errors that I have no idea how to fix (see attached image).
No need to recompile that file (as mention above, it requires no edits).
But if you disassemble it correctly (iasl -da -dl DSDT.aml SSDT*.aml), it compiles without errors.