Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

For different native code that might be present.
You should be more specific with your questions.
How to map "problem" to patches. Some are obvious some not.

No such thing. Perhaps you refer to config.plist/ACPI/DropOem.
It is covered in post #1.
Got it!
 
Experience/intuition/trial/error.
Or ask Mr. RHM... ;-)

Patching basically solved all the residual problems with sleep and wake. Only the LED does not blink like in Windows but I can clearly live without that.

Thanks one more time for your precious advice and time!
 
Last edited:
If I update for example from High Sierra to Mojave, can I use the same dsdt that im using in high Sierra?
 
If I update for example from High Sierra to Mojave, can I use the same dsdt that im using in high Sierra?

It depends on what kind of patches you used.

For example, if you're injecting layout-id via patched DSDT (_DSM on HDEF), you will likely need to change the layout-id as several common ones were removed from Mojave (which means you transition to AppleALC or change your AppleHDA injector to use a different layout-id).
 
Hello again, RehabMan. I have an other problem now. Toleda send me back to you.
Hope you could help me solving my problem.
I injected layout id 0x02 in SSDT-RMCF and (as a try in config.plist too)
Injecting a layout doesn't help me in any way. In HDEF the layout id stays 0. I don't know what to do...
I deinstalled all patches and restored back original appleHDA
(in bootleg it says that layout 2 is injected, but no changes in HDEF and AppleHDA)
Log is attached
Thank you in advance!
 

Attachments

  • debug_16754.zip
    1.4 MB · Views: 66
Hello again, RehabMan. I have an other problem now. Toleda send me back to you.
Hope you could help me solving my problem.
I injected layout id 0x02 in SSDT-RMCF and (as a try in config.plist too)
Injecting a layout doesn't help me in any way. In HDEF the layout id stays 0. I don't know what to do...
I deinstalled all patches and restored back original appleHDA
(in bootleg it says that layout 2 is injected, but no changes in HDEF and AppleHDA)
Log is attached
Thank you in advance!

If you're trying to inject with hotpatch SSDT, you forgot SSDT-HDEF.aml.
 
If you're trying to inject with hotpatch SSDT, you forgot SSDT-HDEF.aml.
Sorry for the late reply.
SSDT-HDEF.aml is in place, but still no changes. HDEF in IOReg says layout 0x00
 

Attachments

  • debug_7267.zip
    1.5 MB · Views: 62
And maybe a second question. I need to adjust my DSDT, since I have a dual battery. I cannot however save the changes, because I'm getting compiler errors (untouched). I'm on 6.2a
It would be great, if you could look into it (debug zip is in previous post)
 
Last edited:
Sorry for the late reply.
SSDT-HDEF.aml is in place, but still no changes. HDEF in IOReg says layout 0x00

Your DSDT has an existing _DSM at HDEF/HDAS._DSM.
But you forgot to enable the _DSM->XDSM patch.
As a result, conflicting _DSM in SSDT-HDEF.aml is ignored.
 
Back
Top