Cloned from https://github.com/leiless/iokit_kext
This kext forces D3 (sleep) slot to specified PCI slots. This isn't well tested, but it works well for me when disabling NVMe slot and dGPU.
- Modify
IOKitPersonalities
section ofInfo.plist
to your desired condition. On my settings I've set that to match myRP05
andRP05
PCIe slot. You can see whatIONameMatch
to use with IORegisteryExplorer or Hackintool. - Inject with Opencore or Clover.