Contribute
Register

[Success] ASRock Z390 Phantom Gaming-ITX + TB3 + iGPU + Mojave + SFF Build

@mango1122 sorted, many thanks! used the DC not the D8 .aml
 

Attachments

  • 1.jpg
    1.jpg
    266 KB · Views: 105
  • 2.jpg
    2.jpg
    710.7 KB · Views: 104
@mango1122 Did you flash the stock NVM20 firmware back?
Yes - I did that to test the SSDT. If you want to flash the original firmware back - use the tbpatcher from GitHub

sudo ./tbpatch patch -p RP@21 -f patch2.plist.
or you can use the external programmer as before or boot into Windows and update the firmware for the TB device.

The only benefit I see is that USB-C devices are getting detected connected to the TB port. I haven't tested extensively so do not know the other benefits.
 

Attachments

  • patch 2.plist
    2.1 KB · Views: 109
Confirmed, my rig restarts immediately after sleep with nothing connected the the TB port. if I remove SSDT-DTGP.aml & SSDT-TbtOn.aml sleep is restored...
 
sudo rm com.apple.PowerManagement.*
Reboot

sudo pmset -g log | grep -i "Wake from" > find reason for wake
sudo pmset -g > check settings

My setup is following
Code:
System-wide power settings:
Currently in use:
 standby              1
 Sleep On Power Button 1
 womp                 0
 autorestart          0
 hibernatefile        /var/vm/sleepimage
 proximitywake        0
 powernap             0
 networkoversleep     0
 disksleep            10
 standbydelayhigh     86400
 sleep                60 (sleep prevented by sharingd, coreaudiod)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         60
 highstandbythreshold 50
 standbydelaylow      86400
Also make sure you have the USB port limit patch. I use the one below.
 

Attachments

  • USBPorts-z390-ASRock-PhGmITX-iMac19,1-V8.kext.zip
    4.7 KB · Views: 82
Just tested it - it works fine for me too. Under the ACPI > Patches remove the _INI to XENI patch. Leave the _E2C to XE2C as is. In IORegistery explorer - Can you paste a screenshot of the RP21 ? Also a screenshot of System > Thunderbolt.

@dgsga - Thanks for the SSDT - works for this board.
Replaced "DC" to "D8" in MMBA method. Replaced _INI with PINI
SDDT is here - https://www.tonymacx86.com/threads/...tb3-igpu-mojave-sff-build.277418/post-2117075


QQ => Did the formula change? Just curious - based on what @dgsga had posted, DC seemed to be the correct value. I guess not for us but would love to know why.

Yes - I did that to test the SSDT. If you want to flash the original firmware back - use the tbpatcher from GitHub

sudo ./tbpatch patch -p RP@21 -f patch2.plist.
or you can use the external programmer as before or boot into Windows and update the firmware for the TB device.

The only benefit I see is that USB-C devices are getting detected connected to the TB port. I haven't tested extensively so do not know the other benefits.

Awesome. Thanks! I'll try this today. Big thing for me is to see if TB3 gets restored after sleep & wake.
 
OK. I could definitely use some help @mango1122. I attaching my EFI (Clover). I am looking at @baja-king and @fontanero EFI and mine is somewhat close.

Still can't get TB3 to populate with anything in System Report.

Just some notes:
  1. I don't have SSDT-DTGP.aml and don't see it posted anywhere. Seems not everyone is using it.
  2. I am using BIOS 4.40C with the mango's TB settings.
So, perhaps my EFI folder seems correct, but it may be a mess too.
 

Attachments

  • config.plist
    22.5 KB · Views: 63
Last edited:
Hi, I'm attaching my EFI folder updated to 0.5.8
As I said in my previous post #923 , I updated the EFI to version 4.40c published in this forum.

Sleep and wake up well, the USB C connection works, Thunderbolt I can't because I don't have any TB

iPad charges well, the mobile also works through the USB C port

I will attach images of how I have the TB configuration in EFI.

I can boot the system from an external USB C drive, it is shown on the startup screen.

There is a file in ACPI: SSDT-SBUS-MCHC.aml that works for the AppleSMBus support correction because it loads it but it breaks the sleep, it is for curiosity.

I hope it helps someone...
 

Attachments

  • EFI.zip
    57.3 MB · Views: 207
Last edited:
My tests, according to the SSDT-TbtOnPch_PINI.aml version of post #922 (Mango1122) with the first one appears in system properties the Thunderbolt but I lose the hot plug and i can not eject.

With the second one SSDT-TbtOnPch_PINI_D8.aml, it disappears from the system properties but the hot plug returns.

With the original post # (rj510) SSDT-Z390-ASRock-ITX-AR-TB3-V8.aml I have ACPI errors in the log but it has hot plug and disconnect well.

It would be great to do both at the same time, but I prefer it to work than be shown.

It shows very differently how the two work because of such a simple change...;)
 
Back
Top