Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Aug 22, 2011
Messages
214
Motherboard
Gigabyte X99 UD4 -F.23
CPU
i7-5820K OC 4.3 GHz
Graphics
GTX 960
Mobile Phone
iOS
What internal device are SSP2/HS02 connected to?
The card reader and the single USB3 port on it (SSP01/HS01 and SSP02/HS02 respectively) both connect to the front USB3 header on the motherboard.

If you eliminate the SSPx port associated, it may connect as USB2 (HSxx, or with FakePCIID_XHCIMux.kext as HPxx on one of the EHCI controller hubs).
I can try this, but maybe later (tomorrow, possibly), as it is midnight here and I am rushing to complete work for a meeting tomorrow. As soon as I will install FakePCIID-XHCIMux.kext, all my USB2 port allocations will change all over the place, and I will have to map them out again.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,090
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
The card reader and the single USB3 port on it (SSP01/HS01 and SSP02/HS02 respectively) both connect to the front USB3 header on the motherboard.
If SSP2 and HS02 are connected to an external port, then both should have UsbConnector=3.

As soon as I will install FakePCIID-XHCIMux.kext, all my USB2 port allocations will change all over the place, and I will have to map them out again.
Yes.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,090
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
In that case, wouldn't the same apply to SSP5/HS09? These are connected to a 4-port hub but all 4 ports are external...? Sorry if I'm being stupid here...
The 4-port hub itself is internal.
The ports on the hub are external.
The hub is the device connected to the controller... and that's what matters as far as UsbConnector.
 
Joined
Aug 22, 2011
Messages
214
Motherboard
Gigabyte X99 UD4 -F.23
CPU
i7-5820K OC 4.3 GHz
Graphics
GTX 960
Mobile Phone
iOS
The 4-port hub itself is internal.
The ports on the hub are external.
The hub is the device connected to the controller... and that's what matters as far as UsbConnector.
So does that mean that while the USB3 port (SSP2/HS02) is external, the card reader (SSP1/HS01) is internal? That the card read is a hub?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,090
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
So does that mean that while the USB3 port (SSP2/HS02) is external, the card reader (SSP1/HS01) is internal?
Yes.

That the card read is a hub?
No, at least not from your description/ioreg so far.
It sounds to me like your internal header provides connections for two separate USB3 ports (no hub involved).
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,090
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yes, so should I give them both UsbConnector=3, right?
No.
The card reader is internal, UsbConnector=255.
But the external port is, well,... USB3 external, therefore UsbConnector=3.

UsbConnector is an indication of the type of the device/port connected directly to the controller.
Read the ACPI spec/_UPC for details.
 
Joined
Jan 28, 2013
Messages
324
Motherboard
Lenovo IdeaPad 330S-15IKB-81F500NSUS
CPU
i5-8250U
Graphics
Intel® UHD Graphics 620
Mac
Mac mini
Classic Mac
eMac, Power Mac
Mobile Phone
iOS
RehabMan - thank you for the guide in post #1. I created my custom SSDT and IORegistryExplorer is now showing only the correct ports in XCH@14 (and they all work flawlessly). Does this mean that I should now remove the USB patches highlighted in the attached pic? (the port limit patch and the USB 10.13.4+ by PMHeart)
 

Attachments

Top