Contribute
Register

The New Beginner's Guide to USB Port Configuration

USBInjectAll.kext plus SSDT-UIAC.aml method.
All kexts are in EFI/Clover/Kexts/others folder.
SSDt-UIAC.aml in EFI/Clover/ACPI/Patched folder.
Thanks


Okay :thumbup:

The Mojave 4x port-limit removal patches will not work with Catalina.

If you have created an SSDT-UIAC.aml for USBInjectAll.kext then you do not need the patches anyway.

Depending on the system-defintion you are using you might need the very latest version 0.73 of USBInjectAll.kext.

If you still get no joy then swap out USBInjectAll.kext and the SSDT-UIAC.aml, and use the USBPorts.kext instead, in EFI/CLOVER/kexts/Other.

:)
 
Okay :thumbup:

The Mojave 4x port-limit removal patches will not work with Catalina.

If you have created an SSDT-UIAC.aml for USBInjectAll.kext then you do not need the patches anyway.

Depending on the system-defintion you are using you might need the very latest version 0.73 of USBInjectAll.kext.

If you still get no joy then swap out USBInjectAll.kext and the SSDT-UIAC.aml, and use the USBPorts.kext instead, in EFI/CLOVER/kexts/Other.

:)
Thanks for the prompt reply.
I remove the SSDT-UIAC.aml from ACPI/patched folder and USB ports are enable now as I can use my mouse and keyboard to login. Do I need to have put the native DSDT.aml in ACPI/original to proceed with removing the patches and following your guard to transit to new port configuration?
 
Thanks for the prompt reply.
I remove the SSDT-UIAC.aml from ACPI/patched folder and USB ports are enable now as I can use my mouse and keyboard to login. Do I need to have put the native DSDT.aml in ACPI/original to proceed with removing the patches and following your guard to transit to new port configuration?

Hi,

If you are using the Gigabyte H97-Gaming 3, I do not think you need any DSDT.aml in the ACPI/origin folder. I would not expect you to require anything like that at all - unless you have been directly patching ACPI for some other special reason...

It sounds as if the reason your USB ports are now working again is because you have removed the SSDT-UIAC.aml configuration file and have reverted to the port-limit removal patches. If you run Hackintool you will probably see very many ports now - EHC and XHC.

This indicates that perhaps the SSDT-UIAC.aml was faulty or had an error in it.

:)
 
I've a strange situation:

with imac18,3 smbios + usbports.kext, all external media (like pendrive, etc) is reconized as internal at Disk Utility, just like HDDs… but when I put usbinjectall back, then pendrive is recognized as external.

any tips?
 
Hello, in the past I have successfully created a usbports.kext for my system. I now have an extra PCI card usb 3 card which I'm also using and is working OOB. In Hackintool it shows as 'FL1100 USB 3.o Host Controller' and is a PXSX type. When it comes to creating a new usbports kext How am I supposed to deal with these extra usb options showing up? Do I ignore them or as they from an external source and create the kext as normal? Please see attached screenshot.
 

Attachments

  • Screen Shot 2020-04-02 at 17.27.36 pm.png
    Screen Shot 2020-04-02 at 17.27.36 pm.png
    369.1 KB · Views: 54
My apologies. I must have mis-read your post #530.

Glad to read everything is okay now :thumbup:

What I was saying in post #530 was that it's still not working. It may have come across in the wrong way, but I never got it working.

I was just explaining what was happening in clover, and what is now happening in OpenCore.

Current situation:
OpenCore
All EHC are off
UsbPorts.kext
(nothing else)

When I wake up, all devices get ejected, then reattached (except hard drives, they stay unattached).
 
Hello, i followed your guide to try fix my usb but hackintool don't recognize my pots when i plug in a usb 3 device
I manually set them as usb 3 and disabling all the patches they works fine even when pluggin a usb3 device they works ad higher speed than usb 2, but for soem reason if i plut into the usb 3 port a hub usb 3 the pc freeze after waking from sleep.
Hackintool recognize it as usb 2 when i plug the hub but speeds are usb3.
I also have a usb 3 pci ex card based with a VIA VL805 chip, it works but when i try to turn off or sleep the mac it get stuck on the shutdown with a black screen but fans are still running.

How do i fix my usb 3 problems?

I'm using mojave 10.14.6 on a gigabyte h55m-usb 3
I'm posting my config.plist, the kext patch for the port removal are disabled becuase now i'm using the usbkext i made using hackingtool and aside the usb3 problems works fine without them.
During the process i used the usbinjectall.kext and the xhci-unsupported.kext


