Contribute
Register

Stork's MyHero II Build: ASUS ROG MAXIMUS Z370 HERO X - i7-8700K - AMD RX 580 - Thunderbolt 3

Joined
Sep 20, 2012
Messages
83
Motherboard
ASUS ROG MAXIMUS HERO X Z370
CPU
i9-9900K
Graphics
RX 6800 XT
Mac
  1. iMac
Mobile Phone
  1. iOS
Press F4 when you get to the Clover boot screen. It is also available from one of the clover menus as well but can't remember which off the top of my head... Mount your EFI, and you will see everything in Clover/ACPI/Origin.

You then just drop the DSDT on to SSDTTime while it is open and it will find everything for you and output the EC patches needed in its results folder. You can then paste those correct values for your system into your SSDT-EC-USBX.dsl and save the compiled .aml to Clover/ACPI/patched. Reboot and you should now only have one EC visible in IORegistry Explorer.

Hi there,
I followed this guide before, I did not only rename ECO to EC, I also copied the SSDT-USBX.aml attached to the post below, to EFI/CLOVER/ACPI/patched. After reboot, IOregistry Explorer and System Information / USB showed attached outputs.
What are your thoughts on this ? Do you reckon this method is sufficient or cause sooner or later the problems you mentioned before ?
Kind regards,

Chimiel

Thank you for the findings and for writing this guide RehabMan, I could make it work on my build! :clap:

I wrote a shorter guide for beginners not familiar with Hackintosh topics and the common inspector tools we use:
  • 1.) You can read "ioreg" several places but I cannot find a link or description at post #1 what ioreg actually is... So if you're wondering how you can view ioreg, there is an application called IORegistryExplorer (version 2.1 !), which you can download from here: https://www.tonymacx86.com/threads/guide-how-to-make-a-copy-of-ioreg.58368/ If you open it up it will show you a list in alphabetical order.. Look for the name "EC" (Embedded Controller), it will be before the FAN labels... If you can find the element called "EC" in there, continue with step 5.)
  • 2.) If the "EC" element is not there in the IORegistryExplorer, you need to check if you have EC0 or the H_EC name (or neither) under the hood in so called ACPI. There is another application to check that: MaciASL. It's also not mentioned in post #1, you can download it from here: RehabMan / OS-X-MaciASL-patchmatic / Downloads — Bitbucket. Open it up, press Command + F, and search for these terms: "Device (H_EC)" and "Device (EC0)". You will hopefully find the H_EC or the EC0 code block (not both). Don't bother with the meaning of the code you see, you don't have to understand it. There will be a code block in a few lines down, starting with "Method (_STA, ....". If you see a "Return (Zero)" in this {} block, then it means it's ignored as per post #1.
    So what we done in this step: You have to check if you have EC0 or H_EC device or neither in MaciASL. If you find EC0 or H_EC you need to check if it's ignored: "Return (Zero)" or not. Remember your findings...
  • 3.) Now you know what you have under the hood...
    • If you didn't have EC0 or H_EC device or it's returning Zero in method _STA, then you need to copy the file SSDT-EC.aml (attached to this post) to your main macOS drive's EFI partition, under EFI/CLOVER/ACPI/patched.
    • If you have found the EC0 or H_EC device in IORegistryExplorer and it's not returning Zero in method _STA, then you need to add a Clover config patch in EFI/CLOVER/config.plist to rename "EC0 to EC" or "H_EC to EC". Choose which one you have. The patch can be seen in post #1, under the title: "Insuring AppleBusPowerControllerUSB loads". In the picture, the config.plist file was opened in an application called Xcode, available free from the Mac App Store.
  • 4.) Restart you PC. Once macOS is loaded, open IORegistryExplorer again and check weather you see EC in the list. If "EC" shows up, everything is fine, continue with step 5.) If the name "EC" is still not there in IORegistryExplorer, start it over from 1.), more carefully.
  • 5.) Check your system definition in a built in macOS app called "System Information". Under the "Hardware Overview" section, you can find your system definition at "Model identifier", for example: iMac 18,3
    • If you have newer system definition than Macbook8,1 or MacBookAir7,2 or MacBookPro12,1 or MacPro6,1 or MacMini7,1 or iMac15,2 THEN copy the file SSDT-USBX.aml (attached to this post) to your main macOS drive's EFI partition, under EFI/CLOVER/ACPI/patched.
    • If you use one of the system def listed above or older, then you have nothing to do, continue with step 6.)
  • 6.) Restart your PC. Once macOS is loaded, plug in an iPhone or iPad to your Hackintosh with a USB cable. Open System Information app and choose the "USB" section from the left sidebar. Click on the iPhone or iPad in the list. If you can see all 4 lines you're won! ;)
    • Current Available (mA):
    • Current Required (mA):
    • Extra Operating Current (mA):
    • Sleep current (mA):
If all 4 lines are there, it's the obvious indicator of working USB power under macOS.​
Hope this post will help others to understand the process described in post #1.
 

Attachments

  • Screenshot 2020-02-28 at 14.08.44.png
    Screenshot 2020-02-28 at 14.08.44.png
    315.1 KB · Views: 45
  • Screenshot 2020-02-28 at 14.16.42.png
    Screenshot 2020-02-28 at 14.16.42.png
    199.8 KB · Views: 41
Joined
Dec 2, 2019
Messages
10
Motherboard
ASUS ROG MAXIMUS Z370 HERO X
CPU
i7-8700K
Graphics
RX 580
What kind of Wi-Fi card are you using?

Wi-Fi works now...it just started working after leaving the computer idle for a couple of days.

