Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Oct 12, 2017
Messages
93
Motherboard
GA-Z170N-WIFI
CPU
Core i7 6700k
Graphics
EVGA NVIDIA GeForce GTX 960
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.

Yes but what interests me is their meanings.
Now i've learned that ComplianceRevision is how the DefinitionBlock evaluated, as 32-bit or 64-bit, when 2 is 64-bit.
these are the pieces of information I'm after.
I would like to have all the time in the world to read the whole spec and learn but I'm learning JS in the meanwhile so i can't
have too much time invested in this.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Yes but what interests me is their meanings.
Now i've learned that ComplianceRevision is how the DefinitionBlock evaluated, as 32-bit or 64-bit, when 2 is 64-bit.
these are the pieces of information I'm after.
I would like to have all the time in the world to read the whole spec and learn but I'm learning JS in the meanwhile so i can't
have too much time invested in this.

Off-topic.
Please try to keep replies in this thread related to the topic covered by post #1 (USB port injection).
 
Joined
Jan 22, 2014
Messages
7
Motherboard
GA-Z87X-D3H
CPU
i7-4770K
Graphics
Intel HD4600
Hi RehabMan. Thanks for all your hard work.
My MoBo is a Gigabyte GA-Z87X-D3H and I've been trying to make this patch work for High Sierra. I have 2 quick questions:

1. When you say that nothing changes between 10.11, 10.12 and 10.13 does this include the patch to raise the ports number? I mean that until 10.12 it was suggested that the "83BD74F FFFF10" address should be "raised" in AppleUSBXHCICPI, but in 10.13 people say that the address that should change is "837D8C10". Which address should I change and by what number? (Reach 21, 24 or 26?) Obviously I'll do the hex math to reach the number you tell me.

2. In BIOS I have XHCI to Smart Auto and XHCI-Hand-off to enabled. But what about EHCI-hand-off? Does it play any role?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
1. When you say that nothing changes between 10.11, 10.12 and 10.13 does this include the patch to raise the ports number?

The port limit patch is different for each version.
Refer to config_patches.plist.
Although after you follow this guide, you are no longer using the port limit patch.

2. In BIOS I have XHCI to Smart Auto and XHCI-Hand-off to enabled. But what about EHCI-hand-off? Does it play any role?

handoff should be enabled.
If not, you can use config.plist/Devices/USB/FixOwnership=true.
 
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
Nothing different in 10.13 vs. 10.12 vs. 10.11.

Thanks. Curious if I do a clean install, does that change everything or can I recycle the SSDT? Debating options.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks. Curious if I do a clean install, does that change everything or can I recycle the SSDT? Debating options.

As per guide, your SSDT for USBInjectAll.kext is based solely on the USB ports and their use in your system.
The procedures, and therefore the result, are the same for 10.11, 10.12, and 10.13.
 
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
As per guide, your SSDT for USBInjectAll.kext is based solely on the USB ports and their use in your system.
The procedures, and therefore the result, are the same for 10.11, 10.12, and 10.13.

Great, thanks
 
Joined
Oct 9, 2017
Messages
38
Motherboard
ASUS RAMPAGE V EXTREME
CPU
i7-5820K
Graphics
GTX 1060
Hi @RehabMan, may I ask why there is no link to actually download the xhci-200-series-injector.kext from your bitbucket or github? And I quote

The best way to download the config_patches.plist and other repo files is to download the project ZIP:

https://github.com/RehabMan/OS-X-USB-Inject-All/archive/706fea51222eb73343d347db10cf48500333a7bd.zip

If you need a copy of the repo with the 9-series injector:

https://github.com/RehabMan/OS-X-USB-Inject-All/archive/706fea51222eb73343d347db10cf48500333a7bd.zip
Both links are to the same archive, so it appears we can't actually get the xhci-200-series-injector.kext from you, the source, but instead have to trust that the kext I got off of someone else's uploaded EFI folder is the correct one.
 
Joined
Jan 22, 2014
Messages
7
Motherboard
GA-Z87X-D3H
CPU
i7-4770K
Graphics
Intel HD4600
Ok, I'm officially frustrated! The very reason I started doing all this is because I got USB 3.0 transfer speeds of about 20 MB/s, which is pathetic. It turns out that no matter what I do the speeds remain the same. The thing is that when I thoroughly looked in Windows (with USB viewer) the USB ports where loaded in exactly the same places and their speed was the same as in MacOS (if not a little bit worse). Before anyone tells me that "something is wrong with my hardware" I want to mention that when I load Linux (clean install, not dual-boot) on the SAME drive as MacOS and with exactly the same settings in BIOS I get MINIMUM transfer speeds to the same external USB 3.0 HDD of 120 MB/s!

I don't know if it means anything but both Windows and MacOS route everything to XHC (leaving EH01-02 untouched no matter what I plug-in or where). I haven't had the chance to check how the case is handled by linux. If something is indeed wrong I'll post the necessary files later (I'm not on the "experimental" machine right now) . If I'm at the wrong thread PLEASE tell me where to look.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi @RehabMan, may I ask why there is no link to actually download the xhci-200-series-injector.kext from your bitbucket or github? And I quote

The best way to download the config_patches.plist and other repo files is to download the project ZIP:

https://github.com/RehabMan/OS-X-USB-Inject-All/archive/706fea51222eb73343d347db10cf48500333a7bd.zip

If you need a copy of the repo with the 9-series injector:

https://github.com/RehabMan/OS-X-USB-Inject-All/archive/706fea51222eb73343d347db10cf48500333a7bd.zip
Both links are to the same archive, so it appears we can't actually get the xhci-200-series-injector.kext from you, the source, but instead have to trust that the kext I got off of someone else's uploaded EFI folder is the correct one.

The kext is in the USBInjectAll repo.
Download the ZIP, then you have it.
Always read carefully.
 
Top