Edit: the reason why the usb3 works is because i have this kext https://github.com/chris1111/USB-3.0-NEC
removing it will stop making my port works as usb 3.
i would like to have a proper solution by making them all works using hackintool. Any tips on how to make it see my usb3?
 

Attachments

  • config.plist
    13 KB · Views: 56
Last edited:
What I was saying in post #530 was that it's still not working. It may have come across in the wrong way, but I never got it working.

I was just explaining what was happening in clover, and what is now happening in OpenCore.

Current situation:
OpenCore
All EHC are off
UsbPorts.kext
(nothing else)

When I wake up, all devices get ejected, then reattached (except hard drives, they stay unattached).

Hi.

Okay, the USB subsystem is configured using the same methods in OpenCore as it is in Clover. The only difference is the port-limit removal patching, when needed.

USBPorts.kext works for both as long as it is in EFI/CLOVER/kexts/Other.

USB cutting-out after wake from sleep can be reinstated by manually reloading the USBPorts.kext but this is hardly convenient.

Try USBInjectAll.kext along with its SSDT-UIAC.aml to see if you get the same behaviour.

:)

(PS - I don't like Vanilla guides because they may sound more like a real Mac but the truth is a PC is NOT a Mac and needs help. Our UniBeast/MultiBeast guides are an easier option, usually :thumbup:)
 
Hello, i followed your guide to try fix my usb but hackintool don't recognize my pots when i plug in a usb 3 device
I manually set them as usb 3 and disabling all the patches they works fine even when pluggin a usb3 device they works ad higher speed than usb 2, but for soem reason if i plut into the usb 3 port a hub usb 3 the pc freeze after waking from sleep.
Hackintool recognize it as usb 2 when i plug the hub but speeds are usb3.
I also have a usb 3 pci ex card based with a VIA VL805 chip, it works but when i try to turn off or sleep the mac it get stuck on the shutdown with a black screen but fans are still running.

How do i fix my usb 3 problems?

I'm using mojave 10.14.6 on a gigabyte h55m-usb 3
I'm posting my config.plist, the kext patch for the port removal are disabled becuase now i'm using the usbkext i made using hackingtool and aside the usb3 problems works fine without them.
During the process i used the usbinjectall.kext and the xhci-unsupported.kext

Hi.

I'll take a look and come back to you later if no one else does :thumbup:
 
Hello, i followed your guide to try fix my usb but hackintool don't recognize my pots when i plug in a usb 3 device
I manually set them as usb 3 and disabling all the patches they works fine even when pluggin a usb3 device they works ad higher speed than usb 2, but for soem reason if i plut into the usb 3 port a hub usb 3 the pc freeze after waking from sleep.
Hackintool recognize it as usb 2 when i plug the hub but speeds are usb3.
I also have a usb 3 pci ex card based with a VIA VL805 chip, it works but when i try to turn off or sleep the mac it get stuck on the shutdown with a black screen but fans are still running.

How do i fix my usb 3 problems?

I'm using mojave 10.14.6 on a gigabyte h55m-usb 3
I'm posting my config.plist, the kext patch for the port removal are disabled becuase now i'm using the usbkext i made using hackingtool and aside the usb3 problems works fine without them.
During the process i used the usbinjectall.kext and the xhci-unsupported.kext


Edit: the reason why the usb3 works is because i have this kext https://github.com/chris1111/USB-3.0-NEC
removing it will stop making my port works as usb 3.
i would like to have a proper solution by making them all works using hackintool. Any tips on how to make it see my usb3?

Hi there.

Your motherboard does not have an USB3 controllers you can configure properly. Being an H55 chipset it will only have USB1.0/2.0. The USB3 ports you have are, as you know, controlled by an NEC chip and this is not controlled by the system as XHCI. Your external PCI-e VIA USB3 card is also not controlled by the system. Only Intel ports are.

Hackintool might recognise these external USB3 ports but patching ACPI (which is basically what these tools do) does not put the ports on an XHCI controller, so they will always be treated differently, just like Apple does, as an external PCI card. This means they will work but unless you add a VIA or NEC driver kext, they may not be reliable or deliver the correct power. They will always interfere with wake/sleep, especially if on "hubs".

@RehabMan did provide a driver called GenericUSBXHCI.kext which allowed these external ports to act as internal, but this kext has not been updated for 5-years now and will no-longer work with the later macOS versions.

If you have an NEC driver that is great. You should get USB3 speeds but they will probably show up in the PXS (or similar) area of the IORegistryExplorer tree, not XHC.

You can remove a lot of ACPI patches from your config.plist to make it tighter.:thumbup:

:)
 
Back
Top