- Joined
- Jun 25, 2010
- Messages
- 23
- Motherboard
- GA-Z170X-Gaming 7
- CPU
- Intel 6700K
- Graphics
- Geforce GTX-1070
- Mac
- Mobile Phone
Should I have my SSDT like this?Assuming you don't have any mistakes in your Clover ACPI configuration... you will have path
_SB.PCI0.BR2A.H000.@8.@0
(assuming nothing beyond the part #PCI(0000))
The .@8 and .@0 represent nodes that don't have ACPI identities.. It is the case covered in post #1 behind a PCI bridge...
Code:
// Inject bogus class-code for NVMe SSD to prevent IONVMeFamily.kext from loading
DefinitionBlock("", "SSDT", 2, "hack", "NVMe-Pcc", 0)
{
External(_SB.PCI0.BR2A.H000, DeviceObj)
// create identities for the bridge @8 and SSD0 @0
Device(_SB.PCI0.BR2A.H000)
{
Name(_ADR, 0x00080000)
Device(SSD0) { Name(_ADR, 0) }
}
// now we can inject the _DSM at the newly created ACPI path
Method(_SB.PCI0.BR2A.H000.SSD0._DSM, 4)
{
If (!Arg2) { Return (Buffer() { 0x03 } ) }
Return(Package()
{
"class-code", Buffer() { 0xff, 0x08, 0x01, 0x00 },
"built-in", Buffer() { 0 },
})
}
}
//EOF