Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Sounds like you broke USB3 with your changes.
No idea without PR files.
Trying to see why the usb3 is not showing on the USBInjectAll.

Looks like the change occurred when the ACPI files were compiled a second time. The second time, there
was an error and I left out -da/refs.txt to make it without error. Things seem different though. A lot of
info in the SSDTs.

Not sure what changed from the two iasl compiles. Csm disabled once but thats about it. Messing with
the HD530. And was in 10.11 the first time.

Skipped renaming h_ec to ec thought it may not need with the fake EC SSDT
 

Attachments

  • EFI.zip
    31.6 MB · Views: 90
  • debug_30281.zip
    1,000.6 KB · Views: 59
  • bootLog.zip
    8.1 KB · Views: 61
Last edited:
Got it. Os version in 15 to 26 port limit.
 
Got it. Os version in 15 to 26 port limit.

Keep in mind that after you follow this guide, there should be no dependence on any port limit patch.
 
I was able to successfully create a custom SSDT in the hopes of solving my sleep/wake issues. Unfortunately, sleep problems are still affecting me on 10.13.5, but at least I've ruled out the port-limit-patch as the problem (since they are disabled)!

One gotcha about using a custom SSDT is that you cannot use more than the allotted 15 ports. My mobo (H97 pro4) has 6 USB3 ports and 4 USB2 ports. Since USB3 ports are backwards compatible with USB2, those 6 ports get doubled and listed as 12 USB ports. 12 + 4 = 16 USB ports, which means one port on your mobo will be disabled. You can choose in the SSDT-UIAC-ALL.dsl file which USB port/s you would like to deactivate, just make sure you have 15 or less items on that list.

Happy hacking!
 
One gotcha about using a custom SSDT is that you cannot use more than the allotted 15 ports.

Not a "gotcha" (it is clearly documented in post #1).
Also, not a limit of USBInjectAll.kext or the SSDT.

The limit is created by Apple in their Intel xHCI drivers.
 
Hello,

I'm trying to follow your guide (I attached the configuration).
But when I'm starting the discovery I found some USB ports which are not working correctly.

When I plug an USB drive in these ports the drive will not displayed in the IOExplorer or under macOS.
When I plug an device in one of my ports also other ports are not working correctly.
In some ports all works well.
So I think I have to fix that issues first, right?

And another question: How can I see if the port is working in USB2 or USB3 mode?



Thanks
 

Attachments

  • debug_24360.zip
    2.4 MB · Views: 67
Hey Rehabman...
When I Plugged My USB 2 Flashdrive to USB 2 port, My flash drive is under USB 3 (on System Profiler)
Did I Miss Something
Thanks You
 

Attachments

  • For Rehabman.zip
    3 MB · Views: 61
Hello,

I'm trying to follow your guide (I attached the configuration).
But when I'm starting the discovery I found some USB ports which are not working correctly.

When I plug an USB drive in these ports the drive will not displayed in the IOExplorer or under macOS.
When I plug an device in one of my ports also other ports are not working correctly.
In some ports all works well.
So I think I have to fix that issues first, right?

And another question: How can I see if the port is working in USB2 or USB3 mode?



Thanks

You neglected to add the appropriate port limit patch.
Also, keep in mind this guide does not apply to non-Intel XHCI.
 
Hey Rehabman...
When I Plugged My USB 2 Flashdrive to USB 2 port, My flash drive is under USB 3 (on System Profiler)
Did I Miss Something
Thanks You

It is as expected. Your computer has no EHCI controller (only xHCI), and Apple shows anything connected to xHCI as "USB 3.0 Bus". They don't want to confuse their users with technical terms like xHCI.
 
It is as expected. Your computer has no EHCI controller (only xHCI), and Apple shows anything connected to xHCI as "USB 3.0 Bus". They don't want to confuse their users with technical terms like xHCI.

ok
but when I Installed FakePCIID and FakePCIID_XHCIMux from Efi/clover/kext , And Plug in to USB 3 Port,All My USB Thumbdrive (Flashdrive and HDD External) is under USB 2.0 Bus...
is that normal ?
thank you
 
Back
Top