Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

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.
 
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.
 
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. :)
 
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.
 
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.
 
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.
here is my report before patch anything. I have nvdia 850m which is not supported, so I put ssd-DiscreteSpoof.aml to disable it, is this true?
another problem. my dsdt and some ssd got error, ex ssdt 1, ssdt 5... so why I needn't patch all of them and only need dsdt.aml and ssd-pnlf.aml?
 

Attachments

  • CLOVER.zip
    10.8 MB · Views: 81
  • ioreg.zip
    546.4 KB · Views: 89
  • patchmatic.zip
    95.1 KB · Views: 72
@RehabMan I'm getting an error while compiling... "14720, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('"
 
Back
Top