Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Sorry for my English.

Before you use that app, make sure that
1)xhcl “enable” in BIOS Setup
2)usbportlimitedpatch in your config,
e.g. for 10.13.x
<dict>

<key>Comment</key>

<string>Change 15 port limit</string>

<key>Disabled</key>

<false/>

<key>Find</key>

<data>

g32MEA==

</data>

<key>InfoPlistPatch</key>

<false/>

<key>MatchOS</key>

<string>10.13.x</string>

<key>Name</key>

<string>com.apple.driver.usb.AppleUSBXHCIPCI</string>

<key>Replace</key>

<data>

g32Mfw==

</data>

</dict>
3) a usbinjectall.kext in your /kext/other
4) prepareing USB3 hardware and USB2 hardware

For tests:
1) only U3 hardware could detect U3 port out,U2 hardware only could detect U2 port
2) and a U3 physical port has two ports in systerm,a U3 port and a U2 port.
3) a U2 physical port only has one U2 port in systerm.

This guide does not use any port limit patch.
And a patch for 10.13.x won't help you with 10.14.1 anyway.
 
Keep in mind that the _OSI->XOSI patch requires SSDT-XOSI.aml.
I tried compiling it in MaciASL to .AML and it returns error on 37th line.
Code:
37, 4096, Invalid character (0x21), expecting ASL keyword or name
37, 4096, Invalid character (0x3D), expecting ASL keyword or name
37, 4096, syntax error, unexpected PARSEOP_MATCH, expecting ')'
And is this _OSI->XOSI patch is a requirement? In this guide SSDT-XOSI.aml wasn't mentioned, so i blindly copied all patches. I found SSDT-XOSI.aml mentioned in your another topic "[Guide] 10.11+ USB changes and solutions", but, as i said, i cannot compile. And i'm not sure which Windows version should i uncomment and which ones to comment out.
 
Last edited:
I tried compiling it in MaciASL to .AML and it returns error on 37th line.
Code:
37, 4096, Invalid character (0x21), expecting ASL keyword or name
37, 4096, Invalid character (0x3D), expecting ASL keyword or name
37, 4096, syntax error, unexpected PARSEOP_MATCH, expecting ')'
And is this _OSI->XOSI patch is a requirement? In this guide SSDT-XOSI.aml wasn't mentioned, so i blindly copied all patches. I found SSDT-XOSI.aml mentioned in your another topic "[Guide] 10.11+ USB changes and solutions", but, as i said, i cannot compile. And i'm not sure which Windows version should i uncomment and which ones to comment out.

Wrong version of ACPI, perhaps wrong version of MaciASL. Must use ACPI 6.2a.
Read here:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Wrong version of ACPI, perhaps wrong version of MaciASL. Must use ACPI 6.2a.
Read here:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
Thank you, it was wrong version of MaciASL.
I used this SSDT-XOSI.dsl: https://github.com/RehabMan/OS-X-USB-Inject-All/blob/master/SSDT-XOSI.dsl to compile SSDT-XOSI.aml

EDIT 1: I see that SSDT-XOSI.aml should be added to config.plist/ACPI/SortedOrder, should i just write SSDT-XOSI.aml there (in Clover Configurator)? And wouldn't it conflict with SSDT-UIAC.aml which is not in SortedOrder?
 
Last edited:
I see that SSDT-XOSI.aml should be added to config.plist/ACPI/SortedOrder, should i just write SSDT-XOSI.aml there (in Clover Configurator)? And wouldn't it conflict with SSDT-UIAC.aml which is not in SortedOrder?
 
I see that SSDT-XOSI.aml should be added to config.plist/ACPI/SortedOrder, should i just write SSDT-XOSI.aml there (in Clover Configurator)? And wouldn't it conflict with SSDT-UIAC.aml which is not in SortedOrder?

For the most part SortedOrder is not needed. Why are you using it?
 
For the most part SortedOrder is not needed. Why are you using it?
It's written in SSDT-XOSI.dsl comments:
Code:
To use this SSDT, you must compile it as AML, place in ACPI/patched, add
// to config.plist/ACPI/SortedOrder, and use the "change _OSI to XOSI"
// patch in config.plist/ACPI/DSDT/Patches (see config_patches.plist)
 
In the end I decided to create my pre-personalized injector and I have doubts and a big problem

placa Z77x-d3h i5 2310

configuration of SSDT-UIAC.aml

EH01
PR11
HP15
HP16
HP17
HP18
EH02
PR21
HP23 ; Wireless teclado USB3.0
HP24; Wireless mouse USB3.0
HP25; ML-1640 USB2.0
HP26; USB audio . USB2.0
XHC
HS01
HS02
SSP5
SSP6


I think the configuration is correct for my custom SSDT-UIAC.aml but before this I have a USB 1t usb3.0 usb drive problem It does not happen in usb 3.0

I add my custom SSDT-UIAC.aml

thanks for the advance help
 

Attachments

  • SSDT-UIAC.aml
    782 bytes · Views: 106
Back
Top