Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

** Micro-Guide: Disable Wake from USB (Wake only with Power Button) **
Credit: @lambusser

Please do not copy this guide in its entirely. Post a link instead.
This is optional. Please read Background to determine if it's right for you.​

Background:
Certain USB devices (Corsair all-in-one coolers and smart power supplies; RME Audio devices; etc.) can prevent the system from sleeping for either short or long periods of time. If these devices cannot be removed and replaced with alternatives, then a viable solution is to prevent any USB device from waking the system. In this case only the Power Button will wake the system.

Solution:
The solution consists of two parts:
  1. Copy attached SSDT-GPRW.aml to the CLOVER/ACPI/patched folder.
  2. Add an ACPI rename to config.plist:
    • Comment: change Method(GPRW,2,N) to XPRW, pair with SSDT-GPRW.aml
    • Find: 4750525702
    • Replace: 5850525702
      Screen Shot 2020-05-06 at 11.26.34 AM.png
  3. Reboot.

Reference:
 

Attachments

  • SSDT-GPRW.aml
    91 bytes · Views: 212
Hello @Tomsize,

Let's take this methodically:
  • The Mojave-to-Catalina mini-guide begins by building a new EFI/CLOVER folder on a USB flash disk, removing Hackintosh kexts from /Library/Extensionsand rebuilding the kernel cache with Kext Utility or by entering sudo kextcache -I /.
    • Has this step been done, and does Mojave still boot up when you boot from the USB flash disk (press F12 at BIOS splash screen and choose the USB disk)?

No at that point it doesn't boot when I boot from the USB.
 
No at that point it doesn't boot when I boot from the USB.
At the Clover Boot Menu press spacebar and use arrow keys to select Verbose and spacebar to toggle it on. Then Esc to return to boot menu and try booting Mojave again. What do you see?
 
cool! I'll give it a go now! :)
Thanks for the help @CaseySJ! Worked like a charm :)

Had to re-attach the clip a few times to get it to work correctly (shut down pi, unclip/clip, turn on pi), but it worked perfectly!

I’d update the guides to specify that the Y splitter isn’t necessary on the Designare Z390
 
ok. attached is the OEM firmware from my GC-AR AIC.

I have added the device DSB4 to the SSDT and changed the code from E2C to E17 in 2 places near the beginning of the SSDT. that is also attached for your inspection.

thanks in advance for helping with the DROM injection. note: I don't use open core yet--still clover.
I've tweaked the SSDT slightly to make sure you have all your XHC2 USB ports under Thunderbolt enumerated, attached is the ThunderboltDROM device property that you'll need to inject via Clover. The plist I have attached is in OpenCore format so you'll need to convert the device property to whatever format Clover uses. Remember to change the NHI0 device path value to what it is on your system. This can be found using gfxutil (attached). You may need to correct the CRC32 of the DROM as I had to change one byte to activate IOThunderboltPort5. See the instructions in the tutorial I linked to earlier. The best way to get the correct CRC32 value is to search your kernel boot log in Hackintool for the term 'DROM' If there is a checksum error it will show you the correct CRC32 value which you'll need to byte-reverse and modify the DROM with. Hang on in there, you're almost there...
 

Attachments

  • config.plist.zip
    912 bytes · Views: 102
  • gfxutil.zip
    27 KB · Views: 84
  • SSDT-TbtOnPch.aml.zip
    2.5 KB · Views: 98
Last edited:
Thanks for the help @CaseySJ! Worked like a charm :)

Had to re-attach the clip a few times to get it to work correctly (shut down pi, unclip/clip, turn on pi), but it worked perfectly!

I’d update the guides to specify that the Y splitter isn’t necessary on the Designare Z390
Good job! Feel free to post a screenshot of IOReg-->RP05 and System Information --> Thunderbolt. Will clarify the Y-split sections.
 
GB used to crash my system, too. I'm using iMP 1,1 with iGPU disabled. I'm also running Clover and Mojave. No Sleep, bluetooth, wifi, and other "fun" features are off. CPU is at 4.0 GHz AVX is at 0. Tonymac-oriented kexts are loaded from the EFI. SIP and Filevault are disabled. The RX580 is switched to "Compute" mode. –Obviously, this computer is in "dad-mode" for Pro Tools.

Is you PSU only 500W? I have an idea for you to try. It involves reducing your CPU and RAM clock a bit. You may be running the system too hard. Also, avoid bus-powering USB and TB stuff whenever you can until you can buy a higher capacity PSU. The PSU was the third thing I picked out when I designed my build. It's a Seasonic 1000W Titanium one. For my power draw, it's at its most efficient operation. I love that thing. It's totally silent. Okay, look at these images. My RAM is running at 2666MHz and I've clocked my i9 9900KS down to 4 GHz for the summer. My cores all sync, but IDK if yours will. I'm not a fan of running a machine flat-out just to push benchmarks higher. You could try a turbo setting of 4.5 across all cores. I had problems with the i9 9900KS at 3.8GHz, so 4.0 GHz it is –in my case.
Turn off XMP and set your RAM to 2666 MHz.

YMMY, AYR, etc. My CPU might require less juice because it's a binned one from SL. Again, YMMV. If you make these changes in BIOS, save them to a New File, don't overwrite your old one, and don't just hit "Save and Exit" –you'll need to differentiate between the two setups. FYI, the machine may restart a couple times before the BIOS screen reappears when your make changes to the RAM speed and/or CPU clock. Give everything a careful look. Good luck. LMK what happens.

@jb007 @pastrychef @CaseySJ
It turns out my PSU is a 750W and thank you so much for the help with this! Fun fact is that running win10 gaming never run into any issues or shut downs for that matter :). I'll give these settings a try now and let you know how it goes.

Thanks again!,

Jim
 
Back
Top