Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Hi, @RehabMan - I'm following your guide. FakePCIID and FakePCIID_XHCIMux kexts are causing my USB devices to completely stop working immediately on install.

10.13.6, x99

How do I troubleshoot this? Search turns up empty and I don't see this mentioned in the ReadMe.

Thanks
 
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
 

Attachments

  • debug_25665.zip
    2.5 MB · Views: 92
Hi, @RehabMan - I'm following your guide. FakePCIID and FakePCIID_XHCIMux kexts are causing my USB devices to completely stop working immediately on install.

10.13.6, x99

How do I troubleshoot this? Search turns up empty and I don't see this mentioned in the ReadMe.

Thanks
Rehabman has not been active for several months.
 
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.
 
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
 
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.
 
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

  • SSDT_UIAC.dsl
    3.6 KB · Views: 98
  • SSDT-USB.dsl
    3.6 KB · Views: 94
Last edited:
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....
 
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
 
Back
Top