Contribute
Register

[Guide] Using Clover to "hotpatch" ACPI

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: 150
Last edited:
"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: 84
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)
 
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:
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.
 
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:
hi sir RehabMan
my Laptop Acer Aspire ES1-572-321G 7th gen i3 7100U

Question about Sleep are 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 ?
 
Back
Top