Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

you have to create your own, unless someone has the same motherboard and card that you have
Okay. Thanks. Is there maybe a simpler or more dumbed down guide for doing this? Possibly a video?
 
Okay. Thanks. Is there maybe a simpler or more dumbed down guide for doing this? Possibly a video?
not sure of any videos, it looks complex at first but after you have read it a few times and start the process, it is quite easy
 
I need help to create my ssdt file.
I have a msi z370 gaming pro carbon motherboard
I have tested all the doors and this is the result:
Internal doors 2.0
HS07 - HS08
HS11 - HS12
Internal doors 3.1
HS05 / SS01 - HS06 / SS02
HS03 / SS03 - HS04 / SS04
External doors only 2.0
HS09
HS10
External doors 3.1
HS01 / SS07
HS02 / SS08
HS13 / SS06
HS14 / SS05
3.1 external ports connected to ASMedia-ASM3142:
RP05 ----> SSS2 / HSS2 Type A
RP05 ----> SSS1 / HSS1 Type C

As I have to proceed, my processor is an 8700K. My main question is with the ports connected to the ASMedia chipset even if it is detected in the PCI0 tree. And a correct file for my ID.

P.s. my XHC device- ID is <af a2 00 00>
 
Last edited:
Thank you for this guide. just finished it and looks like it is all working with my z170-gaming7 motherboard.
Now next step is to figure out why sleep is not working

Update
I was able to figure out what caused the sleep issue.
I am using a h115i CPU cooler from corsair. This one is connected via usb to the mb.
I made a new SSDT where I also disable that USB port, in my case HS10, and now sleep is finally working :)
I was using this Hackintosh for 2 years with no working sleep. Feeling super excited and thankful for this helpful community here.
 
Last edited:
Hi @RehabMan,
I did the process as described but ioreg still shows all the ports even after removing them with the custom SSDT. I am not sure what to do to fix this issue. Kexts are stored in L/E.
Any help will be appreciated.
 

Attachments

  • CLOVER.zip
    2.4 MB · Views: 68
  • SSDT-UIAC.aml
    777 bytes · Views: 83
  • Screenshot 2019-02-01 at 22.43.51.png
    Screenshot 2019-02-01 at 22.43.51.png
    149.1 KB · Views: 73
  • Screenshot 2019-02-01 at 22.58.47.png
    Screenshot 2019-02-01 at 22.58.47.png
    33.7 KB · Views: 67
Last edited:
Hello RehabMan, thank you very much! It is not too easy for a new one. Would you please that you put a video on youtube so that we can follow step by step?
 
Thank you RehabMan again, for providing us this amazing guide.

If someone is interested, here is the SSDT for Gigabyte Z390 Aorus Ultra mobo.
It has only a XHCI controller, with the following ports:

(USB2 / USB3)
HS03 / SS03 : USB3.1 Gen2 [red], next to the Ethernet port
HS04 / SS04 : USB3.1 Gen2 [red], next to the Ethernet port
HS05 / SS05 : USB3.1 Gen1 [yellow], next to the Type-C port
HS06 / SS06 : USB3.1 Type-C back
HS07 / SS07 : USB3.1 Gen1 [yellow], next to the HDMI port
HS08 / SS08 : USB3.1 Gen1 [yellow], next to the HDMI port

(USB2)
HS11 : 4 USB2 back ports (hub)
HS12 : USB2 internal ITE, ignored to stay at 15 port limit
HS13 : 2 USB2 front ports (hub), assuming you're using the mobo USB_1 internal header
HS14 : USB2 internal bluetooth
 

Attachments

  • SSDT-UIAC-Z390_USB.aml
    771 bytes · Views: 71
  • SSDT-UIAC-Z390_USB.dsl
    4.8 KB · Views: 76
Last edited:

Attachments

  • Screenshot 2019-02-03 at 19.47.25.png
    Screenshot 2019-02-03 at 19.47.25.png
    20.9 KB · Views: 62
  • Screenshot 2019-02-03 at 19.51.03.png
    Screenshot 2019-02-03 at 19.51.03.png
    120.6 KB · Views: 63
I have been at this a few times now, as I couldn't get my USB 3.0 external drives to work which was inconvenient, but now I have lost connection to my audio interface which makes my music production impossible, so I utterly need to work this out now.

I have followed the steps in the guide to copy the rename patches 0, 1, and 2 from the provided config.plist to my plist's DSDT patches. I have used the uia_ignore_rmcf boot argument and installed the XHCI-unsupported.kext.

In my IO registry, I am able to identify that all of my physical ports operate on HS01-HS06, so HS07-14 are unused. But I can't figure out how to show any SS0x anywhere in my registry. My registry looks just like yours in the left image of "Injection of just HSxx:" forgive my lack of knowledge, but I don't know exactly how to execute "Injection of just HS03,SSxx,USRx:" What should I be using to inject these? I have the USBInjectAll.kext installed to my system. I just can't progress with this guide with no SS0x appearing. I have read this and the sister guide through and through, and can't figure how to view my SS0X in the IOReg. I am fully dedicated to getting this to work, I just think I am missing something as I don't know how to control which ports I am injecting, for steps such as "Injection of just HS03,SSxx,USRx:"

Thank you! Trying my hardest to get this sorted out.
 
Back
Top