Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Ok, I'm officially frustrated! The very reason I started doing all this is because I got USB 3.0 transfer speeds of about 20 MB/s, which is pathetic. It turns out that no matter what I do the speeds remain the same. The thing is that when I thoroughly looked in Windows (with USB viewer) the USB ports where loaded in exactly the same places and their speed was the same as in MacOS (if not a little bit worse). Before anyone tells me that "something is wrong with my hardware" I want to mention that when I load Linux (clean install, not dual-boot) on the SAME drive as MacOS and with exactly the same settings in BIOS I get MINIMUM transfer speeds to the same external USB 3.0 HDD of 120 MB/s!

I don't know if it means anything but both Windows and MacOS route everything to XHC (leaving EH01-02 untouched no matter what I plug-in or where). I haven't had the chance to check how the case is handled by linux. If something is indeed wrong I'll post the necessary files later (I'm not on the "experimental" machine right now) . If I'm at the wrong thread PLEASE tell me where to look.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
The kext is in the USBInjectAll repo.
Download the ZIP, then you have it.
Always read carefully.

I did. In this case, it really isn't. I found it in the link provided in your other thread regarding USB. Allow me to provide it here and perhaps you could edit your readme and the link provided to the correct one for the 200-series, https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip.

Nevertheless, I wish to say thank you for your excellent work and your tireless assistance and contribution to the community. I'm new to Hackintosh and the resources provided by you have been tremedously helpful. Thank you.
 
I did. In this case, it really isn't.

Wrong.
Screen Shot 2017-10-18 at 6.12.26 AM.png


It is in the USBInjectAll repo ZIP from github.
Must not be confused with the USBInjectAll.kext distribution ZIP on bitbucket.
 
Wrong.
View attachment 286654

It is in the USBInjectAll repo ZIP from github.
Must not be confused with the USBInjectAll.kext distribution ZIP on bitbucket.

Ok, I think I'm not wording it clearly or perhaps an image would be best. What I am trying to say, is that the repo zip you have linked to in GitHub for the master archive containing the XHCI-200-series-injector.kext is the wrong link. You used the same link as the one with the 9-series injector. It's a small oversight on your part, no biggie, as the correct link to the master archive is in your other thread as I've so pointed out. But, to be sure, you did not link to the USBInjectAll master repo zip in your GitHub. Here's the image for reference:

Screen Shot 2017-10-18 at 6.48.00 AM.png

I believe the correct link to the master archive containing the 200-series-injector is mentioned in this thread, with the archive linked here https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip

But ok, I get it, just download the project by clicking here

Screen Shot 2017-10-18 at 6.52.25 AM.png
 
Ok, I think I'm not wording it clearly or perhaps an image would be best. What I am trying to say, is that the repo zip you have linked to in GitHub for the master archive containing the XHCI-200-series-injector.kext is the wrong link. You used the same link as the one with the 9-series injector. It's a small oversight on your part, no biggie, as the correct link to the master archive is in your other thread as I've so pointed out. But, to be sure, you did not link to the USBInjectAll master repo zip in your GitHub. Here's the image for reference:

View attachment 286666
I believe the correct link to the master archive containing the 200-series-injector is mentioned in this thread, with the archive linked here https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip

But ok, I get it, just download the project by clicking here

View attachment 286667

Typo in README.md is now fixed.
 
Ok RehabMan. I think I got all the files you need. Once I patched with the SSDT-UIAC.aml, I disabled the port limit patch. Now I only have the XHC ports used, all of them recognise my USBs but the transfer speed remains at 23 Mb/s for USB 3.0
 

Attachments

  • StriderXS.zip
    1.6 MB · Views: 68
Ok RehabMan. I think I got all the files you need. Once I patched with the SSDT-UIAC.aml, I disabled the port limit patch. Now I only have the XHC ports used, all of them recognise my USBs but the transfer speed remains at 23 Mb/s for USB 3.0

Your configuration is wrong.
You have no SSxx ports under XHC.
Read post #1 carefully.
 
That's because I thought I should remove them since they are never used no matter what USB I plug and where.

By the way, after some more digging, I think that my problem fits exactly Matt's case in "USB Driver Changed Again" thread a couple of years ago. My system responds EXACTLY the same way as his. At some point you provided him with a custom DSDT (something to do with XSEL and ESEL) which fixed his issue. His system was also dumping everything on HP ports (like my system) and EVERY single time I use FakePCIID_XHCIMux everything loads on EH01 and EH02 leaving XHC completely unused.
 
That's because I thought I should remove them since they are never used no matter what USB I plug and where.

You must use a USB3 device to light up the SSxx ports.
Also check BIOS settings.
You will need to provide "Problem Reporting" files that represent your attempt during port discovery. Your problems start there.
 
Check this out. The first IOreg is WITHOUT the FakePCIID_XHCIMux.kext. I have a USB 3.0 stick in my front USB 3.0 port which as you can see is loaded on HS10 and... that's it!

The second IOreg is WITH the FakePCIID_XHCIMux.kext loaded (and with the same stick in the same port). As you can see everything is dumped on EH and nothing happens on XHC.

BIOS Settings:
XHCI Mode -> Smart Auto
XHCI Hand-off ->Enabled
EHCI Hand-off -> Enabled
USB3 -> Enabled
Legacy USB -> Enabled
 

Attachments

  • 1-Without FakePCIID_XHCIMux.ioreg
    3.8 MB · Views: 84
  • 2-With FakePCIID_XHCIMux.ioreg
    3.7 MB · Views: 86
  • config.plist
    7.2 KB · Views: 211
Last edited:
Back
Top