Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

I have finally resolved my usb device recognized as usb 2 device issue. It turns out to be bios setting related.
I noticed this by using a tool called "usb device viewer" on windows and noticed my usb 3 drive with properity "bcdUSB usb 2.1", which is wrong and should be usb 3.0

i reset my bios settings and it's all fixed
 
"auto restart" after shutdown is probably some other issue.
BIOS settings/ACPI issues, etc.

You might look into the "XHC.PMEE fix" (see laptop ACPI patching guide, and my laptop MaciASL patch repo) if BIOS settings don't help.

Note also that you didn't implement USB power properties. Read here:
https://www.tonymacx86.com/threads/guide-usb-power-property-injection-for-sierra-and-later.222266/

Hi @RehabMan, I have one last question, after creating the SSDT for USBInjecktAll, I have to remove these kext from L/E: XHCI-200-series-injector.kext and the new patch for HS 10.13.4? What should I keep in the EFI folder instead?
Sorry if my question is trivial, but after creating your SSDT I have not changed anything in my system, I left everything as it was, I'm a bit confused...
 
Hi @RehabMan, I have one last question, after creating the SSDT for USBInjecktAll, I have to remove these kext from L/E: XHCI-200-series-injector.kext and the new patch for HS 10.13.4? What should I keep in the EFI folder instead?
Sorry if my question is trivial, but after creating your SSDT I have not changed anything in my system, I left everything as it was, I'm a bit confused...

You will still need USBInjectAll.kext, as the SSDT does nothing without it.
And XHCI-200-series-injector.kext until such time as Apple adds native support for your xHCI controller.

The port limit patch can be removed as the number of ports injected by USBInjectAll.kext should now be within the 15-port limit.

As for proper kext installation locations and procedures, read post #2 here:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

And the FAQ:
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
Hi @RehabMan Following your guide and this post I created SSDT-USB attached for Asus Z370-E. It works well with USBInjectAll.kext and XHCI-300-series-injector.kext, with only one problem: USB drives on USB3.1 Gen 2 (Red Type A or Type C ports) always got "Disk Not Ejected Properly" error notification at wake up, but no error with regular USB3.1 Gen1 (Blue ports). USB3.1 Gen 2 devices are under RP05@1C,4 instead of XHC@14 in IORegistryExplorer, so I didn't include them in SSDT. Do you think the two red ports should be included in the SSDT and how to do it? Thank you very much.

BTW, what are USR1 and USR2 under XHC? Looks like they are counted as two of the 15 ports. Are the USB3 Gen 2 red ports also counted against the 15-port limit?
 

Attachments

  • SSDT-USB.dsl
    6.2 KB · Views: 151
Hi @RehabMan Following your guide and this post I created SSDT-USB attached for Asus Z370-E. It works well with USBInjectAll.kext and XHCI-300-series-injector.kext, with only one problem: USB drives on USB3.1 Gen 2 (Red Type A or Type C ports) always got "Disk Not Ejected Properly" error notification at wake up, but no error with regular USB3.1 Gen1 (Blue ports). USB3.1 Gen 2 devices are under RP05@1C,4 instead of XHC@14 in IORegistryExplorer, so I didn't include them in SSDT. Do you think the two red ports should be included in the SSDT and how to do it? Thank you very much.

BTW, what are USR1 and USR2 under XHC? Looks like they are counted as two of the 15 ports. Are the USB3 Gen 2 red ports also counted against the 15-port limit?

Read _UPC documentation in ACPI spec for correct UsbConnector values for USB type-C ports (should be 9 or 10, depending on the port).

And...
"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Thank you,
almost everything worked for me, just my 2 frontal usb3 ports go too slow (like it was usb2).
And what is weird, that other 2 frontal usb2 ports use the same "HS10" port.

Can anyone give an advice, how to solve this?
 

Attachments

  • config.plist
    6.7 KB · Views: 202
Thank you,
almost everything worked for me, just my 2 frontal usb3 ports go too slow (like it was usb2).
And what is weird, that other 2 frontal usb2 ports use the same "HS10" port.

Can anyone give an advice, how to solve this?

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: External ports using the same controller port (as you describe with HS10) are likely connected to a hub instead of directly to the controller.
 
"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: External ports using the same controller port (as you describe with HS10) are likely connected to a hub instead of directly to the controller.

Hi RehabMan,
Thanks for your reply,
I am sending debug files, hope will be useful.
 

Attachments

  • debug_32291.zip
    1.3 MB · Views: 73
Back
Top