Nice! Yeah it's a very hacky solution to the problem but at least it works haha
I was just patching my main DSDT. It might be the same problem on your end but it might as well be something entirely different. You can try my way and see if it helps.
If you want to debug your DSDT you have to use
RehabMan/OS-X-ACPI-Debug. Put the kext in Clover and then the easiest way is to add
Code:
http://raw.github.com/RehabMan/OS-X-ACPI-Debug/master
as a source in MaciASL (Settings -> Sources). You should now have new patches available if you click the Patch button. Apply "Add DSDT Debug Methods" to your DSDT. If you want to also debug an SSDT, you'll have to apply "Add SSDT Debug Extern Declarations" to every SSDT you want add print statements to. Don't forget to remove all that stuff when you are done!
So since your problem connected to waking up, _WAK is a good place to start. You can patch your DSDT with "Instrument _WAK/_PTS" and go from there. Just put debug statements as you go.
Code:
\RMDT.PUSH("Text to print")
prints text to the system.log, more options are available in the repository but that should do it. If _WAK executes correctly, you'll see "_WAK enter" and "_WAK leave" in the output. If there are errors you won't see the leave part.
You can see the output by using this command in terminal:
Code:
log show --predicate "processID == 0" --start $(date "+%Y-%m-%d") --debug | grep ACPIDebug