Jump to content
onemanosx

How to Stay within 15 ports limit using UsbInjectall and Clover boot argument

Recommended Posts

:guitar8-):guitar

AMD Ryzen 7 3700X, MSI MPG X570 Gaming Plus, Corsair Vengeance RGB PRO 16GB DDR4 3200MHz, Sapphire rx 5700 XT, fractal celcius s36

:superman:superman

HP Notebook - 15-ay028ca (Touch), 16 GB 2133 MHz DDR4, Intel HD Graphics 520 1536 MB

Asus z97-c i5, i5 4460, 32 GB 1648 MHz DDR3, Radeon RX 560 4096 MB, Corsair H75 Liquid CPU Cooler

Link to comment
Share on other sites

Discovering Ports in batch and exclusion of ports used by keyboard and mouse


Other esteemed hackintoshers may want the option to discover their used USB ports in batches i.e implementing HSxx then SSxx/SSPx. This method will reveal each HSxx/ SSxx/SSPx batches in one pass.


1. Discover ports used by USB Keyboard and Mouse

- open the app ioreg and look for the ports used by Keyboard and Mouse

- in my case its HS09 and HS10

- therefore, I include the following boot arguments in clover like so uia_include=HS09;HS10

- doing this you will have control over your keyboard and mouse when you use exclude_hs identifier


2. Identifying HSxx ports only and exclude all SSxx/SSPx identifiers

- add these 2 boot flags

a. -uia_exclude_ss

b. -uia_exclude_ssp << no longer required as per 9 Nov 2018 latest commit

- reboot and discover all of HSxx ports using USB 2.0 device like in the video link

- write down the discovered ports on a piece of paper


3. Identifying SSxx ports only and exclude all HSxx and SSPx identifiers

- delete the above bootflags (a) and (b)

- add these boot flags

c. -uia_exclude_hs

d. -uia_exclude_ssp << no longer required as per 9 Nov 2018 latest commit

e. do not forget to include uia_include=HS09; HS10

- reboot and discover all SSxx ports using your USB 3.0 device like in the video link

- write down the discovered ports on a piece of paper


4. Identifying SSPx ports only and exclude all HSxx and SSxx identifiers

- follow steps similar to above instruction set except you replace -uia_exclude_ssp with -uia_exclude_ss instead


5. Final Step

- Finally, with the ports you had discovered in steps 1, 2 and 3, you can now use the uia_include or uia_exclude boot flags for your discovered ports


a. in my build example, I prefer to use uia_exclude. So, the final boot argument will look like like this

uia_exclude=HS05;HS08;HS11;HS12;HS13;SS05;SS06 (all of these are my unused ports)


b. if one prefers to use uia_include boot argument, the final boot flag will look like this

uia_include=HS01;HS02;HS03;HS04;HS06;HS07;HS09;HS10;HS14;SS01;SS02;SS03;SS04 (all of these are the used ports discovered)

Edited by Guest

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

I followed the vid and excluded 4 unused ports so I got all my mobo ports working with USB 2.0 in addition to x4 USB 3.0 which is more than enough.

But after long sleep/wake the USB 3.0 was ejected automatically, Im I doing something wrong, or it should be like this ?

Hack Pro: Asus Strix Z590i, i9-11900K, RX 6900 XT, 1TB Samsung QVO SSD, RAM 16GB Corsair RGB @3200Mhz (Big Sur) OC

 

Hackbook Pro: (MSI GE63 Raider RGB) i7-8750H, Intel UHD 630, GTX1070 8GB(disabled), 16GB RAM @2666Mhz (Big Sur) OC

Link to comment
Share on other sites

But after long sleep/wake the USB 3.0 was ejected automatically

 

Is your DSDT patched with the correct USB power properties?

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

[ref]dlhenke[/ref], I've a wavlink hub that didnt work as expected except for the card reader. No solution for me either. :bye

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

[ref]dlhenke[/ref], I've a wavlink hub that didnt work as expected except for the card reader. No solution for me either. :bye

