Contribute
Register

[Guide] Using Clover to "hotpatch" ACPI

Joined
Sep 2, 2011
Messages
143
Motherboard
ASUS P8Z68-V PRO/GEN3
CPU
Intel i7 2700K
Graphics
Intel HD 3000
Mobile Phone
  1. iOS

Attachments

  • debug_26597.zip
    1.8 MB · Views: 73

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS

Your GPRW is marked Serialized, but you're trying to use the GPRW patch for NotSerialized.
Note from your DSDT.aml:
Code:
        Method (GPRW, 2, Serialized)
        {
...
 
Joined
Jul 8, 2013
Messages
42
Motherboard
Dell Inspiron N5110 (Clover UEFI)
CPU
i7 2760qm/HM67
Graphics
HD 3000 + GT525M(Disabled) (1366x768)
I have found _INI and _OFF in a file called SSDT-4-OptTables.dml . I tried placing your given SSDT-DGPU.aml in patched but it is not working.
 

Attachments

  • SSDT-4-OptTabl.dsl
    36.2 KB · Views: 118
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Jul 8, 2013
Messages
42
Motherboard
Dell Inspiron N5110 (Clover UEFI)
CPU
i7 2760qm/HM67
Graphics
HD 3000 + GT525M(Disabled) (1366x768)
"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.

Code:
$ kextstat|grep -y acpiplat
   15    1 0xffffff7f82bf2000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 1804645B-B360-305E-B1BE-916F5E3E1CC4 <14 13 12 11 7 6 5 4 3 1>
$ kextstat|grep -y appleintelcpu
   35    0 0xffffff7f83376000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 21E90247-D120-3022-94F2-7B989603AC54 <7 6 5 4 3 1>
   50    0 0xffffff7f833fa000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 931165F8-BA12-3CBF-9987-2DD9B5FF9AFA <7 6 5 4 3 1>
$ kextstat|grep -y applelpc
  121    0 0xffffff7f82cb3000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <114 12 5 4 3>
 

Attachments

  • IOreg_Clover_Rehabman.zip
    8 MB · Views: 49
Joined
Jul 8, 2013
Messages
42
Motherboard
Dell Inspiron N5110 (Clover UEFI)
CPU
i7 2760qm/HM67
Graphics
HD 3000 + GT525M(Disabled) (1366x768)

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Code:
$ kextstat|grep -y acpiplat
   15    1 0xffffff7f82bf2000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 1804645B-B360-305E-B1BE-916F5E3E1CC4 <14 13 12 11 7 6 5 4 3 1>
$ kextstat|grep -y appleintelcpu
   35    0 0xffffff7f83376000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 21E90247-D120-3022-94F2-7B989603AC54 <7 6 5 4 3 1>
   50    0 0xffffff7f833fa000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 931165F8-BA12-3CBF-9987-2DD9B5FF9AFA <7 6 5 4 3 1>
$ kextstat|grep -y applelpc
  121    0 0xffffff7f82cb3000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <114 12 5 4 3>

Your ACPI configuration is wrong.
For AutoMerge=true, must use latest RehabMan build of Clover (official Clover does not have all my latest fixes).
And your SSDT-4.aml is not a patched origin/SSDT-4.aml (it is ssdtPRgen.sh generated SSDT.aml)
 
Joined
Jul 8, 2013
Messages
42
Motherboard
Dell Inspiron N5110 (Clover UEFI)
CPU
i7 2760qm/HM67
Graphics
HD 3000 + GT525M(Disabled) (1366x768)
Your ACPI configuration is wrong.
For AutoMerge=true, must use latest RehabMan build of Clover (official Clover does not have all my latest fixes).
And your SSDT-4.aml is not a patched origin/SSDT-4.aml (it is ssdtPRgen.sh generated SSDT.aml)
I had kept SSDT-DGPU.aml besides this SSDT-4.aml. For hotpatch, is "Automerge" suppose to be false? I have saved DGPU as .aml but I can't open it with latest MaciASL.
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,691
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I had kept SSDT-DGPU.aml

There is no SSDT-DGPU.aml in the files you attached (check for yourself).
besides this SSDT-4.aml.

SSDT-4 is poorly named. As mentioned, it should be SSDT.aml.

For hotpatch, is "Automerge" suppose to be false?

With pure hotpatch the AutoMerge setting doesn't matter... both true and false will have the same result. Because with hotpatch there are no *patched* ACPI files in ACPI/patched (only add-on SSDTs are present). AutoMerge=true has an effect only when there are patched SSDTs in ACPI/patched.

I have saved DGPU as .aml but I can't open it with latest MaciASL.

Must use File Save As, format: ACPI Machine Language Binary. You should not expect renaming a .dsl file (text file) to .aml to work. An .aml file must be in AML format.
 
Joined
Mar 15, 2013
Messages
24
Motherboard
GA-Z370M-D3H
CPU
i5-8400
Graphics
UHD 630
Mac
  1. iMac
hi sir RehabMan
my Laptop Acer Aspire ES1-572-321G 7th gen i3 7100U

Question about Sleep or not working.

a few days ago I put one question for my laptop. my laptop sleep not working. Rehab sir I try again extract my dsdt and ssdt with patchmatics and refs.txt, and my dsdt and ssdt errors self removed and no need to fixing errors. sleep awake are fully working no graphics glitches. and I also use your kabylake config.plist download from GitHub, Already 10.12.6 are native supported. Thanks for these,

sir now I do it any Supplementary changes in my dsdt and ssdt or not ?
 
Last edited:
Top