Contribute
Register

A Beginner's Guide to Creating a Custom USB SSDT

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,747
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Just wanted to ping you and let you know that the Sourceforge link for MaciASL only has the old iASL versions. To get the 6.x version I had to specifically get the latest Rehabman one off of BitBucket.
Hello,

Thank you for the feedback :thumbup:

That's fine. The earlier version should still work. The Compiler Option field just looks slightly different and you select 5.1 instead of 6.2a etc.

I have updated the main article to highlight this.

:)
 
Joined
Dec 26, 2015
Messages
227
Motherboard
GA-Z97X-UD3H
CPU
i5-4690
Graphics
GTX 1050 Ti
Mobile Phone
Android

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,747
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
@UtterDisbelief Do I have to enter of generated ssdt name in the box like SSDT-UIAC.aml or should I leave it blank?

View attachment 401239
The short answer is for this USB patch:

No, you don't.

The longer answer:

Because it is saved in the "CLOVER/ACPI/patched" folder, it is automatically read and inserted during boot.

:)
 
Joined
Mar 27, 2017
Messages
29
Motherboard
Gigabyte H270-HD3
CPU
i5-7500
Graphics
GTX 1050 Ti
Mac
iMac, MacBook Air, MacBook Pro
Mobile Phone
iOS
I feel like I’ve read this before in a post, but just can’t find it again. If I have an external, say, 4-port USB hub, will those 4 ports count as part of the 15-port limit even though they are external and not part of my motherboard?
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,747
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
I feel like I’ve read this before in a post, but just can’t find it again. If I have an external, say, 4-port USB hub, will those 4 ports count as part of the 15-port limit even though they are external and not part of my motherboard?
Hello there.

No, they shouldn't.

The hub itself will count as using one port, and probably show up as an IOUSBHostDevice under the port its plugged into.
 
Joined
Oct 29, 2016
Messages
9
Motherboard
MSI z170a krait gaming 3x
CPU
Intel i7 6700k
Graphics
Msi R9 280x
Mobile Phone
Android
Followed everything im the tutorial , and now I have 0 usb ports showing in the IORegistry , i just have XHC@14 and XHC@1400000 under that with no ports , and the usbs arent working at all , just the 3.1 which is on a separate controller , I double checked the SSDT
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,747
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Followed everything im the tutorial , and now I have 0 usb ports showing in the IORegistry , i just have XHC@14 and XHC@1400000 under that with no ports , and the usbs arent working at all , just the 3.1 which is on a separate controller , I double checked the SSDT
Okay.

There's not enough information in your post to identify what might be wrong. For example which version macOS are you running? Which kexts do you have installed? DeviceIDs? Upload your config.plist and SSDT template.

If there are no ports showing you will need to back-track and check each step. Here's a starting point:

1) Remove your SSDT from the "patched" folder. Put the Port-Limit Removal Patch back in. Ensure USBInjectAll is either in Library/Extensions or CLOVER/kexts/Other. Reboot and check IORegistryExplorer again to see what has changed.

Report back.

:)
 
Last edited:
Joined
Oct 29, 2016
Messages
9
Motherboard
MSI z170a krait gaming 3x
CPU
Intel i7 6700k
Graphics
Msi R9 280x
Mobile Phone
Android
So after doing the complete tutorial one again and deleting some usb driver in refi driver folder, it works , I have no idea what went wrong the first time, probably some code error I didn't see , thank you for the tutorial once again :headbang:
 
Joined
Apr 9, 2017
Messages
70
Motherboard
ASUS ROG MAXIMUS VI HERO
CPU
i5-4670K OC 4.5 GHz
Graphics
GTX 780, HD 530
I have USBInjectAll.kext installed in my ⁨EFI⁩ ▸ ⁨CLOVER⁩ ▸ ⁨kexts⁩ ▸ ⁨Other⁩ folder right now.

Should i leave it there, while installing USBInjectAll.kext to /Library/Extensions like this guide says?
 
Top