Contribute
Register

A Beginner's Guide to Creating a Custom USB SSDT

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
3,325
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Assuming the Gen 2 ports are on a different controller, that shouldn't be a problem should it? I thought the 15 port limit was per controller, not for the entire motherboard.
That depends on what exactly you mean. Of the main CPUs only the latest feature USB3.1 Gen 2 on the Intel controller. Most in circulation prior to the Z390 have Gen 1. So motherboard manufacturers used add-on, 3rd-party, chips to provide the Gen 2 ports.

To follow through with your argument, some older Intel chipsets feature an XHCI controller as well as two EHCI controllers. That would add up to 45 ports. So clearly that's not the case.

Apple only uses the Intel controller and no 3rd-party "piggy-back' controllers like ASMedia and Renesas. So the 15-port limit is for those Intel ports. However, there is driver support for add-on PCI-e USB cards that might, for example, fit in a Mac Pro. Those are 3rd-party controllers that need 3rd-party drivers (you might have seen mention of CalDigital, NEC, ASMedia, Renesas etc). They don't feature in the 15.
 
Joined
Sep 9, 2019
Messages
14
Motherboard
Z390 AORUS PRO
CPU
i7 8700k - 4.7Ghz
Graphics
RX580 4Gb
Mac
iMac
Mobile Phone
iOS
Hey, I’ve been reading some other posts about creating a usb.kext with Hackintool and removing the usb-uiac.aml

which method is the best?
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
3,325
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Hey, I’ve been reading some other posts about creating a usb.kext with Hackintool and removing the usb-uiac.aml

which method is the best?
Check my new guide here.

This was created because going forward with Catalina and beyond a new method might be required at some point :thumbup:
 
Joined
Oct 19, 2014
Messages
15
Motherboard
Gigabyte Z390 M
CPU
i5-9600K
Graphics
UHD 630
Mac
iMac, Mac Pro
Mobile Phone
iOS
Hi. I have already made the 3.0 USB ports work on aorus z390 pro.
I used usbinjectall.kext 0.7.3 and I placed it in the Clover / kexts / other folder.
.View attachment 432586
In config.plist I modified matchOS and put 10.15.0
View attachment 432588
In clover / acpi / patched / I have placed ssdt_usb.ami
View attachment 432589
I have restarted and it already recognizes ports 3.0

I hope this works for everyone. good luck
View attachment 432591
Hello luismsb
I have Gigabyte Z390 M and I5 9600K in my new computer and no work USB 3.
You have update at 10.15.1? All USB still work?
Where you found the parameters for USB port Limit Patch 1-2-3 ?
The ssdt_usb.ami where did you download?

Thanks
 
Last edited:
Joined
Jul 24, 2015
Messages
135
Motherboard
Gigabyte Z270N-WIFI
CPU
i7-7700K
Graphics
RX 560
I never seem to have the time to do this, so i've just used usb inject all for years now. I was wondering if anyone has done this for Gigabyte GA-Z270N-WIFI and could share the files?
 
Last edited:

Feartech

Moderator
Joined
Aug 3, 2013
Messages
14,625
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
I never seem to have the time to do this, so i've just used usb inject all for years now. I was wondering if anyone has done this for Gigabyte GA-Z270N-WIFI and could share the files?
 
Joined
Jul 24, 2015
Messages
135
Motherboard
Gigabyte Z270N-WIFI
CPU
i7-7700K
Graphics
RX 560
Thank you. That's something I can do and still keep my job, wife and kids :)
 
Joined
Jan 12, 2020
Messages
4
Hello! I am so stuck, I'd love to do this but I can't get any USB Limit Patches Working! Is it possible to build the USB SSDT without first applying the patch? Can I somehow see all my USB port IDs from within windows and make the file in my Mojave partition? I hope someone can help me out with this! This forum is great!

Gigabyte Z390 ITX Pro Wifi, i9-9900K Coffee Lake, Sapphire Radeon RX580 8GB
 

Attachments

Joined
Mar 3, 2014
Messages
666
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Air
Classic Mac
Power Mac
kelskafoss,

I have the same motherboard, CPU, and Graphics as you. My computer case is the CoolerMaster Elite 130, so its front panel USB ports may be different than yours. My USB port mapping is shown below. I am attaching my zipped SSDT file which activates the ports shown in my port mapping document, except for the Type C port, which I did not activate. If you think this could help you and want to try it, you would need to do the following:
1. Unzip my attached "SSDT-6-AMI-aml" file and place it into your "EFI/CLOVER/ACPI/patched" folder.
2. Go to your "EFI/CLOVER/kexts/Other" folder and remove "USBInjectAll.kext." Also remove it from "/Library/Extensions."
3. In your config.plist, in the ACPI window, there is a small box labeled "AutoMerge" at the lower left. Check that box, otherwise my SSDT will not work.
4. Restart your computer in Mac OS and open "IORegistryExplorer.app." Scroll down to the "XHC" topic and see if the ports you need are there. If so, your USB ports should be set up. If not, post back.
USB Port Assignments.jpg
 

Attachments

Last edited:
Top