Jump to content
peanutman314

How to disable specific NVMe M.2 slot via DSDT (hide unsupported 970 Evo Plus)

8 posts in this topic

Recommended Posts

As you might know the Samsung 970 EVO Plus variant causes major issues on hackintosh installs. I want to keep it plugged into my motherboard for use in Windows. However, if it's plugged in, macOS is going to try to index this disk eventually and it will crash macOS even though it's not the main install disk. 


Because I don't need this disk under macOS I thought it would be a good solution to somehow disable/hide the unsupported disk for macOS. I looked into doing this via Clover but couldn't find anything useful. I'm hoping I can disable the slot via a DSDT patch. I only want to disable one specific M.2 slot, the others should remain functional (I have another working M.2 disk). So disabling the driver is not an option.

I have very little experience with DSDTs and I have no idea how to do this. I recently created a USB injection patch using RehabMan's excellent guide, so I have some experience with the process, but no idea how to formulate the DSDT patch. 

I have a Gigabyte Aurus Pro z390 motherboard. Below is a screenshot of IORegistryExplorer showing the other working drive (not the one I want to disable, that one is not plugged in yet). 
 

399591


I would be very grateful if anyone can point me in the right direction. If anyone knowns of a non-DSDT solution to disable a specific slot (but not all slots) then that's also fine of course.


Thank you for your time

Share this post


Link to post
Share on other sites
Advertisement
2 hours ago, Hervé said:

Have you tried to simply unmount the associated partition in OS X/macOS and see it that avoids the issue? If it does, you can simply setup your Hackintosh not to mount the partition automatically at boot time.

https://www.idownloadblog.com/2016/11/24/prevent-partitions-from-mounting-mac/

 

That's not a bad idea, I will try this. Thank you for the suggestion. However, I'm not sure if this will fix the problem. It's not very clear if accessing the disk causes problems, or if simply having the disk in your motherboard is the issue. I'm just basing myself on the many many reports coming from other users and people only mention "incompatible firmware" as a reason.

 

Share this post


Link to post
Share on other sites
2 hours ago, peanutman314 said:

That's not a bad idea, I will try this. Thank you for the suggestion. However, I'm not sure if this will fix the problem. It's not very clear if accessing the disk causes problems, or if simply having the disk in your motherboard is the issue. I'm just basing myself on the many many reports coming from other users and people only mention "incompatible firmware" as a reason.

 

post ur dsdt here, extract with f4 key in clover boot screen

Share this post


Link to post
Share on other sites
15 hours ago, MaLd0n said:

post ur dsdt here, extract with f4 key in clover boot screen

 

In attachment you will find the DSDT. The slot I would like to disable is _SB.PCI0.RP09 (or  _SB.PCI0.RP09.PXSX ?).

I have no idea if I'm looking for a DSDT or SSDT patch. I found references to _SB.PCI0.RP09 in the DSDT and in  SSDT files 1, 5, 6 and 8. In IOReg it looks like this. 

 

Any help would be greatly appreciated. 

 

image.png.8b1f2dd4b793f0962cdbc926b7892148.png

 

dsdt.zip

Edited by peanutman314

Share this post


Link to post
Share on other sites
29 minutes ago, peanutman314 said:

 

In attachment you will find the DSDT. The slot I would like to disable is _SB.PCI0.RP09 (or  _SB.PCI0.RP09.PXSX ?).

I have no idea if I'm looking for a DSDT or SSDT patch. I found references to _SB.PCI0.RP09 in the DSDT and in  SSDT files 1, 5, 6 and 8. In IOReg it looks like this. 

 

Any help would be greatly appreciated. 

dsdt.zip

DSDT.aml.zip

 

use some renames to avoid ssdt dependencies error

change GFX0 to IGPU
47465830 
49475055 

change HDAS to HDEF
48444153 
48444546 

change HECI to IMEI
48454349 
494d4549 

change SAT0 to SATA
53415430 
53415441 

 

Share this post