I have a new problem though. About 20 seconds after booting into the OS...it gets extremely laggy. The computer is buttery smooth for the first 20 seconds...then it lags and there's a several second delay whenever I try to drag something, click something, type something etc. This happened shortly after importing some photos from my iPhone and playing around with some iCloud settings. It's been working fine since I got everything to work earlier this week...
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
18,958
Motherboard
Mac Studio - Mac13,1
CPU
M1 Max
Graphics
M1
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Wi-Fi works now...it just started working after leaving the computer idle for a couple of days.

I have a new problem though. About 20 seconds after booting into the OS...it gets extremely laggy. The computer is buttery smooth for the first 20 seconds...then it lags and there's a several second delay whenever I try to drag something, click something, type something etc. This happened shortly after importing some photos from my iPhone and playing around with some iCloud settings. It's been working fine since I got everything to work earlier this week...

I have no idea what can cause that... Are you sure it's the system that's laggy and not just the mouse? Have you looked in Activity Monitor to see if there are any processes under high load?
 
Joined
Dec 2, 2019
Messages
10
Motherboard
ASUS ROG MAXIMUS Z370 HERO X
CPU
i7-8700K
Graphics
RX 580
I’ve got the most recent graphic card drivers installed...as far as I’m aware. Would there be any updates that could fix this?
 
Last edited:

pastrychef

Moderator
Joined
May 29, 2013
Messages
18,958
Motherboard
Mac Studio - Mac13,1
CPU
M1 Max
Graphics
M1
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
I’ve got the most recent graphic card drivers installed...as far as I’m aware. Would there be any updates that could fix this?

I have no idea if graphics is your problem... You need to find the cause of the problem before you can look for a fix...
 
Joined
Jul 7, 2010
Messages
129
Motherboard
ASUS ROG MAXIMUS HERO X Z370
CPU
i9-9900KS
Graphics
RX 580
Mac
  1. MacBook Air
Classic Mac
  1. PowerBook
Mobile Phone
  1. iOS
Hi there,
I followed this guide before, I did not only rename ECO to EC, I also copied the SSDT-USBX.aml attached to the post below, to EFI/CLOVER/ACPI/patched. After reboot, IOregistry Explorer and System Information / USB showed attached outputs.
What are your thoughts on this ? Do you reckon this method is sufficient or cause sooner or later the problems you mentioned before ?
Kind regards,

Chimiel
That post is 2 years old now. I also tried that method with the simple rename before correctly making the SSDT-EC-USBX for the Hero X, but doing the rename then loads the AppleACPIEC driver which is what the devs at Acidanthera specifically say is what can cause problems. Seeing as they are the people behind everything that fundamentally makes a modern Hackintosh work like Lilu, whatevergreen, AppleALC, VirtualSMC, FWRuntimeServices, I personally feel happier trying to do things what they consider the 'right way'. Eventually I will switch from Clover to their OpenCore bootloader, probably once it is considered out of beta.

To make your life easy, I have attached my SSDT-EC-USBX with the board specific code generated by SSDTTime, which you can just drop into your Clover/ACPI/patched folder instead of your SSDT-EC and SSDT-USBX or remove whatever you have creating a virtual EC device for power delivery. You should only have 1 EC device in IORegistry that loads the AppleBusPowerController.
 

Attachments

  • Screenshot 2020-02-29 at 13.33.38.png
    Screenshot 2020-02-29 at 13.33.38.png
    251.5 KB · Views: 39
  • SSDT-EC-USBX.aml
    349 bytes · Views: 54
Joined
Sep 20, 2012
Messages
83
Motherboard
ASUS ROG MAXIMUS HERO X Z370
CPU
i9-9900K
Graphics
RX 6800 XT
Mac
  1. iMac
Mobile Phone
  1. iOS
That post is 2 years old now. I also tried that method with the simple rename before correctly making the SSDT-EC-USBX for the Hero X, but doing the rename then loads the AppleACPIEC driver which is what the devs at Acidanthera specifically say is what can cause problems. Seeing as they are the people behind everything that fundamentally makes a modern Hackintosh work like Lilu, whatevergreen, AppleALC, VirtualSMC, FWRuntimeServices, I personally feel happier trying to do things what they consider the 'right way'. Eventually I will switch from Clover to their OpenCore bootloader, probably once it is considered out of beta.

To make your life easy, I have attached my SSDT-EC-USBX with the board specific code generated by SSDTTime, which you can just drop into your Clover/ACPI/patched folder instead of your SSDT-EC and SSDT-USBX or remove whatever you have creating a virtual EC device for power delivery. You should only have 1 EC device in IORegistry that loads the AppleBusPowerController.
Thank you very much, for clarifying and the patch !
Kind regards,
Chimiel
 
Joined
Dec 2, 2019
Messages
10
Motherboard
ASUS ROG MAXIMUS Z370 HERO X
CPU
i7-8700K
Graphics
RX 580
I have no idea if graphics is your problem... You need to find the cause of the problem before you can look for a fix...

I took my graphics card out...no more lag. Of course, now several of the mac animations aren't smooth anymore. But at least there's no lag...
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
18,958
Motherboard
Mac Studio - Mac13,1
CPU
M1 Max
Graphics
M1
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
I took my graphics card out...no more lag. Of course, now several of the mac animations aren't smooth anymore. But at least there's no lag...

If you are running with IGPU only, you should probably change system definition to a Mac that has IGPU only as well. iMac18,1 is a good choice.
 
Joined
Sep 20, 2012
Messages
83
Motherboard
ASUS ROG MAXIMUS HERO X Z370
CPU
i9-9900K
Graphics
RX 6800 XT
Mac
  1. iMac
Mobile Phone
  1. iOS
Hi,

Are other people also experiencing a laggy shutdown / a return to Catalina wallpaper during shutdown, in our build ?
Seems a strugle compared to Mojave, i'm wondering what's all happening there inside.

Kind regards,

Chimiel
 
Top