Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,731
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
:lol:

The SSDT will not disable this port right?
No. The SSDT applies only to USBInjectAll.kext, which applies only to supported Intel xHCI.
 
Joined
May 22, 2011
Messages
271
Motherboard
Gigabyte Z370 AORUS Gaming 5
CPU
Intel Core i7-8700
Graphics
Gigabyte RX 580 Gaming 8GB
Mac
MacBook Pro
No. The SSDT applies only to USBInjectAll.kext, which applies only to supported Intel xHCI.
Thanks :D ! I am almost done !

Just something I noticed, your examples starts with

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
and your sample starts with
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)

Should I get rid of the ALL ?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,731
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Thanks :D ! I am almost done !

Just something I noticed, your examples starts with

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
and your sample starts with
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)

Should I get rid of the ALL ?
The -ALL in the name with the SSDT-UIAC-ALL.dsl template is commentary due to the nature of the content in the file.
The file contains all ports.
After you edit your custom one, it won't contain "all", but rather those ports specific to your machine.
 
Joined
May 22, 2011
Messages
271
Motherboard
Gigabyte Z370 AORUS Gaming 5
CPU
Intel Core i7-8700
Graphics
Gigabyte RX 580 Gaming 8GB
Mac
MacBook Pro
The -ALL in the name with the SSDT-UIAC-ALL.dsl template is commentary due to the nature of the content in the file.
The file contains all ports.
After you edit your custom one, it won't contain "all", but rather those ports specific to your machine.
Understood !

Followed the tutorial and it works perfectly ! Thank you very much
 
Joined
Feb 9, 2012
Messages
319
Motherboard
Razer Blade Stealth
CPU
i7-8565U
Graphics
UHD 620, 1920 x 1080
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Hi, RehabMan
Ok I did make SSDT-UIAC-ALL.aml correctly.

Do I need FakePCIID, FakePCIID_XHCIMux and XHCI-200Series-Injector kexts?

Or Just simply I need USBinjectorAll.kext only?

Cuz, my XHC tree shows me correctly, without those three kext files.


After correctly made a USB patch, the shutdown function should be working with uncheck 'fixshutdown' in clover configurator.

But still not working without it. But if check 'fixshutdown' shutdown working, but my MB LED still on. Without 'fixshutdown', LED off correctly but computer restarts in seconds.

'Fixshutdown' controls MB's LED?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,731
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi, RehabMan
Ok I did make SSDT-UIAC-ALL.aml correctly.

Do I need FakePCIID, FakePCIID_XHCIMux and XHCI-200Series-Injector kexts?

Or Just simply I need USBinjectorAll.kext only?

Cuz, my XHC tree shows me correctly, without those three kext files.


After correctly made a USB patch, the shutdown function should be working with uncheck 'fixshutdown' in clover configurator.

But still not working without it. But if check 'fixshutdown' shutdown working, but my MB LED still on. Without 'fixshutdown', LED off correctly but computer restarts in seconds.

'Fixshutdown' controls MB's LED?
As per guide, FakePCIID_XHCIMux.kext does not apply to 100-series and later.
For the question regarding the injector kext, I would need to see your ioreg (see post #1, "Problem Reporting").

Your shutdown problem is not likely related to USB. No ideas without problem reporting files.
 
Joined
Feb 9, 2012
Messages
319
Motherboard
Razer Blade Stealth
CPU
i7-8565U
Graphics
UHD 620, 1920 x 1080
Mac
iMac, MacBook Pro
Mobile Phone
iOS
As per guide, FakePCIID_XHCIMux.kext does not apply to 100-series and later.
For the question regarding the injector kext, I would need to see your ioreg (see post #1, "Problem Reporting").

Your shutdown problem is not likely related to USB. No ideas without problem reporting files.
Here is the reporting files.

Thank you for your time.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,731
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Here is the reporting files.

Thank you for your time.
Notes/comments:
- XHC is a2af.. natively supported in 10.13.4
- internal ports should be marked UsbConnector=255. For example, looks like an internal hub at HS05/SS05.
- maybe another internal hub at HS01/SS01
- remove VirtualBox, and other unnecessary software
- sleep crash can be anything... could be related to your graphics or other hardware installed/connected
- ioreg shows audio not implemented
- looks like GPU PM not implemented
- hibernate not disabled (hibernatemode should be 0)
- you should probably remove/disable the TRIM patch
 
Joined
Feb 9, 2012
Messages
319
Motherboard
Razer Blade Stealth
CPU
i7-8565U
Graphics
UHD 620, 1920 x 1080
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Notes/comments:
- XHC is a2af.. natively supported in 10.13.4
- internal ports should be marked UsbConnector=255. For example, looks like an internal hub at HS05/SS05.
- maybe another internal hub at HS01/SS01
- remove VirtualBox, and other unnecessary software
- sleep crash can be anything... could be related to your graphics or other hardware installed/connected
- ioreg shows audio not implemented
- looks like GPU PM not implemented
- hibernate not disabled (hibernatemode should be 0)
- you should probably remove/disable the TRIM patch
1. XHC is a2af/ Natively supported in 10.13.4/ but I still need SSDT for full functional USB? right?

2. Ok, the internal ports are HS8, HS9 which is internal USB 2.0/1.1 headers. My IOREG original showed me NZXT CPU cooler in HS08 and Bluetooth/wifi in HS9 SO I put both = '255'

3. I removed VirtualBox. no more other apps like Parallels


4. Sleep/Wake is OK but only Shutdown has issue. (restart)


5. Internal audio is not enabled intently. (Using monitor's audio)

6. GPU PM? iGPU? No need it so not enabled.

7. Hibernate? you meant 'darkwake=0'?

8. Trim disabled.
 
Joined
Feb 9, 2012
Messages
319
Motherboard
Razer Blade Stealth
CPU
i7-8565U
Graphics
UHD 620, 1920 x 1080
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Notes/comments:
- XHC is a2af.. natively supported in 10.13.4
- internal ports should be marked UsbConnector=255. For example, looks like an internal hub at HS05/SS05.
- maybe another internal hub at HS01/SS01
- remove VirtualBox, and other unnecessary software
- sleep crash can be anything... could be related to your graphics or other hardware installed/connected
- ioreg shows audio not implemented
- looks like GPU PM not implemented
- hibernate not disabled (hibernatemode should be 0)
- you should probably remove/disable the TRIM patch

After all these fixed anything suggestion? report again?
 
Last edited:
Top