Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
MacBook Pro
Mobile Phone
Android, iOS, 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
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

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
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
MacBook Pro
Mobile Phone
Android, iOS, 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

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
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
at the #1426 page 143 https://www.tonymacx86.com/threads/...acklight-control.152659/page-143#post-1734882 you confirm my api wrong. So I was re-patch again from origin after deleted ACPI then F4
Your ACPI configuration is still wrong.
Dynamic SSDTs are *never* placed in ACPI/patched.
No need for any patched SSDTs in ACPI/patched with a single GPU (even with dual GPU, only the SSDTs that require patches related to disabling the DGPU should be included).

No need for SSDT.aml, as CPU PM is implemented with config.plist/ACPI/SSDT/Generate/PluginType=true.

Since your profile indicates only single GPU, I expect only these files in ACPI/patched:
DSDT.aml
SSDT-PNLF.aml

But maybe your profile is inaccurate (if so, please fix), as I don't see why you would create SSDT-DiscreteSpoof.aml, if you have no secondary DGPU.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
View attachment 327302

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)
No need for all SSDTs in ACPI/patched.
Include only the files that require patches in ACPI/patched.
 
Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
MacBook Pro
Mobile Phone
Android, iOS, Other
No need for all SSDTs in ACPI/patched.
Include only the files that require patches in ACPI/patched.
Thank you, but another noob question, how I will know which ones are needed? Because every SSDT accepted patches I applied to them. (except SSDT-7)
But as it seems like only 6 were accepted by system in verbose mode screenshot. Is there any command or way to know which 6 were they? Or which ones I should move to clover>patched.
And thanks to you for your patches and guides and being always here to help people like me. I am on my last step to achieve best hackintosh laptop ever. :)
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,929
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Thank you, but another noob question, how I will know which ones are needed? Because every SSDT accepted patches I applied to them. (except SSDT-7)
But as it seems like only 6 were accepted by system in verbose mode screenshot. Is there any command or way to know which 6 were they? Or which ones I should move to clover>patched.
And thanks to you for your patches and guides and being always here to help people like me. I am on my last step to achieve best hackintosh laptop ever. :)
Just because an SSDT "accepts changes" when you apply patches, does not mean you should be applying the patches in the first place.

Since renames should be done with config.plist/ACPI/DSDT/Patches, the only reason to patch SSDTs is to disable a DGPU. That is covered in a separate guide:
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/

Typically, you end up patching maximum of 2 SSDTs (only one when _INI/_OFF are in the same file, or no _INI at _OFF scope) in order to disable DGPU.
 
Joined
Feb 16, 2016
Messages
20
Motherboard
Gigabyte-H97M-DS3P
CPU
i7-4790K
Graphics
HD 4600, RX 580 8GB
Mac
MacBook Pro
Mobile Phone
Android, iOS, Other
Just because an SSDT "accepts changes" when you apply patches, does not mean you should be applying the patches in the first place.
I thought SSDTs are dependent on each other, renaming in some will make it confuse and will cause issues.
Alright, thank sir, I will do that way only. In my case, DSDT and SSDT-4 only have _INI/_OFF.
 
Top