Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Jul 24, 2011
Messages
60
Motherboard
Asus X99 Deluxe II
CPU
i7-6900K
Graphics
Vega 56
Definitely a requirement. USBInjectAll.kext does not match on XHCI (although it probably could).
Thanks it works now smooth.... final step is now to figure out which kexts should go in S/L/E.
Ideally I want minimal amount of kexts in Clover folder.
I will look in other topics for guidance.
Thanks again, Michael
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks it works now smooth.... final step is now to figure out which kexts should go in S/L/E.
Ideally I want minimal amount of kexts in Clover folder.
I will look in other topics for guidance.
Thanks again, Michael

As per FAQ, all kexts you need go to /L/E, not /S/L/E.
In addition, some kexts (essential) are duplicated in EFI/Clover/kexts/Other.
 
Joined
Sep 19, 2010
Messages
591
Motherboard
Asus Z87 Maximus Gene VI
CPU
i7-4790K
Graphics
Vega 64
Mac
  1. iMac
Mobile Phone
  1. iOS
@RehabMan, I recently changed motherboard from Asus H97M Plus to Asus Maximus Gene VI. I recreated the USB SSDT file but I'm not sure if it is functioning correctly. When I look in IORegistryExplorer, I can see in EH01, I have one entry for the internal USB in PR11 but the rest of the ports are shown in XHC. Do I have to eliminate the remaining PR12-PR18?

Also, I am trying to map the ports again to confirm I have marked them correctly but for some reason, I cannot see any of the USB 3 ports. I removed the USB SSDT from patched folder and applied the port limit patch for 10.14.x. The only port I see is SSP1. I tried adding FakePCIID and Mux kexts as well but no luck. Any idea what could be preventing all the ports from showing up?

I also tested the USB 3 write speed with the current USB SSDT and it doesn't go past 25MB/s with write speed. Read speed is at around 111MB/s.
 

Attachments

  • CyCLoBoT-Problem Reporting Files.zip
    1.6 MB · Views: 21
Last edited:
Joined
Dec 11, 2013
Messages
90
Motherboard
Asus Maximus VI Extreme
CPU
i7-4770K
Graphics
GTX 780
Mac
  1. iMac
Classic Mac
  1. iMac
Mobile Phone
  1. iOS
I failed to understand how to create that ssdt file, when I open maciASL > tools > generate ssdt, it brings cpu ssdt
should I use that file?

I installed Mojave 10.14 from App Store and every thing is working fine so far except front panel case usb 2.0 is not working
I tried to fixed it but I got lost, I really think I missed it all up not pretty sure what am I doing

I will post boot.log file and some photos, I hope it helps to describe the problem, and helping to solve it

clover version 4674
 

Attachments

  • Screen Shot 1440-01-22 at 5.18.33 PM 2.png
    Screen Shot 1440-01-22 at 5.18.33 PM 2.png
    311.1 KB · Views: 83
  • Screen Shot 1440-01-22 at 5.29.35 PM.png
    Screen Shot 1440-01-22 at 5.29.35 PM.png
    248 KB · Views: 70
  • Screen Shot 1440-01-22 at 5.30.51 PM.png
    Screen Shot 1440-01-22 at 5.30.51 PM.png
    302.7 KB · Views: 72
  • Screen Shot 1440-01-22 at 5.40.27 PM.png
    Screen Shot 1440-01-22 at 5.40.27 PM.png
    94.5 KB · Views: 59
  • bootlog.txt
    34.7 KB · Views: 76

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I failed to understand how to create that ssdt file, when I open maciASL > tools > generate ssdt, it brings cpu ssdt
should I use that file?

No.
As per post #1, you start with SSDT-UIAC-ALL.dsl.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
@RehabMan, I recently changed motherboard from Asus H97M Plus to Asus Maximus Gene VI. I recreated the USB SSDT file but I'm not sure if it is functioning correctly. When I look in IORegistryExplorer, I can see in EH01, I have one entry for the internal USB in PR11 but the rest of the ports are shown in XHC. Do I have to eliminate the remaining PR12-PR18?

Also, I am trying to map the ports again to confirm I have marked them correctly but for some reason, I cannot see any of the USB 3 ports. I removed the USB SSDT from patched folder and applied the port limit patch for 10.14.x. The only port I see is SSP1. I tried adding FakePCIID and Mux kexts as well but no luck. Any idea what could be preventing all the ports from showing up?

I also tested the USB 3 write speed with the current USB SSDT and it doesn't go past 25MB/s with write speed. Read speed is at around 111MB/s.

Any port not used should be eliminated.
HPxx ports are configured with "HUB1"/"HUB2".
PRxx ports are configured with "EH01"/"EH02".
HSxx and SPxx are configured as per post #1 with the appropriate "8086_xxxx" where xxx matches your XHC device-id, or if you want to just use "XHC" that works too.
 
Joined
Oct 7, 2012
Messages
126
Motherboard
ROG Maximus XII Hero Wi-Fi
CPU
i9-10900K
Graphics
RX 6900XT Sapphire Nitro+
Mac
  1. MacBook
Thanks Rehabman, just completed (Curiously, I went to remove the port limit patch and realised I had never actually used it. Does that seem strange?)

Also, now that I have my ports back, how can I test USB3 is transferring at the correct speeds? I'm testing with a 2.5" HDD, getting 95MB/s write, 86MB/s read.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks Rehabman, just completed (Curiously, I went to remove the port limit patch and realised I had never actually used it. Does that seem strange?)

To test all ports during port discovery, your hardware would make using the port limit patch compulsory.
 
Joined
Aug 22, 2011
Messages
3
Motherboard
Gigabyte H370 HD3
CPU
i5-8400
Graphics
GTX 750 Ti
Mobile Phone
  1. iOS
device 3.0 when connected to 2.0 - works like 2.0, which is correct
usb 3.0 only work with 2.0 devices, why?
 

Attachments

  • SSDT-UIAC-ALL.aml
    421 bytes · Views: 57

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Top