Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,243
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Any idea why my config is ignoring the SSDT-UIAC.aml file that I put in ACPI/patched?

HS01/SS01 = Front Left USB 3.0
HS02/SS02 = Front Right USB 3.0
HS03/SS03 to HS06/SS06 = Rear Bottom USB 3.0
HS13 & HS14 = Rear Top USB 2.0

View attachment 363391
Sorry about that. Here is the debug file.

The SSDT is coded incorrectly.
This:
Code:
                "ports",
                Package (0x34)
                {

Should be:
Code:
                "ports",
                Package (0x1C)
                {
 
Joined
Mar 23, 2011
Messages
54
Motherboard
Asus Z170 Pro Gaming
CPU
i7-6700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
The SSDT is coded incorrectly.
This:
Code:
                "ports",
                Package (0x34)
                {

Should be:
Code:
                "ports",
                Package (0x1C)
                {
That did the trick! Thank you so much.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,243
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
That did the trick! Thank you so much.

It is why you should keep your .dsl for edits (that has package sizes unspecified), but compile to .aml for testing.
Never edit the aml directly.
 

elfcake

Banned
Joined
Nov 25, 2012
Messages
1,076
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Next, we boot with -uia_exclude_hs uia_include=HS03
I placed this in Boot Args in Clover boot menu, lost all of the USB ports, could not find a port that enabled key board to input password to sign into desktop. Forced restart to access USB ports again. Still cannot use USB 3 devices in USB 3 ports, only USB 2 devices will read in USB 3 ports. USB 3 SSD with Mojave does not appear in Disk Utility or desktop but does appear in Clover Boot Menu items. I found HowToFixDsdt.txt in the EFI>Clover>doc folder

I have been trying to get through this for many days, I am stumped.
 

Attachments

  • config.plist.zip
    2.9 KB · Views: 54
  • HowToFixDsdt.txt
    2.4 KB · Views: 57

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,243
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I placed this in Boot Args in Clover boot menu, lost all of the USB ports, could not find a port that enabled key board to input password to sign into desktop. Forced restart to access USB ports again. Still cannot use USB 3 devices in USB 3 ports, only USB 2 devices will read in USB 3 ports. USB 3 SSD with Mojave does not appear in Disk Utility or desktop but does appear in Clover Boot Menu items. I found HowToFixDsdt.txt in the EFI>Clover>doc folder

I have been trying to get through this for many days, I am stumped.
No "Problem Reporting" files attached.
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.
 

elfcake

Banned
Joined
Nov 25, 2012
Messages
1,076
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS

elfcake

Banned
Joined
Nov 25, 2012
Messages
1,076
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
No "Problem Reporting" files attached.
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.
Here are the piped files, tried gen_debug.sh and received this result:
Richards-iMac:RehabMan richardeisen$ gen_debug.sh
-bash: gen_debug.sh: command not found

Again, I have mapped the USB 2/3 ports being used but cannot use USB 3 drives in USB3 ports.

Thank you for your assistance, I hope I have what is needed here.
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 57
  • Richard’s iMac.zip
    968.1 KB · Views: 44
  • RehabMan.zip
    73 KB · Views: 58

elfcake

Banned
Joined
Nov 25, 2012
Messages
1,076
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Top