Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Oct 4, 2014
Messages
225
Motherboard
ASUS x99 E-WS
CPU
Intel E5-2630v3
Graphics
EVGA GTX 980 x2
Thanks. I'll go to the Hackintool thread for help on that

When you are near your machine, can you tell me re the PR11 and PR21 should they be showing on EH01/02? - I'm really trying to get an answer on this and any help is appreciated
Hi there @Humanate - did you ever find an answer? I am seeing the same thing.
 
Joined
Mar 4, 2014
Messages
309
Motherboard
GA-Z87-HD3
CPU
i5-4570
Graphics
RX 580
Mac
iMac
Mobile Phone
iOS
Hi there @Humanate - did you ever find an answer? I am seeing the same thing.
I didn't get a definitive answer, come back @RehabMan , we miss you! However, I spoke to @headkaze, creator of Hackintool and he thought I could ignore the PR11 and PR 21 hubs. I used hackintool to map my ports and then used it to make a kext which injected my 15 usb ports plus PR11 and PR21. My system seems to work well, USB3 speeds are as they should be, and all ports working as expected. System is stable and sleep/wake works (always have issues with this if USB not configured correctly) so for now, I am happy
 
Joined
Jul 6, 2013
Messages
7
Motherboard
GA-Z97X-UD3H Rev 1.0
CPU
Haswell i5-4690S
Graphics
HD4000 / Sapphire PULSE RX 570 mini ITX
Mobile Phone
iOS
Hi,

My system was behaving fine for quite a while and then started crashing upon waking from sleep. I had been using the port limit patch, not knowing it was not a good approach, and then found out about the USBInjectAll kext. I have built the kext, changing only the build version to 14.x, with a custom SSDT using just the (14) USB2 ports on the XCHI chip, and using -via_disable_ss to disable the (6) USB3 ports, and it still reboots when waking from sleep, after logging into an account..

I have an Apple USB keyboard with the two USB ports and am using them for both the bluetooth dongle and the logitech wireless mouse receiver. If I choose sleep from the login screen, the machine almost makes it back to the login screen, but I have an overlay on top of the login screen and have to reboot. The values for connector type on all 14 ports is a 3; 8 of them were specified as 0 in the SSDT.

I need help!

Thanks,
Sam
I’m happy to report that the problems have been resolved. There were two issues: I had the wrong device ID in my SSID, a 9 instead of an 8, and I had enabled the embedded graphics in my Haswell chip to make it possible to switch between the 650 TI card and the 4600 for testing without adding the necessary patches to Clover to properly handle the 4600.
 
Joined
Aug 26, 2019
Messages
16
Motherboard
GIGABYTE B250M-HD3
CPU
i3-7100
Graphics
HD 630
Hi. @RehabMan Thank you for this excellent guide and all of your amazing contribution to the hackintosh community. I've first followed UtterDisbelief's Beginner's guide to create usb ssdt. It was excellent to understand the basics. However, it didn't work for some reason.

Then I've followed this guide, starting with the template. You've said here that The port address are correct, no need to change them, My device is 8086_a2af. So, I didn't touch the port address, but configure the rest. Upon reboot, all the ports i've configured have appeared and working as expected.

Screen Shot 2019-10-15 at 8.48.39 PM.png


But the question is, your template's port address and UtterDisbelief's guide's address are different. For example, He said the address is what appeared on the right side pane when a device node is selected. For SS01, the address is Ox11,00,00,00. But your template has 17,0,0,0 (which worked)

What was wrong? Am I missing something?

I've attached the correct ssdt (SSDT_UIAC.dsl) and the incorrect one (SSDT-USB.dsl)
 

Attachments

Last edited:
Joined
May 16, 2019
Messages
5
Motherboard
Z370 Fatal1ty Gaming ITX
CPU
I7 8700k
Graphics
UHD630
Can someone elaborate on one question:
Somehow, my HS and SS ports are named differently.
The same port might be HS01 for USB2 AND SS03 for USB3.
Is this a problem and is there a way to correct the name of the SS ports to have the same number as the HS ports?
My Hackintosh will simply wakeup from sleep after 30 seconds or so and I tried already a lot to fix is. this seems to be the one thing I can think of....
 
Joined
Jan 23, 2011
Messages
308
Motherboard
Acer SF314-52
CPU
i5 7200U
Graphics
HD620
Mac
MacBook
Mobile Phone
iOS
the different naming for hs and SS is not a problem i believe, you just need to create the correct .aml file, if the port is a 3.0 then you want to use the SS name anyway
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
14,461
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
Somehow, my HS and SS ports are named differently.
The same port might be HS01 for USB2 AND SS03 for USB3.
Is this a problem and is there a way to correct the name of the SS ports
It's not a problem and no, you don't want to change them.
 
Joined
May 16, 2019
Messages
5
Motherboard
Z370 Fatal1ty Gaming ITX
CPU
I7 8700k
Graphics
UHD630
thanks for the information. I did that and am still experiencing trouble with sleep as well as occasional restarts after shutdown. I have tried a lot from darkwake=8, the hibernation fixup to changing proximity wake and hibernation via terminal as well as different aptiomemoryfix verisions. nothing does the trick even though I did my own usb map via the tool and they USB ports are working.
 
Top