Contribute
Register

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

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,123
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Hello Everyone,

After some more searching I finally found a simple and quick way to solve my "Wake from USB" challenges...


and here


but all looks like it's based on @RehabMan's work from a few years ago


For our Z390 DESIGNARE we need to use "Patch Method #1". I've attached the SSDT-GPRW.aml file you'll need which goes in EFI/CLOVER/ACPI/patched. Don't forget to add the ACPI patch in your config.plist as outlined in either of the first two links above. That's it!

I've been testing it for the last 24 hours and it does EXACTLY what I wanted. No wake by USB--only via the power button. So no matter how "chatty" your USB devices may be (for me it was the Corsair devices attached to HS11/HS12 and my 3 RME audio devices) you system will sleep like a baby :) The nice thing is that you don't have to "uia_exclude" anything via Clover boot arguments so you're free to pass through any devices (like the Corsair ones) to Windows 10 via Fusion or Parallels and control them from there.

I hope this helps some folks. I was looking to do this by significantly modifying @CaseySJ's "SSDT-UIAC-DESIGNARE-Z390-V7.aml" but this is so much cleaner!

Lam
Well done!! This belongs in the Quick Reference spoiler and in Contributed Files and Tips. Will make the changes momentarily.
 
Joined
Jul 4, 2011
Messages
60
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900KS
Graphics
Vega Frontier Edition
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
Well done!! This belongs in the Quick Reference spoiler and in Contributed Files and Tips. Will make the changes momentarily.

Thank you @CaseySJ. Couldn't have done it without this thread and all your work!
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,123
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
** 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: 186
Joined
May 21, 2019
Messages
10
Motherboard
Gigabyte Designare Z390
CPU
i7-9700k
Graphics
Radeon RX 5700 XT
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.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,123
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
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?
 
Joined
Jan 25, 2012
Messages
19
Motherboard
Z390 Designare
CPU
9900K
Graphics
RTX 2080 Ti + Vega 64
Mac
  1. iMac
  2. MacBook Pro
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
 
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
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: 83
  • gfxutil.zip
    27 KB · Views: 67
  • SSDT-TbtOnPch.aml.zip
    2.5 KB · Views: 78
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,123
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
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.
 
Joined
Apr 24, 2019
Messages
6
Motherboard
Gigabyte Designare Z390
CPU
intel i9-9900K
Graphics
AMD Sahpire RX 580
Mac
  1. MacBook Pro
  2. Mac Pro
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
 
Top