Closed zacharysalvatore closed 4 years ago
Weirdly, both amls will result plugin-type=1.
Both are correct patches. And both will set plugin-type=1.
As for their difference, you can refer back to Getting Started with ACPI. My hotpatch is modified from the same source as SSDTTime, while the manual method is modifying its hotpatch from the sample of OpenCorePkg.
Again, they both work and there's nothing wrong or bad with either.
Feel free to use whichever one you like more.
Furthermore, the reason why my patch includes the DTGP method is to check UUID. Your hotpatch will work without the DTGP method. However, real Macs uses the DTGP method. And I think that's it better for our hotpatch to mimic real Mac DSDT to prevent possible problems down the line.
Thank you for your kind explanation.
Furthermore, the reason why my patch includes the DTGP method is to check UUID. Your hotpatch will work without the DTGP method. However, real Macs uses the DTGP method. And I think that's it better for our hotpatch to mimic real Mac DSDT to prevent possible problems down the line.
By the way, what’s this UUID? Do I need replace this with my systemuuid?
@zacharysalvatore You do not need to modify it. That UUID comes from a real Mac, see various DTGP methods in MacBook.Pro-14.1.acpi.zip
according to Getting-Started-With-ACPI we need to replace the default
CUP0
to ourPR00
in SSDT-PLUG. Our X1C6's DSDT shows that we need to replaceCUP0
to_PR_.PR00
,\_PR.PR00
accordingly. However yourSSDT-PLUG-_PR.PR00.aml
is different. I don't know which one is correct. Weirdly, both amls will result plugin-type=1. Here's yours: Here's how it i thought it should be: