Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
May 2, 2013
Messages
33
Motherboard
GA-Z77X-UP4 TH
CPU
i7-3770K
Graphics
GTX 660
Mac
  1. Mac Pro
Hey there, I'm having a bit of an issue with my custom ssdt. Specifically, I'm not sure that I'm patching the config.plist correctly. I pasted the Ehc1 > EH01 thing over into the plist, but maybe I did it wrong. My Ioreg still shows USB 2.0 as EHC.

Thank you for this article and all of your help.
 

Attachments

  • config.plist
    14.2 KB · Views: 184
  • Screen Shot 2017-10-16 at 4.32.11 PM.png
    Screen Shot 2017-10-16 at 4.32.11 PM.png
    195.2 KB · Views: 58
  • Screen Shot 2017-10-16 at 4.34.35 PM.png
    Screen Shot 2017-10-16 at 4.34.35 PM.png
    201.7 KB · Views: 132
  • Screen Shot 2017-10-16 at 4.35.43 PM.png
    Screen Shot 2017-10-16 at 4.35.43 PM.png
    322.8 KB · Views: 67

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey there, I'm having a bit of an issue with my custom ssdt. Specifically, I'm not sure that I'm patching the config.plist correctly. I pasted the Ehc1 > EH01 thing over into the plist, but maybe I did it wrong. My Ioreg still shows USB 2.0 as EHC.

Thank you for this article and all of your help.

Your config.plist is corrupt.
Never use a text editor... always a plist editor such as Xcode or PlistEdit Pro.
 
Joined
May 2, 2013
Messages
33
Motherboard
GA-Z77X-UP4 TH
CPU
i7-3770K
Graphics
GTX 660
Mac
  1. Mac Pro
Your config.plist is corrupt.
Never use a text editor... always a plist editor such as Xcode or PlistEdit Pro.
Crap... should I generate a plist from clover, edit in Xcode and replace? Or have I royally screwed something up beyond that?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Crap... should I generate a plist from clover, edit in Xcode and replace? Or have I royally screwed something up beyond that?

Clover doesn't generate config.plist.. it only reads it.
Go back to a config.plist prior to your edits that corrupted it.
 
Joined
Dec 13, 2016
Messages
348
Motherboard
Asus Prime z370 A-II
CPU
i9-9900K
Graphics
Radeon VII
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Just to clarify, a custom SSDT needs to be redone from Sierra to High Sierra? Or does it transfer?
 
Joined
Oct 12, 2017
Messages
93
Motherboard
GA-Z170N-WIFI
CPU
Core i7 6700k
Graphics
EVGA NVIDIA GeForce GTX 960
What is the meaning for each of the arguments highlighted in red?
how does clover or the computer interpret that?

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
...
}

I assume the "UIAC" stands for USB Inject All Configuration?
But what are the other arguments for?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
What is the meaning for each of the arguments highlighted in red?
how does clover or the computer interpret that?

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
...
}

I assume the "UIAC" stands for USB Inject All Configuration?
But what are the other arguments for?

Read the ACPI specification.
 
Joined
Oct 12, 2017
Messages
93
Motherboard
GA-Z170N-WIFI
CPU
Core i7 6700k
Graphics
EVGA NVIDIA GeForce GTX 960
Read the ACPI specification.

Screen Shot 2017-10-17 at 15.20.48.png


Geen is what i understood, red says nothing to me.
DefenisitonBlock ("whatever name i want", "SSDT", 2, "hack", "UIAC", 0)
{
termlist
}

Nothing mentioned about what is ComplianceRevision,
OEMID is the name of the company that made the table?
TableID is the name of the table itself? So the kext USBInjectALL is defined in its code as UIAC?
OEMRevision is the version of the table?

Gosh I'm going deep now.

This is what i have from my current applied SSDT patch in the arguments (this just makes me even more confused)
Code:
DefinitionBlock ("", "SSDT", 1, "USB Co", "USBFix", 0x00003000)
{
...
}

According to "USBFix", This is not how the patch identifies the table...
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
View attachment 286370

Geen is what i understood, red says nothing to me.
DefenisitonBlock ("whatever name i want", "SSDT", 2, "hack", "UIAC", 0)
{
termlist
}

Nothing mentioned about what is ComplianceRevision,
OEMID is the name of the company that made the table?
TableID is the name of the table itself? So the kext USBInjectALL is defined in its code as UIAC?
OEMRevision is the version of the table?

Gosh I'm going deep now.

This is what i have from my current applied SSDT patch in the arguments (this just makes me even more confused)
Code:
DefinitionBlock ("", "SSDT", 1, "USB Co", "USBFix", 0x00003000)
{
...
}

According to
Code:
"USBFix"
, This is not how the patch identifies the table...

You need to read the entire ACPI specification in order to find the answer.
The document is quite complete, but you're only reading part of it.

The text / revisions are simply reflected in the resulting file header.
 
Top