Contribute
Register

macOS Catalina 10.15.0 - USB Port-Limit Removal Patch

Joined
Mar 3, 2014
Messages
797
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Air
Classic Mac
Power Mac
Decided to try changing my SMBIOS to your post #17 "About this Mac" setup: iMac17,1. Will report back.
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,479
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 570
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Thanks again, Utter Disbelief. The quote from RehabMan doesn't work... I do retain use of the keyboard and trackball, i.e. HS05 is indeed enabled, but Hackintool still shows all the HS ports in its listing. Back to square 1. I will try your alternate approach now.

[Edit: Nope, neither suggestion works. Returning to Hackintool I get all HS ports plus USR1, and in IORegistryExplorer I get the same list I have always had. Mounting the System volume via <mount -uw /> in Terminal immediately after each reboot does not help, even though the command is accepted in Terminal (but only if I precede it with <sudo>).]
Be careful believing all that Hackintool displays as verbatim. It is a superb tool but can confuse. On my own build the USBPorts.kext works as intended however Hackintool still displays all the ports as though the configuration had not been done.

Use IORegistryExplorer as your tool of choice when you are going deeper than a simple Beginner's Guide.
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,479
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 570
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Decided to try changing my SMBIOS to your post #17 "About this Mac" setup: iMac17,1. Will report back.
Mine is iMac14,2
 
Joined
Mar 3, 2014
Messages
797
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Air
Classic Mac
Power Mac
Use IORegistryExplorer as your tool of choice when you are going deeper than a simple Beginner's Guide.
I use that constantly on this task, but although it shows the real condition, it's not interactive, i.e. I can't "move" the available ports over into the "as-is" list. And nothing I have done to date moves those.

Mine is iMac14,2
Okay, but the "About this Mac" window in post #17 shows equipment that matches iMac17,1. (Late 2015 27" Retina 5K iMac.) Anyway, iMac17,1 is a good match for this Skylake computer with an i7-6700 CPU.

I'm hoping updating to Catalina 10.15.2 helps this USB disaster, but haven't done it yet.
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,479
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 570
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
I use that constantly on this task, but although it shows the real condition, it's not interactive, i.e. I can't "move" the available ports over into the "as-is" list. And nothing I have done to date moves those.



Okay, but the "About this Mac" window in post #17 shows equipment that matches iMac17,1. (Late 2015 27" Retina 5K iMac.) Anyway, iMac17,1 is a good match for this Skylake computer with an i7-6700 CPU.

I'm hoping updating to Catalina 10.15.2 helps this USB disaster, but haven't done it yet.
True, IORegistryExplorer doesn't allow modification, but it is more accurate and in-depth when it comes to exploring and finding-out what's going on. My point was that although you say Hackintool is not showing your ports as reduced to match your configuration, IORegistryExplorer will.

I know it's confusing, caused by me using an old serial-number to maintain iMessage/Facetime, but the system definition I use is iMac14,2 :crazy: However, go with what you're happy with.:thumbup:

iMac.jpg


:)
 
Last edited:
Joined
Mar 3, 2014
Messages
797
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Air
Classic Mac
Power Mac
OK, got that. I just updated Catalina to 10.15.2 (build 19C57) in hopes that something regarding USB Port Limit removal would change... update went fine, but no change. I'm getting that there is something wrong with the sequence I am using, or there is just an incompatibility with USBInjectAll.kext v0.7.3, or the Find and Replace values are wonky in this computer. I am totally stalled. Is there an ideal order of doing things? I'll try and list what I did chronologically.
1. Reboot.
2. Open Terminal and type <sudo mount -uw /> (This is accepted by Terminal.)
3. Verify in config.plist that the two port-limit-removal patches per post 1 of this thread are in place.
4. Verify latest USBInjectAll.kext is in CLOVER/kexts/Other.
5. Verify the Kextbeast installation of USBInjectAll.kext is in /Library/Extensions.
6. Check IORegistryExplorer. Result below; this is after updating to 10.15.2 a few minutes ago. What now?

