Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Joined
Sep 24, 2012
Messages
100
Motherboard
ASROCK Z390 Phantom Gaming-ITX/ac
CPU
i9-9900K
Graphics
Intel HD 630/GTX 1080 Ti
I just disassembed ACPIs get from Clover instead, and convert them to asl with iasl.

But I always get errors when I compile them back. Could you help me convert the DSDT and SSDT aml files to asl, which I can compile?

I tried both
Code:
iasl -da -dl DSDT.aml SSDT*.aml
and
Code:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Neither DSDT asl files output are compilable with MaciASL.
 

Attachments

  • AMLs.zip
    481.4 KB · Views: 32
  • Screen Shot 2018-04-20 at 8.58.52 PM.png
    Screen Shot 2018-04-20 at 8.58.52 PM.png
    86.5 KB · Views: 54

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,164
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Good Evening/Morning,

I have this fresh installed High Sierra ( thanks to your guide and contributions @RehabMan ), so far, everything is working now, I even have patched Discrete GPU by following your guide and I believe it is working, however, I tried to work fresh, deleted and re-generated from Clover by F4, and the moment I try
Code:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
AFTER
Code:
pbpaste>refs.txt
Following your guide, I get many errors, (I have attached Terminal Output, and required files from your guide, "Q. What are typical "Problem Reporting" files?")

Thank you so much for giving your so much time and effort.

No unusual errors with your files (with refs.txt, which is not required, or without it).
I disassembled: iasl -da -dl DSDT.aml SSDT*.aml
The only error is because of extraneous External(BNUM, which is addressed in the guide.
Read post #1.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,164
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I just disassembed ACPIs get from Clover instead, and convert them to asl with iasl.

But I always get errors when I compile them back. Could you help me convert the DSDT and SSDT aml files to asl, which I can compile?

I tried both
Code:
iasl -da -dl DSDT.aml SSDT*.aml
and
Code:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Neither DSDT asl files output are compilable with MaciASL.

I disassembled your files: iasl -da -dl DSDT.aml SSDT*.aml

No unexpected/unusual errors found. Read post #1.
 
Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
  3. Other
No unusual errors with your files (with refs.txt, which is not required, or without it).
I disassembled: iasl -da -dl DSDT.aml SSDT*.aml
The only error is because of extraneous External(BNUM, which is addressed in the guide.
Read post #1.
Thank you. I have done the whole process, no errors. Only step I skipped is creating and using refs.txt, is it okay? As you mentioned "which is not required", or I misunderstood?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,164
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thank you. I have done the whole process, no errors. Only step I skipped is creating and using refs.txt, is it okay? As you mentioned "which is not required", or I misunderstood?

Your files do not need refs.txt. refs.txt usually only needed with older ACPI sets that don't have embedded External opcodes.
 
Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
  3. Other
Your files do not need refs.txt. refs.txt usually only needed with older ACPI sets that don't have embedded External opcodes.

Thank you sir. And thank you for explanation, I further researched and understood it even more now.
 
Joined
May 29, 2017
Messages
16
CPU
Intel Core i5-4210H
Graphics
Intel HD Graphics 4600
Mobile Phone
  1. iOS
here is my patched dsdt and ssd. can u help me check error of this? I didn't apply your recommend patch, I was patch for no error only
 

Attachments

  • CLOVER.zip
    10.9 MB · Views: 33
  • ioreg.zip
    617.2 KB · Views: 32
  • patchmatic.zip
    109 KB · Views: 29
  • acpi_DSL.zip
    104.3 KB · Views: 34

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,164
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
here is my patched dsdt and ssd. can u help me check error of this? I didn't apply your recommend patch, I was patch for no error only

What is the issue?
 
Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
  3. Other
IMG_20180423_153915.jpg


I followed the guide to complete the process. On using "Rename _DSM methods to XDSM" on SSDT-7.dsl, I was keep getting error so I used "Remove _DSM methods" patch on that one only, with no errors to compile as aml.

Files attached. Please look into SSDT-7, and Clover folder>ACPI>patched. (No DSDT or SSDT from F4 clover are there, just some required ones I found in guides)
 

Attachments

  • CLOVER.zip
    12.4 MB · Views: 34
  • origin.zip
    63.2 KB · Views: 38
  • patched.zip
    173.4 KB · Views: 46
Last edited:
Top