Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Thanks, did all the above. And I always just did it with kextbeast because I could never get that command to work. Where shall I put the kext for it to be installed with that command? I just get the "No such file or directory" error each time.
type in:

sudo cp -R

then space bar, then drag the USBInjectAll.kext to the terminal window

then type after:

/Library/Extensions

so it looks like something:

sudo cp -R /foldername/maybeanotherfoldername/USBInjectAll.kext /Library/Extensions
 
Ok, thanks. Here is the file.

Your kextcache shows USBInjectAll.kext installed incorrectly:
Code:
Kext rejected due to improper filesystem permissions: <OSKext 0x7fb206488ec0 [0x7fffa8d66980]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }

Once you install it incorrectly, you must delete it before attempting re-install.
See FAQ for proper kext installation procedures:
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

Note also that to test all 100-series (or later) USB ports, you must increase the port limit to 26.
Also, the patch you have for the port limit (to 20, which not adequate in any case) is for 10.12.x, but your ioreg shows you are running 10.13.x. Read post #1 and look at config_patches.plist for the correct patch.

Yeah, didn't even come to the idea to follow it as I don't have a laptop.

This is the laptop forum, but I make an exception for desktops and USB configuration.
 
Thanks so much ! It worked. I finally have USB. Just one thing, If I tell it not to inject Intel but Nvidia I can't boot into the OS. I have tried Injecting both, but this also fails. Does this mean I am not using my Nvidia Card ? Cause it is detected and the web drivers are running.
 

Attachments

  • config.plist
    6.2 KB · Views: 229
Update: After a reboot the USB 3.0 is gone again. Cant detect any of the devices.
 
So, I deleted the USBInjectAll.kext and installed it the good way via Terminal. The permissions seem to be cleared now, but the ports still don't show up. * Strange thing is, I had the USB devices showing up after my PC came out of Sleep, it worked briefly, but froze and upon reboot there was nothing again.
 

Attachments

  • 14167.zip
    5.6 MB · Views: 56
Thanks so much ! It worked. I finally have USB. Just one thing, If I tell it not to inject Intel but Nvidia I can't boot into the OS. I have tried Injecting both, but this also fails. Does this mean I am not using my Nvidia Card ? Cause it is detected and the web drivers are running.

Graphics is off-topic.

Update: After a reboot the USB 3.0 is gone again. Cant detect any of the devices.

No problem reporting files attached. Read post #1.

So, I deleted the USBInjectAll.kext and installed it the good way via Terminal. The permissions seem to be cleared now, but the ports still don't show up. * Strange thing is, I had the USB devices showing up after my PC came out of Sleep, it worked briefly, but froze and upon reboot there was nothing again.

Your USB configuration is wrong. Various ports are being blocked due to the 15-port limit.
Read post #1.
 
After a successful re-Install of high Sierra and keeping HFS format, seems that all of my Audio software works correct. NVIDIA, AUDIO, SHUT DOWN,... All Good!
Now is time to discover the Usb ports.

I started following post #1 here and this is what my ports in I/o reg. looks like. I think I don't see them all.

All of the USB ports testing with USB hub 3.0 are being seeing as USB 2 hub.

I installed the USBInjectAll.Kext and all the changes are made to the EHCx and Port limit patch applied via Multibeast 10.2.0.

I did not install FakePCIID.kext and FakePCIID_XHCIMux.kext. Should I?

Edit*: I Installed FakePCIID.kext and FakePCIID_XHCIMux.kext, Nothing Changed. on the Bottom of the I/O register Explorer I see this: (attached USBInjectAll_config Picture).
 

Attachments

  • Ports after USBInjectAll.Kext.png
    Ports after USBInjectAll.Kext.png
    144.5 KB · Views: 102
  • USB ports I:O Reg02.png
    USB ports I:O Reg02.png
    246.7 KB · Views: 98
  • config.plist
    8.3 KB · Views: 179
  • USBInjectAll_config.png
    USBInjectAll_config.png
    283.9 KB · Views: 86
Last edited:
After a successful re-Install of high Sierra and keeping HFS format, seems that all of my Audio software works correct. NVIDIA, AUDIO, SHUT DOWN,... All Good!
Now is time to discover the Usb ports.

I started following post #1 here and this is what my ports in I/o reg. looks like. I think I don't see them all.

All of the USB ports testing with USB hub 3.0 are being seeing as USB 2 hub.

I installed the USBInjectAll.Kext and all the changes are made to the EHCx and Port limit patch applied via Multibeast 10.2.0.

I did not install FakePCIID.kext and FakePCIID_XHCIMux.kext. Should I?

Edit*: I Installed FakePCIID.kext and FakePCIID_XHCIMux.kext, Nothing Changed. on the Bottom of the I/O register Explorer I see this: (attached USBInjectAll_config Picture).

You failed to use the port limit patch (or are using the wrong one).
Read post #1.
 
Just posting this in case someone else runs in to the same issue. I created a custom SSDT for USBInjectAll.kext, and everything was working great (port mapping, sleep, wake, shutdown etc.) except one thing. After my system woke up from sleep, my cursor became jittery and laggy. Opening up console revealed an infinite loop of the same errors:
Code:
002521.169536 AppleUSB30Hub@14e00000: AppleUSBHub::deviceRequest: resetting due to persistent errors
002521.773318 AppleUSB30HubPort@14e30000: AppleUSB30HubPort::interruptOccurred: clearing change bits failed with 0xe00002d8
002521.867840 SS03@14e00000: AppleUSBHostPort::forcePowerGated: kPowerStateSleep completed with 0xe00002d6 after 1001ms
#ICDebug - 51:{ICWiredBrowser.m} (USB terminate)
002604.733728 AppleUSBHostResources@(null): AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 150 sleepUnits 0
As it turns out, using an extension cable to connect a non-powered usb 3.0 hub isn't a good idea. After eliminating the extension cable, the issue stopped... I should of known better :shifty:
 
Back
Top