Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

SOLVED. See final note.

Hi Folks. Recently built a Lenovo M93p hackintosh.

OS: Mojave 10.14.6
Clover 5.9.3.0

I identified and mapped the USB ports using the instructions in Hackintool. Everything seems to work and look correct to the best of my knowledge.
However, I tried to plug an SSD drive into the external USB ports, and it will not "register". What seems to happen, if you look at the USB ports list in Hackintool, the port lights up, but the device name flashes on and off randomly, and the device never mounts.

I know the device hardware is fine because I plugged into another Mac and successfully formatted the drive in drive utility.

I popped a number of USB2 and USB3 devices (including a card reader with card) and they mount just fine.

Any ideas? Let me know what files you'd like to see.

Thanks!

P.S.
Ugh, found this thread. Not sure if this is the root cause, but very interesting read through: Lenovo Support

P.P.S.
So I picked up a powered drive adapter for the SSD, and whala! worked.
 
Last edited:
Deleted comment. Wrong thread. Sorry.
 
Last edited:
Hi,i have get a ssdt for usbinjectall.kext ,my usb2 are working correctly,but the usb3 ports have only power, I do not know what I did wrong,this is my files,thanks for all.
 

Attachments

  • hychswwm0306_Problem Reporting.zip
    4.2 MB · Views: 99
This guide still works in 2020. Just built my custom SSDT for Gigabyte X99 UD5 on Mojave, got my USB3 back. Thank you RehabMan, wherever you are.
 
Hi Rehabman. Thanks for your input on the Hack scene, including this guide. I had issues wit the FakePCIID/XMUX Kext, but the version with XHC only seems to work. On thing that is eventually left, is the EH02 portion, the tremains enabled, because it's not included in your example in the laptop, but nothing is attached there anyway. Should I be concerned and modify the code somehow, to disable EH02 as well, or is it unnecessary?
 
Hi Rehabman. Thanks for your input on the Hack scene, including this guide. I had issues wit the FakePCIID/XMUX Kext, but the version with XHC only seems to work. On thing that is eventually left, is the EH02 portion, the tremains enabled, because it's not included in your example in the laptop, but nothing is attached there anyway. Should I be concerned and modify the code somehow, to disable EH02 as well, or is it unnecessary?
nevermind, I found the code on Github after a Google Search. No EHCI visible now

code source: https://github.com/ZhangYuanSheng12...630+nv1060/ACPI/patched/SSDT-Disable_EHCI.dsl

I also would like to use VirtualBox. do I need additional ports for virtual USB?
 
I am trying to do USB patching. But when I looked at my USB port. I found there are several 3.0/3.1 USB host controllers which is quite different from this tutorial. I found there were six ports owned by D088 and D08A on my motherboard. And I don't exactly know where should I get started.

I also want to ask what is EH01 and EH02 controller with PR01 and PR12, it seems I can't find any usb port on my motherboard which is owned by EH01 and EH02
Screen Shot 2020-04-25 at 12.00.15 AM.png
 
I'm totally lost.
I'm on Mojave 10.14.6 and trying to make a custom SSDT for the USB Ports of my motherboard:
GA-Z77X-UD5H running F16j Modded Bios.

I'm using Hackintool for the port discovery and exporting it to SSDT.

Now when I attach the SSDT to the EFI folder I loose my Bluetooth connection that's on my internal USB port.

Kext I'm using is :
InjectUSBAll
FakePCIID_XHCIMux
FackPCIID

When I remove one of the FakePCIID kexts the internal USB bus doesn't work anymore and Bluetooth is lost.

Can someone help me out on this one ?
I can't find anything around this motherboard
 
I am trying to do USB patching. But when I looked at my USB port. I found there are several 3.0/3.1 USB host controllers which is quite different from this tutorial. I found there were six ports owned by D088 and D08A on my motherboard. And I don't exactly know where should I get started.

I also want to ask what is EH01 and EH02 controller with PR01 and PR12, it seems I can't find any usb port on my motherboard which is owned by EH01 and EH02
View attachment 464831


Hi there.

The motherboard you have has extra, third-party USB controllers alongside the main Intel ones. These are the two you mention - ASMedia and VIA.

Generally these are not configurable and they do not count towrds your 15-port limit. macOS treats them as if they are "external" ports, just like a PCI-e card added to a Mac Pro.

A bit of background:

Your X99 chipset comes with 2x EHCI controllers and 1x XHCI controller. This provides 14x USB2 ports in total and 6x USB3. However MSI does not impliment them all, just 6x of each for a total of 18x ports. (Remember a USB3 port can also act as a USB2 port too, so we double those).

Depending on the third-party controllers used, some provide USB3 only and piggy-back on existing USB2 ports, while others provide both types.

Okay, so those two EHCI controllers with the labels PR** are the 'parent' nodes of two 'hubs'. The actual USB2 ports will be hanging off those two hubs. The easiest way to visualise this is to run IORegistryExplorer.

So, what to do?

Well, do not worry about the ASMedia and VL controllers. When @RehabMan wrote this guide, Hackintool did not exist, so by using it you are straying beyond the bounds of the guide. No problem, just tricky sometimes matching what you are seeing with the tutorial.

Delete the third-party controllers if Hackintool lets you, or if not, just ignore their ports. Only work with your Intel ports and set each one up by doing the "port discovery' process with a USB2/3 flash drive.

:)
 
I'm totally lost.
I'm on Mojave 10.14.6 and trying to make a custom SSDT for the USB Ports of my motherboard:
GA-Z77X-UD5H running F16j Modded Bios.

I'm using Hackintool for the port discovery and exporting it to SSDT.

Now when I attach the SSDT to the EFI folder I loose my Bluetooth connection that's on my internal USB port.

Kext I'm using is :
InjectUSBAll
FakePCIID_XHCIMux
FackPCIID

When I remove one of the FakePCIID kexts the internal USB bus doesn't work anymore and Bluetooth is lost.

Can someone help me out on this one ?
I can't find anything around this motherboard


Hi there.

Two things:

1) You do not need FakePCIID_XHCIMux.kext.

2) If bluetooth disappears because of USB then the port is not configured correctly.

Maybe consider trying the easier, Beginner's Guide:


:)
 
Back
Top