2019-12-10 USB Ports.jpg
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,479
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 570
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
OK, got that. I just updated Catalina to 10.15.2 (build 19C57) in hopes that something regarding USB Port Limit removal would change... update went fine, but no change. I'm getting that there is something wrong with the sequence I am using, or there is just an incompatibility with USBInjectAll.kext v0.7.3, or the Find and Replace values are wonky in this computer. I am totally stalled. Is there an ideal order of doing things? I'll try and list what I did chronologically.
1. Reboot.
2. Open Terminal and type <sudo mount -uw /> (This is accepted by Terminal.)
3. Verify in config.plist that the two port-limit-removal patches per post 1 of this thread are in place.
4. Verify latest USBInjectAll.kext is in CLOVER/kexts/Other.
5. Verify the Kextbeast installation of USBInjectAll.kext is in /Library/Extensions.
6. Check IORegistryExplorer. Result below; this is after updating to 10.15.2 a few minutes ago. What now?

View attachment 439822
Okay, try a simple thing. Remove USBInjectAll.kext from Library/Extensions and place it in EFI/CLOVER/kexts/Other.

Then rebuild your kextcaches using Terminal (only).

Reboot.
 
Joined
Mar 3, 2014
Messages
797
Motherboard
Gigabyte Z390 I AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 580
Mac
MacBook Air
Classic Mac
Power Mac
SOLVED!!! The port limit removal patch never worked no matter what I did, so I decided to use the port mapping I had originally done on this computer and assume it was still right. Here's what I did:

1. Rebooted and pressed F4 in Clover menu, then retrieved the DSDT listing from EFI/CLOVER/ACPI/origin to the desktop.

2. Searched the DSDT for the SSDT covering USB (XHC). Turned out to be SSDT-3 (+something.aml). Copied it to the desktop. Opened the SSDT-3().aml file to its disassembled ".dsl" file and deleted the DSDT listing, from both the EFI folder and the desktop.

3. Rebooted and used Hackintool's tool menu to acquire the Terminal commands for disabling SIP and mounting the System volume as read-write. However, each line of Hackintool's list had to be preceded with "sudo" or Terminal would not take them... like this:
sudo spctl --master-disable return
password return

sudo mount -uw / return
password return

sudo killall Finder return
password return


4. Closed Terminal.

5. Searched through my "SSDT-3.dsl" listing for the "zeros" and "ones" necessary to be modified to choose the port types I wanted. Edited them, saved the file, and compiled it to the ".aml" file I needed. (Many, many thanks to MacMan!)

6. Installed the compiled SSDT-3.aml file into "EFI/CLOVER/ACPI/patched," and rebooted.

7. This was finally successful after several repeats of steps 3, 4 and 5 above, using IORegistryExplorer as my success/failure criteria. I wound up with the IORegistryExplorer listing attached below. It is correct for this computer.

I could not have done this if I had not had an already port-mapped listing for this computer which I had saved from 2016. So IMHO the port-limit removal patch is still an unresolved question, but at least now I can give Sheldon back his computer with all USB ports working correctly.

Utter Disbelief, I thank you for all your time and effort in responding to my dilemma with helpful suggestions.

2019-12-11 Skylake USB Ports.jpg
 
Last edited:

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
4,479
Motherboard
Gigabyte Z390M Gaming
CPU
i5-9600K
Graphics
RX 570
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
SOLVED!!! The port limit removal patch never worked no matter what I did, so I decided to use the port mapping I had originally done on this computer and assume it was still right. Here's what I did:

1. Rebooted and pressed F4 in Clover menu, then retrieved the DSDT listing from EFI/CLOVER/ACPI/origin to the desktop.

