Contribute
Register

Mojave 10.14.4 Port Limit Removal Patch

Joined
Aug 17, 2011
Messages
309
Motherboard
GA-Z270MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
SS05 and SS06 will also have a HS05 and HS06 for USB3.0
Thank you for your reply. I hope this relates to your point. I finally got a volume to mount. I grabbed a USB 2 flash drive and plugged it into the ports that have HS13 and HS14 assigned to them, and amazingly I finally have a drive that will mount. I have two other ports that are active that seem to be tied to SS05 and SS06, but they will not mount a USB 2 drive nor will they even see any USB 2 device. They were backward compatible before I started messing around with various measures to try to fix the USB 3 ports situation. This seems to be my stumbling block right now. I was trying to work with A Beginner's Guide to Creating a Custom USB SSDT , but it seems like I can't make any progress there until I solve this
 
Joined
May 31, 2016
Messages
812
Motherboard
Gigabyte Z490 Vision G
CPU
i9-10900K
Graphics
RX 5700 XT
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
Thank you for your reply. I hope this relates to your point. I finally got a volume to mount. I grabbed a USB 2 flash drive and plugged it into the ports that have HS13 and HS14 assigned to them, and amazingly I finally have a drive that will mount. I have two other ports that are active that seem to be tied to SS05 and SS06, but they will not mount a USB 2 drive nor will they even see any USB 2 device. They were backward compatible before I started messing around with various measures to try to fix the USB 3 ports situation. This seems to be my stumbling block right now. I was trying to work with A Beginner's Guide to Creating a Custom USB SSDT , but it seems like I can't make any progress there until I solve this
That guide is awesome and gives you all the things you need to know, but it’s easy to make little mistakes. Hackintool makes it much easier to check with ports you need/want to use.

Since you need to whittle down the 26 ports to 15, maybe try excluding HS7-14 and SS7-10,(using usbinjectall and relevant boot arguments) then check what ports work (using hackintool or IOReg) make note of what ports are where, then reboot and exclude ports hs1-6 and ss1-6, and test again. You should then be able to tell which ports on your board you are/or plan on using and which ones you can get rid of...
Make sense?
 
Joined
Jul 25, 2018
Messages
18
Motherboard
ASUS PRIME Z390-P
CPU
i7-8700K
Graphics
RX 580
Mac
iMac
Mobile Phone
Android
I'am a bit lost about all of this procedures of patching for USB 3.0 to work I already added the the DSDT Patches, KextsToPatch, I followed a tutorial with the Hackintool to make the aml and the USBPorts.kext but no success.
I have this build:
Motherboard: PRIME Z390-P (LGA1151)
CPU: Intel Core i7-8700K CPU @ 3.70GHz
GPU: Radeon RX 580 Series
I would like to have some help please.
Thanks in advance
 

Attachments

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,784
Motherboard
Gigabyte Z390M Gaming - Clover UEFI 5102
CPU
i5-9600K
Graphics
RX 570 8gb HDMI 1920x1080
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
I'am a bit lost about all of this procedures of patching for USB 3.0 to work I already added the the DSDT Patches, KextsToPatch, I followed a tutorial with the Hackintool to make the aml and the USBPorts.kext but no success.
I have this build:
Motherboard: PRIME Z390-P (LGA1151)
CPU: Intel Core i7-8700K CPU @ 3.70GHz
GPU: Radeon RX 580 Series
I would like to have some help please.
Thanks in advance
Hello there.

A couple of things to note about your set-up:

1) You have duplicates of some kexts in System/Library/Extensions = USBPorts, USBInjectAll, XHCI-unsupported, and also FakePCIID*.*. Remove them from there. If you really want to duplicate any kexts then I would recommend they go in Library/Extensions NOT S/L/E. Basically no third-party kexts go in S/L/E :thumbup:

2) You have a Lilu.kext in CLOVER/kexts but nothing to partner it with. I couldn't see anything in S/L/E either. Anyway, if there is, and I just couldn't see it, move the other kext to CLOVER/kexts too.

3) Once you have created the aml and kext you shouldn't need the three port-limit removal patches any more.

4) Check IORegistryExplorer for the EH01/2 or XHC tree sections to see if your ports are showing.

Let us know.

:)
 
Joined
Jul 25, 2018
Messages
18
Motherboard
ASUS PRIME Z390-P
CPU
i7-8700K
Graphics
RX 580
Mac
iMac
Mobile Phone
Android
Hello there.

A couple of things to note about your set-up:

1) You have duplicates of some kexts in System/Library/Extensions = USBPorts, USBInjectAll, XHCI-unsupported, and also FakePCIID*.*. Remove them from there. If you really want to duplicate any kexts then I would recommend they go in Library/Extensions NOT S/L/E. Basically no third-party kexts go in S/L/E :thumbup:

2) You have a Lilu.kext in CLOVER/kexts but nothing to partner it with. I couldn't see anything in S/L/E either. Anyway, if there is, and I just couldn't see it, move the other kext to CLOVER/kexts too.

3) Once you have created the aml and kext you shouldn't need the three port-limit removal patches any more.