It is working now I've changed to another USB3 port.. but none of my USB3 devices is working on that usb3 port. :-(

3,7 GHz Intel Core i7

16 GB 2133 MHz DDR4

Radeon RX 580 4096 MB

Link to comment
Share on other sites

Got everything fixed ..

boot arguments for my motherboard

uia_exclude=HS01;HS02;HS13;HS14;SS01;SS03;SS04;SS08;SS09;SS10;SS11;SS12;SS13;SS14;USR1;USR2


Just working everything even USB3.0 10ports ORICO with mix devices usb3/usb2 etc..

Many thanks to @MaldOn for enlightening .

3,7 GHz Intel Core i7

16 GB 2133 MHz DDR4

Radeon RX 580 4096 MB

Link to comment
Share on other sites

Is your DSDT patched with the correct USB power properties?

I actually don't know, the DSDT was made by our super guy Mald0n and I have no enough knowledge to check it again to see if USB power properties are ok :?


Then I used Rehabman method to create USB ssdt along with USBInjectall.kext and removed the boot flags, it also worked but the problem is still there.

517564181_ScreenShot2018-11-04at1_37_57PM.png.5fd02d513b4fb6aa03fd1d7a0797d8ea.png

Edited by Guest

Hack Pro: Asus Strix Z590i, i9-11900K, RX 6900 XT, 1TB Samsung QVO SSD, RAM 16GB Corsair RGB @3200Mhz (Big Sur) OC

 

Hackbook Pro: (MSI GE63 Raider RGB) i7-8750H, Intel UHD 630, GTX1070 8GB(disabled), 16GB RAM @2666Mhz (Big Sur) OC

Link to comment
Share on other sites

Just working everything even USB3.0 10ports ORICO

maybe you would like to share what was done wrong for other readers to take lesson from


Edit: I see you edit out your earlier post. So i gathered you had made a small error in not activating that one port causing your hub to only able to detect usb 2.0 devices only.


Added in 17 minutes 27 seconds:

flags

Is it a problem to only one port or all the ports?

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Is it a problem to only one port or all the ports?

As I tested the problem is with all free ports when I connect a USB 2.0 or 3.0 devices, they will be disconnect after sleep/wake.

But keyboard (HS05), mouse (HS07) and wifi card (HS10) have no problems at all.


I edited my previous post to add more information about what I did to be more clear :oops:

Hack Pro: Asus Strix Z590i, i9-11900K, RX 6900 XT, 1TB Samsung QVO SSD, RAM 16GB Corsair RGB @3200Mhz (Big Sur) OC

 

Hackbook Pro: (MSI GE63 Raider RGB) i7-8750H, Intel UHD 630, GTX1070 8GB(disabled), 16GB RAM @2666Mhz (Big Sur) OC

Link to comment
Share on other sites


is a common problem in many cases, eject after sleep, now the error is back, apple change again :mrgreen:

Oh wow! again? At least now I know how to deal with it, thanks :D


Added in 50 seconds:

Damn you Apple!!

Haha :boxing

Hack Pro: Asus Strix Z590i, i9-11900K, RX 6900 XT, 1TB Samsung QVO SSD, RAM 16GB Corsair RGB @3200Mhz (Big Sur) OC

 

Hackbook Pro: (MSI GE63 Raider RGB) i7-8750H, Intel UHD 630, GTX1070 8GB(disabled), 16GB RAM @2666Mhz (Big Sur) OC

Link to comment
Share on other sites

Do we do this before or after updating to 10.14.1



You should keep within port limits before updating to 10.14.1. You should also test each working ports before committing to the final bootflag

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

You should keep within port limits before updating to 10.14.1. You should also test each working ports before committing to the final bootflag

 

So just to recap, I test the ports on 10.14 and create bootflag based on the outcome and test it. Then I update to 10.14.1?

Link to comment
Share on other sites



So just to recap, I test the ports on 10.14 and create bootflag based on the outcome and test it. Then I update to 10.14.1?

yes! 8-)

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.






×
  • Create New...
The popup will be closed in 15 seconds...