2. Searched the DSDT for the SSDT covering USB (XHC). Turned out to be SSDT-3 (+something.aml). Copied it to the desktop. Opened the SSDT-3().aml file to its disassembled ".dsl" file and deleted the DSDT listing, from both the EFI folder and the desktop.

3. Rebooted and used Hackintool's tool menu to acquire the Terminal commands for disabling SIP and mounting the System volume as read-write. However, each line of Hackintool's list had to be preceded with "sudo" or Terminal would not take them... like this:
sudo spctl --master-disable return
password return

sudo mount -uw / return
password return

sudo killall Finder return
password return


4. Closed Terminal.

5. Searched through my "SSDT-3" listing for the "zeros" and "ones" necessary to be modified to choose the port types I wanted. Edited them, saved the file, and compiled it to the ".aml" file I needed. (Many, many thanks to MacMan!)

6. Installed the compiled SSDT-3.aml file into "EFI/CLOVER/ACPI/patched," and rebooted.

7. This was finally successful after several repeats of steps 3, 4 and 5 above, using IORegistryExplorer as my success/failure criteria. I wound up with the IORegistryExplorer listing attached below. It is correct for this computer.

I could not have done this if I had not had an already port-mapped listing for this computer which I had saved from 2016. So IMHO the port-limit removal patch is still an unresolved question, but at least now I can give Sheldon back his computer with all USB ports working correctly.

Utter Disbelief, I thank you for all your time and effort in responding to my dilemma with helpful suggestions.

View attachment 439951
Really good news. Well done :thumbup:

Yes, of course you are quite correct. There is no need for the Port-Limit Removal Patches at all if you can work out what ports are where. As I mention in my first USB SSDT Configuration guide, the SS ports are so many ports above the HS. Knowing which chipset you have means you can work this out and create an SSDT without a PLR Patch.

However, for most people, the PLRP's work. There are always exceptions though.

:)
 
Joined
Jan 23, 2011
Messages
168
Motherboard
Aorus Z370 Gaming 3
CPU
i7 8700
Graphics
GTX 1080Ti / Vega 64
Mac
MacBook Pro
Mobile Phone
iOS
SOLVED!!! The port limit removal patch never worked no matter what I did, so I decided to use the port mapping I had originally done on this computer and assume it was still right. Here's what I did:

1. Rebooted and pressed F4 in Clover menu, then retrieved the DSDT listing from EFI/CLOVER/ACPI/origin to the desktop.

2. Searched the DSDT for the SSDT covering USB (XHC). Turned out to be SSDT-3 (+something.aml). Copied it to the desktop. Opened the SSDT-3().aml file to its disassembled ".dsl" file and deleted the DSDT listing, from both the EFI folder and the desktop.

3. Rebooted and used Hackintool's tool menu to acquire the Terminal commands for disabling SIP and mounting the System volume as read-write. However, each line of Hackintool's list had to be preceded with "sudo" or Terminal would not take them... like this:
sudo spctl --master-disable return
password return

sudo mount -uw / return
password return

sudo killall Finder return
password return


4. Closed Terminal.

5. Searched through my "SSDT-3.dsl" listing for the "zeros" and "ones" necessary to be modified to choose the port types I wanted. Edited them, saved the file, and compiled it to the ".aml" file I needed. (Many, many thanks to MacMan!)

6. Installed the compiled SSDT-3.aml file into "EFI/CLOVER/ACPI/patched," and rebooted.

7. This was finally successful after several repeats of steps 3, 4 and 5 above, using IORegistryExplorer as my success/failure criteria. I wound up with the IORegistryExplorer listing attached below. It is correct for this computer.

I could not have done this if I had not had an already port-mapped listing for this computer which I had saved from 2016. So IMHO the port-limit removal patch is still an unresolved question, but at least now I can give Sheldon back his computer with all USB ports working correctly.

Utter Disbelief, I thank you for all your time and effort in responding to my dilemma with helpful suggestions.

View attachment 439951
Can u please upload your "patched" folder from clover ?
 
Top