Make Intel Optane SSDs Hackintosh compatible with SSDT patch

Make Intel Optane SSDs Hackintosh compatible with SSDT patch

Intel® Optane™ exists on two devices, i.e. one device with two drives present at the same time. Kernel panic occurs when booting Hackintosh.

Of course the easiest way is to just replace it with a different brand of solid state drive.

There is a free way to disable Intel® Optane™ Memory H10 via the SSDT patch.

  1. First open Device Manager and find Disk Controllers and Storage Drives
    在这里插入图片描述
    All we need to do is find out which of these two devices is Intel® Optane™ Memory and get its BIOS device path.

Usually, the second one is Intel® Optane™ Memory, if you need to be sure, then open diskmgmt.msc and find Intel® Optane™ Memory, usually the 32GB one, and right click on its properties to see who its parent is.
在这里插入图片描述
Once you get the name of the parent object, you can identify which storage controller is associated with it.

In the above diagram, the device name is the same, confirming that it is controlling Intel® Optane™ Memory, so let’s get the domain and path defined in the BIOS.

在这里插入图片描述
Finally we get the path to the device _SB.PCI0.RP15.PXSX

Next we start writing methods for the device.

Note: If your original DSDT table has a _DSM method already defined for that device, then you need to change the original _DSM method to XDSM or other first using the binary rename method, otherwise two duplicate methods are not allowed!

The binary renaming of ACPI is not covered here.

// Inject bogus class code for NVMe SSD so that native IONVMeFamily.kext does not load
DefinitionBlock("", "SSDT", 2, "hack", "NVMe-Pcc", 0)
{
    External(_SB.PCI0.RP15.PXSX, DeviceObj)
    Method(_SB.PCI0.RP15.PXSX._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "class-code", Buffer() { 0xff, 0x08, 0x01, 0x00 },
        })
    }
}
//EOF

在这里插入图片描述
Finally, compile to get the .aml patch and load it into your boot.

Translated from webpage.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值