Contribute
Register

[Guide] 10.11+ USB changes and solutions

Status
Not open for further replies.
I'm trying Mojave 10.14.2 on a z370 board, and USBInjectAll 0.7.1 with the 10.14.1+ port limit patch doesn't seem to be working as expected... I see only HS01-HS14+USR1 in IOReg. Here's the patch I'm using (look at the row below the highlighted one) and the result. Anything obvious I'm missing?

(New to me, when I attach a USB3 flash drive, it is recognized, just at USB2 speeds [System Info shows 480 mbps]. I am used to it being completely ignored if the USB3 ports aren't defined.)

EDIT: If I use an SSDT to customize the port selection through USBInjectAll, it does work as expected (not shown below). So it seems like the port limit patch isn't working for me? I'm not sure how I'd have come up with the SSDT without the port limit patch -- I was just lucky I had it on hand from when I had High Sierra on the machine I guess.


Screen Shot 2019-01-07 at 7.09.21 AM.png




Screen Shot 2019-01-07 at 7.08.59 AM.png
 
Last edited:
I have problem with usb 3.0 in front panel . It working perfectly in High Sierra but in Mojave not working . Usb 3.0 "Ultra" was detected in HS instead of SS . Can't you help me fix it ? Thank in advanced! (Tool gen report problem not working).
 

Attachments

  • Debug.zip
    10.9 MB · Views: 161
  • Screen Shot 2019-01-23 at 6.36.28 PM.png
    Screen Shot 2019-01-23 at 6.36.28 PM.png
    162.9 KB · Views: 118
  • Screen Shot 2019-01-23 at 6.37.04 PM.png
    Screen Shot 2019-01-23 at 6.37.04 PM.png
    56.4 KB · Views: 192
I have a new problem I've never seen before. All of my USB 2 and 3 ports are working and have been for four years. I have no DSDT or SSDT patches but am using USBInjectAll.kext. After I switched my graphics card from Nvidia to AMD, my USB 3 ports work but not for hard drives. I can plug the drives into USB 2 ports and they mount but when plugged into USB3, they spin but don't mount or show up in Disk Utility. When I boot into Windows, they mount just fine.
 
I'm trying Mojave 10.14.2 on a z370 board, and USBInjectAll 0.7.1 with the 10.14.1+ port limit patch doesn't seem to be working as expected... I see only HS01-HS14+USR1 in IOReg. Here's the patch I'm using (look at the row below the highlighted one) and the result. Anything obvious I'm missing?

(New to me, when I attach a USB3 flash drive, it is recognized, just at USB2 speeds [System Info shows 480 mbps]. I am used to it being completely ignored if the USB3 ports aren't defined.)

EDIT: If I use an SSDT to customize the port selection through USBInjectAll, it does work as expected (not shown below). So it seems like the port limit patch isn't working for me? I'm not sure how I'd have come up with the SSDT without the port limit patch -- I was just lucky I had it on hand from when I had High Sierra on the machine I guess.


View attachment 377406



View attachment 377407

You can do port discovery in different phases. You can boot without flags on first boot to look at your HS ports (like you did above). Then boot with flags -uia_exclude_hs uia_include=HS01,HS02
• Change the HS01,HS02 ports to the ones you have your mouse and keyboard attached

On your second boot you should be able to discover additional ports.
 
As part of my troubleshooting relating a disappearing USB3 hub I removed SSDT-UIAC.aml from /EFI/CLOVER/ACPI/patched, keeping USBInjectAll.kext loaded and relying only on a boot flag, uia_exclude=HS04;HS12;HS13;HS14;SS04;SS07;SS08;SS09;SS10;USR1;USR2, to keep under the 15 port limit. This looks to be working properly, with Mojave 10.14.3 evidently able to enumerate all the needed USB ports without the need for a custom SSDT. Does anybody have any opinion or advice about this configuration?
 
As part of my troubleshooting relating a disappearing USB3 hub I removed SSDT-UIAC.aml from /EFI/CLOVER/ACPI/patched, keeping USBInjectAll.kext loaded and relying only on a boot flag, uia_exclude=HS04;HS12;HS13;HS14;SS04;SS07;SS08;SS09;SS10;USR1;USR2, to keep under the 15 port limit. This looks to be working properly, with Mojave 10.14.3 evidently able to enumerate all the needed USB ports without the need for a custom SSDT. Does anybody have any opinion or advice about this configuration?

It means something is wrong with your SSDT-UIAC.aml.
 
It means something is wrong with your SSDT-UIAC.aml.
I think SSDT-UIAC is working. The problem I've got is that if the computer is shut down from MacOS then a motherboard USB3 hub is almost sure to be missing when the computer is restarted after a period of time, like the next morning. The loss of the hub removes USB3 connectivity from the front and top panel USB3 ports. Once the computer gets into this state then the hub won't even be available in Windows until the computer's power supply is switched off. This condition never occurs after a Windows shutdown (assuming the hub was present and working before the shutdown). My workaround now is to switch the computer off at the power supply after a MacOS session. I've attached all the diagnostic files to see if you make anything of this problem.

Motherboard: Gigabyte Z170X SOC FORCE
CPU: i7-6700K
RAM: 32GB (4x8GB DDR4 2400)
GPU: ASUS Strix Radeon RX Vega 64
OS: Mojave 10.14.3
 

Attachments

  • EFI.zip
    46.5 MB · Views: 234
  • [email protected]
    974.3 KB · Views: 91
  • kextcache_teminal.txt
    3 KB · Views: 101
  • patchmatic.zip
    54.4 KB · Views: 102
  • Terminal Saved Output.txt
    3.6 KB · Views: 118
I think SSDT-UIAC is working. The problem I've got is that if the computer is shut down from MacOS then a motherboard USB3 hub is almost sure to be missing when the computer is restarted after a period of time, like the next morning. The loss of the hub removes USB3 connectivity from the front and top panel USB3 ports. Once the computer gets into this state then the hub won't even be available in Windows until the computer's power supply is switched off. This condition never occurs after a Windows shutdown (assuming the hub was present and working before the shutdown). My workaround now is to switch the computer off at the power supply after a MacOS session. I've attached all the diagnostic files to see if you make anything of this problem.

Motherboard: Gigabyte Z170X SOC FORCE
CPU: i7-6700K
RAM: 32GB (4x8GB DDR4 2400)
GPU: ASUS Strix Radeon RX Vega 64
OS: Mojave 10.14.3

The hub at HS06 is internal or external?
HS11 is marked UsbConnector=2. Why? (read ACPI spec for _UPC, and you'll discover 2 is really wrong)
SS06 hub is internal or external?
 
The hub at HS06 is internal or external?
SS06 hub is internal or external?
Internal. All of the ports that are connected to F_USB30_1 & F_USB30_2 motherboard headers seem to go through these hubs.
HS11 is marked UsbConnector=2. Why? (read ACPI spec for _UPC, and you'll discover 2 is really wrong)

Ah, right. This is for a combo WiFi / Bluetooth PCIe card. It is connected directly to a USB2 motherboard header by a 2-wire cable. The most appropriate type in the spec seems to be "Proprietary" so I've changed it in the SSDT to 0xFF.
 

Attachments

  • SSDT-USB_Z170X_SOC_FORCE.dsl.zip
    1.3 KB · Views: 120
Status
Not open for further replies.
Back
Top