Contribute
Register

USB port limit patch for 14.1, 14.2, 14.3, 14.5,14.6

Oh oh. What trouble did you have?

View attachment 394195

No trouble at all, but using traditional means, and prior to 10.14.1

I believe @RehabMan has explained that the PLRP no longer works for the latest OS or USBInjectAll, but I have not yet seen confirmation. This would explain why your own IORegistryExplorer XHC tree is "unfettered" and showing everything. (Didn't spot the extra 6 ports in the ASUS spec for your motherboard).

Before this can be recommended as a reliable way forward, the "out of bounds" code issue needs evaluating - pro or con.
 
So, I've got patches in and USB Inject All.
In the console log, I get:

018634.986349 AppleUSB20HubPort@1a146000: AppleUSBHostPort::disconnect: persistent enumeration failures

Over and over again. I think that's not supposed to happen?
FYI - I'm still on 10.14
Tom
 
The three patches worked for me! Thanks!

I've got 4 but now that I look at it, are the first 2 repeats?

Screen Shot 2019-03-25 at 11.57.34 AM.png
 
.....
(Didn't spot the extra 6 ports in the ASUS spec for your motherboard)
.....

I have 12 external and 2 internal physical ports enumerated. 1 of the internal ports is for the CNVi WiFi / Bluetooth card (HS14) and the other is for Asus Aura LED controller (HS13).

395003


395000


Edit: Clarified physical ports.
 
Last edited:
Not sure what you mean, I have 12 physical and 2 logical ports enumerated. 1 of the logical ports is internal (HS14) for BlueTooth, the last one I have no idea what for (CNVi, WiFi, USBInjectAll?)

View attachment 395003

View attachment 395000

So looking at your ASUS spec graphic -

From the top:

1x USB 3.1G2 = 2 ports
2x USB 3.1G2 = 4 Ports
5x USB 3.1G1 = 10 ports
4x USB 2.0. = 4 ports
---------------
20 ports.

I see 26 in the IOReg grab above and in your previous graphic. Even without USR1, USR2 that's still 24.

I note some ports were "ExpressCa". Out of interest, where would they be? Wifi/BT? (Always glad to learn stuff about new tech, and the Z390 is :thumbup: )
 
Last edited:
So looking at your ASUS spec graphic -

From the top:

1x USB 3.1G2 = 2 ports
2x USB 3.1G2 = 4 Ports
5x USB 3.1G1 = 10 ports
4x USB 2.0. = 4 ports
---------------
20 ports.

I see 26 in the IOReg grab above and in your previous graphic. Even without USR1, USR2 that's still 24.

I note some ports were "ExpressCa". Out of interest, where would they be? (Always glad to learn stuff about new tech, and the Z390 is :thumbup: )

Why do I get the feeling you are testing me :)

My board has 2 internal ports. 1 for the internal WiFi / Bluetooth card and another for the Asus Aura LED controller. I would suspect that each of their controllers accounts for 3 ports so total is 20 + 6 = 26.

ExpressCA stands for Express Card, which is a USB device that has its own USB controller, such as the WiFi / Bluetooth card or PCIE USB adapter. I am not sure why they are being named that way.

Edit: fixed port calculations based on evolved understanding.
 
Last edited:
Why do I get the feeling you are testing me :)

Not all physical ports have the same amount of logical ports (if that's the right term). For instance 2 of the ports are only USB 2.0 and will only have 2 LPs instead of 6. ExpressCA stands for Express Card, which is a USB device that has its own USB controller, such as the WiFi / Bluetooth card or PCIE USB adapter.

It is quite possible that the other 2 Express Card ports are misidentified and should be relabelled. I really haven't had time to go through it all and my own understanding is evolving as well.

Ha! :)

No, I'm not testing anyone. You said in your previous post, you didn't know what I meant, so I was offering an explanation as to how I would figure the total port numbers and get 20, not 26.

Yes, I know what an Express Card is and was wondering if this was where the 'extra' USB ports were coming from.

As for terminology, yes it's confusing, isn't it? I'm sure the experts will have a correct dictionary of such. In my own descriptions I use "Physical" port and "Virtual" Port. So a physical USB 2.0 port should have just 1x port associated with it. It features 4-contacts, not 9. So this is an HS** only and no point configuring an SS** port OR a "UsbConnector Type", 3,.

:)
 
Last edited:
@utterdisbelie Changed post #37, does it make more sense or do I still have it wrong? Not sure how many vritual ports are assigned to 2 internal ports, will look into later. I want to get this right!

It looks as though your Asus motherboard headers are: 2x USB 3.1G1 ports (4x virtual) & 2x USB 2.0 ports (2x) along with that front-panel connector with 1x USB3.1G2 ports (2x virtual) = 8

Asus3.jpg



Counting back-panel ports and totalling the 'virtual' = 12.

8+12 is the standard 20.

However I wonder if those "extra" ports, and I'm still surprised at 6x virtual, are somehow related to the built-in back-panel CNVi wireless, new to Z390. The graphic shows wifi as M.2 though. Maybe these ports show in IOReg but are not actually user-accessible, so to speak. Which is fair enough.

Interestingly the total number of USB ports supported by the Intel Z390 chipset is:

10 x USB 3.1 Ports
- Up to 6 USB 3.1 Gen 2
- Up to 10 USB 3.1 Gen 1
14 x USB 2.0 Ports

... for 34 virtual ports.

It would be good to know more because clearly your output shows 26. :thumbup:

:)
 
Last edited:
Back
Top