Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Your setup is clearly wrong.
One sanity check I do is to check for equal number of SSxx ports as HSxx ports with UsbConnector=3.
You have 4 SSxx with UsbConnector=3, but no HSxx ports with UsbConnector=3.
Should be 1:1.
OK, so there is something that I am not understanding and I think this is the values that you have picked up on. The errors are because I am confused. I understand, to you, these are basic things, but not so for me. So when I did the port discovery with your help, I got this:
GAZ87HD3-Map.jpg


And this is where I seem to get confused. "Your guide tells me Common port connector types are USB2 = 0, USB3 = 3, internal = 255."

So, I thought that 255, internal, would the USB ports shown above at the bottom of the pic: SSP01/HS01, HS13, HS14, HS07/08 and HS12/11

I have the feeling I'm showing my ignorance here and don't understand what the definition of internal/255 is. Please can you explain? How do I identify internal ports and can you tell me from the information above which would be 255?

I fairly sure I understand correctly HS03 for example will be set as "0" for USB2 and SSP1 will be "3" for USB3

So, I've edited this post as I re read your guide and see that HS03 if attached to a USB3 port would have a value of 3 and not 0, this was confusing me!

Remaining questions around 255:

1. I am confused as you know! So, I have my Bluetooth BCM943602CS card connected to HS11 and HS12, please can you tell me what value to use here? Is 255 used for essentially anything that is connected to a device that isn't a USB port?

2. HS08 and HS07 are attached to a multi card reader, it does not have any USB ports, just for SD cards etc, and I don't know if this should be set as 2 or 255
 
Last edited:
1. I am confused as you know! So, I have my Bluetooth BCM943602CS card connected to HS11 and HS12, please can you tell me what value to use here? Is 255 used for essentially anything that is connected to a device that isn't a USB port?

2. HS08 and HS07 are attached to a multi card reader, it does not have any USB ports, just for SD cards etc, and I don't know if this should be set as 2 or 255

Both of those cases would be internal/255.
 
Both of those cases would be internal/255.
Thanks. In the image above showing my port discovery results, HS14 is the front USB 2 port on my Hackintosh case. Should I set this as "0" for USB2? Same question for SSP01/HS01 - this connects to the front USB 3 port on case, should this be set to "3" or are these classed as internal?

USB 2 and 3 I get, but I'm struggling to know the criteria for setting as internal. Thanks for your patience.
 
Thanks. In the image above showing my port discovery results, HS14 is the front USB 2 port on my Hackintosh case. Should I set this as "0" for USB2?

If that port is directly connected to the controller, yes.
It is quite common for such ports to be connected to an internal hub, which is, in turn, connected to the controller, so of course in that case it is internal.

Same question for SSP01/HS01 - this connects to the front USB 3 port on case, should this be set to "3" or are these classed as internal?

Same question regarding the potential for an interconnected internal hub.
 
Sorry for my English
Recently,I found an app named “FBPatcher”. it could help user to get a kext for usbport injecting.
1, Boot OSX to with USB limitedremoved kext to patch in config.plist, and usbinjectall.kext in /other

2, Open “FBPatcher” ,select “ USB” logo button,and in “genneral”,you would find usbport.

3, Use USB3.0 and USB2.0 hardware to test each USB port of your PC,and the port that had be used would be colored,Changed port connector to their real one,noticed that USB3 port having two connectors:USB2.0 and USB3.0.

4,Delete the ports that didnot be colored,click “export” logo button, you would get a kext named “USBPorts.kext” on desktop.

5, Copy “USBPorts.kext” to /other ,and delete “usbinjectall.kext‘, and reboot. Done!
 

Attachments

  • QQ20181022-142224.png
    QQ20181022-142224.png
    66.6 KB · Views: 86
  • FBPatcher1.51.zip
    643.7 KB · Views: 64
Sorry for my English
Recently,I found an app named “FBPatcher”. it could help user to get a kext for usbport injecting.
1, Boot OSX to with USB limitedremoved kext to patch in config.plist, and usbinjectall.kext in /other

2, Open “FBPatcher” ,select “ USB” logo button,and in “genneral”,you would find usbport.

3, Use USB3.0 and USB2.0 hardware to test each USB port of your PC,and the port that had be used would be colored,Changed port connector to their real one,noticed that USB3 port having two connectors:USB2.0 and USB3.0.

4,Delete the ports that didnot be colored,click “export” logo button, you would get a kext named “USBPorts.kext” on desktop.

5, Copy “USBPorts.kext” to /other ,and delete “usbinjectall.kext‘, and reboot. Done!

Yes, the app and a USB port injector codeless kext generated by it can do the same thing as USBInjectAll + custom SSDT.
But it is not the technique employed by this guide.
 
If that port is directly connected to the controller, yes.
It is quite common for such ports to be connected to an internal hub, which is, in turn, connected to the controller, so of course in that case it is internal.



Same question regarding the potential for an interconnected internal hub.
If that port is directly connected to the controller, yes.
It is quite common for such ports to be connected to an internal hub, which is, in turn, connected to the controller, so of course in that case it is internal.



Same question regarding the potential for an interconnected internal hub.
Thank you. I wasn't understanding internal, think I do now. I've updated the SSDT-UIAC.aml attached and think I now have this correct. I've attached problem reporting files, would you be kind enough to tell me if you see anything I have missed in configuring my USB?
 

Attachments

  • debug_15260.zip
    3.4 MB · Views: 53
  • SSDT-UIAC.aml
    698 bytes · Views: 130
Thank you. I wasn't understanding internal, think I do now. I've updated the SSDT-UIAC.aml attached and think I now have this correct. I've attached problem reporting files, would you be kind enough to tell me if you see anything I have missed in configuring my USB?

Why is HS07 marked internal, but nothing attached to it?
The hub at HS10 is an external (USB2) hub you plugged in?
 
Why is HS07 marked internal, but nothing attached to it?
The hub at HS10 is an external (USB2) hub you plugged in?
HS07/HS08 is what my Multi Card Reader is plugged into on the mobo. I cant tell you the model as it has no markings. I set as internal as I thought they usually were, if this sounds wrong, how do I determine what to set this as?

The hub at HS10 is my Anker 4 port USB 3 Hub, pictured below have I made a mistake here?

68ANHUB-02S4A_ND01.jpg
 
HS07/HS08 is what my Multi Card Reader is plugged into on the mobo. I cant tell you the model as it has no markings. I set as internal as I thought they usually were, if this sounds wrong, how do I determine what to set this as?

If it is a device that is not present until you plug something into it, it should NOT be marked internal.

The hub at HS10 is my Anker 4 port USB 3 Hub, pictured below have I made a mistake here?

It is USB2-only?
 
Back
Top