@UtterDisbelief I would appreciate some advice if you have some time. So a user recently asked me the difference between the SSDT-EC and SSDT-USBX files generated by Hackintool and the OpenCore SSDT-EC and SSDT-EC-USBX located @
OpenCorePkg/tree/master/Docs/AcpiSamples.
At first I didn't think there was much difference until I read the following:
And a bit further down:
The way Hackintool would work in previous versions:
1. If AppleBusPowerController exists in IORegistry then we don't need an SSDT's or renames
2. Check for EC, EC0, H_EC and ECDV entries in IORegistry
3. If the name matches "PNP0C09" and _STA is not 0 then add a rename to config.plist (Eg. EC0->EC, H_EC->EC)
4. Else generate an SSDT-EC
Generally I like to follow OpenCore advice so I updated Hackintool to work like this:
1. Check for any entry in ACPI (other than "EC") for a "PNP0C09" entry
2. If the entry is found it will uncomment the code from SSDT-EC-USBX replacing EC0 with this entry
3. If it's not found it will still generate SSDT-EC-USBX but without the commented code
So on my laptop I have a rename ECDV->EC. So I thought I would just remove this rename and use SSDT-EC-USBX instead with the uncommented code and ECDV replacing EC0.
ie.
Code:
External (_SB_.PCI0.LPCB.ECDV, DeviceObj)
Scope (\_SB.PCI0.LPCB.ECDV)
{
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0)
}
Else
{
Return (0x0F)
}
}
}
But my machine would not boot! So now I'm trying to decide if the changes were a good move or not. What do you think I should do?