Link to post
Share on other sites
1 hour ago, MaLd0n said:

DSDT.aml.zip

 

use some renames to avoid ssdt dependencies error


change GFX0 to IGPU
47465830 
49475055 

change HDAS to HDEF
48444153 
48444546 

change HECI to IMEI
48454349 
494d4549 

change SAT0 to SATA
53415430 
53415441 

 

 

Thank you very much for the help! I would like to learn to do this myself. May I ask what you changed?

Share this post


Link to post
Share on other sites
1 hour ago, peanutman314 said:

 

Thank you very much for the help! I would like to learn to do this myself. May I ask what you changed?

-FIX ERRORS AND WARNINGS
-FIX ACPI ERRORS
-REMOVE UNUSED
-HIGH PRECISION EVENT TIMER
-SATA SERIE 10 ID
-DMAC
-FIX K.P in REBOOT
-SLPB
-DARWIN / WINDOWS 2015
-XHCI
-PLUGIN TYPE
-HDAS to HDEF
-HDEF
-REAL TIME CLOCK
-ARTC
-IPIC
-TIMR
-SBUS
-MIKEY
-BUS1
-MCHC
-ALS0
-SHUTDOWN
-UAR1
-LAN
-FWHD
-USBX
-PMCR
-PPMC
-XSPI
-GMM
-IMEI
-EC
-PNLF
-GFX0
-NVME disabled
-DTGP
-ACQUIRE MUT0 0XFFFF
-OPERATION REGION GPIO
-MUTEX MUT0 0x00
-EXTERNAL REFERENCES
-UNKNOWNOBJ
-HDMI / HDAU
-FULL RENAMED DEVICES

 

device is disabled now?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 3dimensions
      AppleNVMe Assert failed: ( 0 != data ) Release IDNode file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-470.40.4/IONVMeController.cpp line 5416
       
      Most of NVMe problems with IONVMeFamily were fixed in macOS 10.13 High Sierra so people rarely have this kind of problems so I have not been able to get information on how to fix this problems on newer macOS versions, macOS Catalina in my case.
       
      So if anyone has any idea on how to bypass or fix this problem, let me know.
      My disk specs: (INTEL SSDPEKNW512G8H) 512GB SSD PCIe NVMe M.2
       
      If you need more information, tell me what you need and how to get it with Windows or Ubuntu.
       
      If there is no solution or it is very hard to fix just tell me and I will try to install macOS Catalina on another PC with HDD because things look very grim. 
       
      I am using Clover UEFI Bootloader.
      Uploading EFI folder if you want to take a peek.
      EFI.zip
       
      Computer: HP 15-da1083ns
      Some basic computer specs

    • By Humboldt421
      I would like to use an intel H10 optane SSD module to create a fusion drive container for an osx install. 
      I have an MSI b360i pro AC mobo with intel i5-8400 amd rx580 8gb and 2x 8gb ddr4 2666 
      Its all in a Dan case with the HdPlex 400w Pure DC PSU 
      Its running windows on a Toshiba KXG5A 512 SSD which is fast but i wanted to install osx and I wanted to use a new drive for that, I chose the H10 intel optane drive because from what I gather if I dont use any optane software or bios settings it will appear as two drives to the UEFI firmware, one 32gb Optane drive and the 512 SSD, I wanted to know if I could use this as a fusion drive container. Has anyone done this? Also I need to figure out the DSDT or clover setup to use to make this mobo boot with the hardware I have. I havent built a osx86 box since ML but I think that i can figure it out with some help. Thanks.
    • By dbx103
      I'm having so much problem following guide and forums making impossible for me to understand,  MaciASL, Could someone disable my Nvidia card by editing my files.
       
      origin.zip
    • By NoEnd
      Hi everyone, I have ordered an NVME drive to upgrade my hackintosh drive. My question is how to upgrade my system with this drive? should I clone the drive then plug and play or there are other measurements I need to consider? Also which Application you recommend for the clone? I'm using APFS.
       
      Thanks 
×