4) Check IORegistryExplorer for the EH01/2 or XHC tree sections to see if your ports are showing.

Let us know.

:)
These are my outputs from both programs ORegistryExplorer and Hackintool.
Should I delete USBPorts, USBInjectAll, XHCI-unsupported and FakePCIID, and use the Hackintool to generate the aml and Kexts?
PS: I already deleted from the S/L/E the third-party kexts
 

Attachments

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,784
Motherboard
Gigabyte Z390M Gaming - Clover UEFI 5102
CPU
i5-9600K
Graphics
RX 570 8gb HDMI 1920x1080
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
These are my outputs from both programs ORegistryExplorer and Hackintool.
Should I delete USBPorts, USBInjectAll, XHCI-unsupported and FakePCIID, and use the Hackintool to generate the aml and Kexts?
PS: I already deleted from the S/L/E the third-party kexts
Okay.

USBPorts.kext is one generated by Hackintool, so if you are using that method follow Hackintool guidance.

If you followed the excellent and comprehensive guide by @trs96 for your machine here, did USB work previously? Using Hackintool now might be - unintentionally - confusing the issue. It is a different method.

You should be seeing EH01 & EH02 USB controllers in the IORegistryExplorer tree. I can't see them in that screengrab. How about XHC?
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
17,435
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
These are my outputs from both programs ORegistryExplorer and Hackintool.
Should I delete USBPorts, USBInjectAll, XHCI-unsupported and FakePCIID, and use the Hackintool to generate the aml and Kexts?
If you'd like to use Sniki's USB-SSDT it's already done for you. The one caveat is the you'd have to perform a clean install
as his HP 8300 guide differs greatly from the one I originally wrote in June of 2017. His guide also uses a different system def. (Mac mini 6,1 or 6,2 ) instead of iMac 13,2 which mine used. Here is the github repo with all the info and a link to his newer guide.
 
Joined
Jul 25, 2018
Messages
18
Motherboard
ASUS PRIME Z390-P
CPU
i7-8700K
Graphics
RX 580
Mac
iMac
Mobile Phone
Android
2) You have a Lilu.kext in CLOVER/kexts but nothing to partner it with. I couldn't see anything in S/L/E either. Anyway, if there is, and I just couldn't see it, move the other kext to CLOVER/kexts too.
What do you mean with "Lilu.kext in CLOVER/kexts but nothing to partner it with"?

Okay.

USBPorts.kext is one generated by Hackintool, so if you are using that method follow Hackintool guidance.

If you followed the excellent and comprehensive guide by @trs96 for your machine here, did USB work previously? Using Hackintool now might be - unintentionally - confusing the issue. It is a different method.

You should be seeing EH01 & EH02 USB controllers in the IORegistryExplorer tree. I can't see them in that screengrab. How about XHC?
I made a new build with an PRIME Z390-P after what I learned with my first Hackintosh.

If you'd like to use Sniki's USB-SSDT it's already done for you. The one caveat is the you'd have to perform a clean install
as his HP 8300 guide differs greatly from the one I originally wrote in June of 2017. His guide also uses a different system def. (Mac mini 6,1 or 6,2 ) instead of iMac 13,2 which mine used. Here is the github repo with all the info and a link to his newer guide.
Thank you for the redirection to that solution but is not that build that I'm talking. I'm referring about a new one that I made (is mode simple when is premade build). Already updated my builds, sorry and thank you.
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,784
Motherboard
Gigabyte Z390M Gaming - Clover UEFI 5102
CPU
i5-9600K
Graphics
RX 570 8gb HDMI 1920x1080
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
What do you mean with "Lilu.kext in CLOVER/kexts but nothing to partner it with"?


I made a new build with an PRIME Z390-P after what I learned with my first Hackintosh.


Thank you for the redirection to that solution but is not that build that I'm talking. I'm referring about a new one that I made (is mode simple when is premade build). Already updated my builds, sorry and thank you.
Okay. This is why it is helpful to keep your profile up to date. My misunderstanding.

1) What I mean about Lilu is that it does nothing on it's own nowadays and is more of a plug-in runtime. Usually it is partnered with another kext like: whatevergreen or applealc or novpajpeg etc . In your screen grabs I couldn't see what it was there for.

2) With a Z390 you need to see an XHC controller in IORegistryExplorer. You can certainly use an EHC one to redirect any USB2 ports to if you want to. Hackintool is showing the XHC clearly.

3) Your choice of kexts depends on how you are trying to configure your system. For a basic USB3 set-up then less are needed than if you are trying to set-up USB2 hubs for example. This often requires the EHC controller I mentioned.

4) What I explained in post #100 still applies despite misunderstanding your hardware.

:)
 
Joined
Feb 8, 2013
Messages
96
Motherboard
GA-H270N-Wifi
CPU
i7-7700K
Graphics
GTX 1070
Mac
MacBook Pro
Mobile Phone
Android
Or just build a proper SSDT and not have these issues of USB3 ports not working. It only takes 10-15 minutes and saves a lot of hassle in the future as each .x is released.
Or just build a proper database for mainboards that people have so that not every hackintosher on the planet has to do this highly repetitive work themselves?
 
Top