Jump to content
onemanosx

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

Recommended Posts

And a follow up question... Is there another fairly simple way to exclude these ports if this method isn't working on this machine for whatever reason?


One of the things that I loved about this method was that it was the only one I found that I felt confident enough to do. :D

Link to comment
Share on other sites

[ref]MAP002[/ref], Its even weirder than you do not have the uia boot arguments in your current clover. :mrgreen:

ย 

1328189651_ScreenShot2019-01-21at4_51_56PM.png.b7d3a88ac043bd4b287bf7bf2c314531.png

ย 


Anyway, there is another alternative which also achieve similar results. Check out Hackintool. Its really an amazing app! https://www.insanelymac.com/forum/topic/335018-hackintool-v177/



And yes, I have to agree this method is also the quickest and simplest to implement.


:cap:guitar:guitar

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

Somehow made a copy the Clover folder in the root of my EFI volume and was happily modifying that one instead of the real one. :D


Moral of the story: Bleary eyed late night/early morning hacks sometimes take some stupid turns. :D

:lol::lol: So now it works, I hope?

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

It does! :)


But after installing the new update, i do notice some of my USB peripherals, like my webcam, have gotten flakey, cutting in and out or freezing up intermittently. I'd love to get my USB working more reliably, but that might be as good as it gets with a Hack and this mobo, I suspect.


Thanks again for all the help. :)

Link to comment
Share on other sites

I have a few questions if someone wouldn't mind explaining...


I'm just interested to know if there are any benefits or differences to creating an ssdt to remove unused ports Vs this method? This is a bit simpler to implement, I don't know why people would bother with ssdt.


Also, can you include 3rd party usb ports, on RP03 for example, with the uia boot arguments? I tried to guess what that would be but it causes all the boot arguments to fail. I have NEC/Renesas USB controllers on my mobo.


Finally, relating to the NEC/Renesas USB controller, are the RP03/RP04 ports included in the 15 port limit? They don't appear under the XHC section in IORegExplorer but don't appear without usbinjectall.kext (even when I have only 5 ports loading via uia_include) so I don't know if this is due to the port limit or because Apple simply won't include/have no need to include them in the OS.


Sorry for the long questions, I'm still learning and trying to figure out what's going on! :)


Thanks

Link to comment
Share on other sites

[ref]Andy4Shurr[/ref],


1. With SSDT, you may specify details of the ports as being internal/external or a USB C type connection. Using boot arg + usbinjectall method, the port type is reliant on the injector kext itself. That's the only difference.

2. This method as well as any other guides using usbinjectall kext only applicable to xhc devices with intel chipset only. Thus, other chipset/controller does not fall under the 15 ports limitation, afaik.

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]thief_fighter[/ref], no idea with how usbinjectall kext reacts when placed in other than clover/kexts/other folder.

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

make sure you delete all the kexts in S/L/E or L/E, rebuild permissions and reboot. I have not tried the latest clover yet, though.

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

try using a correct smbios as it should be imac 18,3

disable sip

313631627_sipcontrol.thumb.jpg.a6fb8a8fa94cae94c56bc5448e6fc4c4.jpg

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

[ref]alpha1718[/ref], you use the incl boot argument for keyboard and mouse. So they will still function and not affected by the excl boot arguments. Useful when you are doing the port detection tests.

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

all is good tested an works

420486672_usbports.png.b270fc205389c631ad826a161278631d.png

1053724867_bootargs.jpg.6e3b005acf9ac72f38f2d772fb029cf6.jpg

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

[ref]rtga[/ref], [ref]alpha1718[/ref],


No idea why you guys are having issues. As can be seen here, I incl HS09, HS10 and HS14 and uses the exclude boot arg to only show SSxx ports. Works as expected. My tests to confirm is also by means of using the latest usbinjectall kexts (0.7.1 as of this writing) and latest clover release v4871 (as of this writing).


[ref]erroruser[/ref]'s, example is also prove that there is nothing wrong with his boot arg as well.


Ensure your keyboard & mouse ports are determined correctly by means of ioreg and boot arguments are valid.



ย 

1296334735_Screenshot2019-03-01at6_44_48PM.thumb.png.328e81904d2cd433a3883e5760a6c139.png

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

boot args i used uia_include=HS09;HS10:HS02 -uia_exclude_hs with a new usbinjectall kext from rehabman here https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/RehabMan-USBInjectAll-2018-1108.zip

1172520102_usbbootargs.thumb.jpg.91970086740fe57dc73d69f0020204f9.jpg

-uia_exclude_ss to remove ss

2054897510_usbbootargs2.jpg.e70a9b0d0f4be2cef1aed32ef01a0fa5.jpg

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

[ref]onemanosx[/ref], :superman

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

Hi! I finally installed Mojave and everything worked ok except the USB

So I followed several guides how to fix it, posted here... but finally I used the Hackintool app, that helped a lot to determine the USB ports in use.

I combined part of the method posted here, and the uploaded guide on this video:https://www.youtube.com/watch?v=Ye5YHUDcZ6Y


Now,I have all the USB ports working correctly


many thanks for all the help, galera!

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...