Contribute
Register

Sleep issues with hotpatching

Status
Not open for further replies.
Joined
Sep 2, 2011
Messages
143
Motherboard
ASUS P8Z68-V PRO/GEN3
CPU
Intel i7 2700K
Graphics
Intel HD 3000
Mobile Phone
  1. iOS
i moved from static patch to hotpatch and everything seemed to work except of couple of things, like the sleep. When i put my laptop to sleep i get instant wake and if i check the wake reason this is what i get:

Code:
2017-12-15 13:51:28.995101+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PEG0 PEGP PEG1 PEGP PEG2 PEGP GLAN EH01 EH02 XHC

i think this is due to GPRW not returning zero although i patched the GPRW in clover and included the correct SSDT. Files attached.
 

Attachments

  • debug_15809.zip
    1.8 MB · Views: 70
i moved from static patch to hotpatch and everything seemed to work except of couple of things, like the sleep. When i put my laptop to sleep i get instant wake and if i check the wake reason this is what i get:

Code:
2017-12-15 13:51:28.995101+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PEG0 PEGP PEG1 PEGP PEG2 PEGP GLAN EH01 EH02 XHC

i think this is due to GPRW not returning zero although i patched the GPRW in clover and included the correct SSDT. Files attached.

Your patch for GPRW->XPRW is wrong.
It is changing not only the name of the GPRW method, but also the method called by all the _PRW call sites.
Look at your patchmatic output DSDT.aml and you'll see what I mean.
Read the ACPI hotpatch guide carefully:
http://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/
 
Status
Not open for further replies.
Back
Top