Contribute
Register

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

We also need to hide your motherboard's onboard Bluetooth. Please download and run IORegistryExplorer and scroll the device tree on left side of the app until you see all of the HSxx devices from HS01 to HS14. Post a screenshot of that page with all HSxx devices expanded so we can see their child nodes.
Is this right screen or should I make a screenshot of individual pages?

1588449527618.png
 
Looks like a copy-and-paste issue. If you copied the text directly from Step 5 as shown, the "extra parameter" might be due to the boldfaced text.

Thanks, at least if it pops up again I'll know what it is.. I was trying for 2hrs last night to get it to read but it wouldn't.
Tried earlier and got the above.. will keep going.
 
I think everyone is because were asking the system to operate in a way it wasn't designed to do (run macOS). When I used patched firmware my Lacie 2Big Dock (TB3) would not power off or sleep correctly. Now I'm using a SSDT-only approach to getting a full tree it powers down fine but insta-wakes on sleep. I've spent hours modifying ACPI tables but no joy so far. The wake log always shows 'wake reason : ?' which is not too helpful...
This problem (i.e. Thunderbolt devices not auto-connecting/waking after sleep) does not happen with the modified firmware flashed to the Designare motherboard -- at least not with the devices I've tested myself.

On wake, the _WAK() method is called, which in turn calls RWAK(), which in turn issues a Notify to the root port of all PCI devices. According to Osy86, macOS expects a Notify to the NHI0 device of each Thunderbolt controller instead of the root port.

On my Test Bench I experimented with this earlier today for the GC-Titan Ridge add-in-card that suffers from wake issues. However, no luck so far.

Changes made (per Osy86 article):
  • ACPI --> Rename RWAK to XWAK
  • Implement a modified RWAK that calls XWAK and then issues a Notify to each NHI0 device. The code segment is shown below.
    • RP05 --> on-board Titan Ridge controller
    • PEG1 --> GC-Titan Ridge in middle long slot
Purpose of this post is to suggest that a proper solution for Thunderbolt wake might need to include this, but this by itself does not seem to be sufficient.

Screen Shot 2020-05-02 at 9.33.08 AM.png
 
Last edited:
This could be useful!

I'm already seeing interesting differences compared to ThunderboltConfig from MacBookPro 15,1/15,2 and iMac19,1.

The last 4 bytes of each config show USB-C port IDs: 0x06, 0x05, 0x08, 0x07, 0x0C, 0x0D, 0x0E, 0x0F. Seems MacPro 7,1 has eight Thunderbolt ports.

There should be 4 Thunderbolt controllers on various paths such as RP05, RP09, RP21, etc. Under each one there should be a UPSB --> DSB0 --> NHI0. If you click on each NHI0, you should see a lot of device properties on the right side of IORegistryExplorer.

Would you be able to post screenshots of each of these 4 NHI0 property screens?
@CaseySJ @Elias64Fr

Don't know if this can help somehow but I extracted today some ThunderboltConfig Values from an MacPro7,1

0x02, 0x03, 0x02, 0x00, 0x0a, 0x00, 0x05, 0x01,
0x01, 0x00, 0x01, 0x00, 0x05, 0x01, 0x02, 0x00,
0x06, 0x00, 0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x03, 0x01, 0x02, 0x00, 0x06, 0x00, 0x05, 0x00

0x03, 0x03, 0x03, 0x00, 0x09, 0x00, 0x05, 0x01,
0x01, 0x00, 0x00, 0x00, 0x05, 0x01, 0x02, 0x00,
0x04, 0x00, 0x05, 0x01, 0x01, 0x00, 0x00, 0x00,
0x03, 0x01, 0x02, 0x00, 0x08, 0x00, 0x07, 0x00

0x06, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0d, 0x00

0x07, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x0f, 0x00

try in this sequence: ()

0x02, 0x03, 0x02, 0x00, 0x0a, 0x00,
0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x05, 0x01, 0x02, 0x00, 0x06, 0x00,
0x05, 0x01, 0x01, 0x00, 0x01, 0x00,
0x03, 0x01, 0x02, 0x00, 0x06, 0x00,
0x05, 0x00

0x02 Bus. 0x01 0x00 HS1? 0x02 0x00 HS2? (it appear in all models)
 
Thanks, at least if it pops up again I'll know what it is.. I was trying for 2hrs last night to get it to read but it wouldn't.
Tried earlier and got the above.. will keep going.
Please have a look at @iRamon's post as well:
 
Is this right screen or should I make a screenshot of individual pages?

View attachment 466639
That is the right screenshot.
  • Does your board come with WiFi/Bluetooth?
  • Do you have the Z390 AORUS Pro WiFi?
I'm surprised that none of the USB 2 ports is in use. However, remember I said scroll the device tree on left side? That's because the Search field is dangerous -- it hides details. But if you click the "X" on the far right side of the search bar, then details will be visible again. So please try that and re-post the screenshot.
 
That is the right screenshot.
  • Does your board come with WiFi/Bluetooth?
  • Do you have the Z390 AORUS Pro WiFi?
I'm surprised that none of the USB 2 ports is in use. However, remember I said scroll the device tree on left side? That's because the Search field is dangerous -- it hides details. But if you click the "X" on the far right side of the search bar, then details will be visible again. So please try that and re-post the screenshot.
It is Gigabyte Z390 Aorus Ultra and I didn't remove onboard wifi card. I will send you screenshot soon.
 
Yes, you are right, it gives more details if I find them without searching:
1588450817653.png
 
Yes, you are right, it gives more details if I find them without searching:
View attachment 466647
That's much better.
  • Please expand HS14 -- your on-board Bluetooth is very likely there.
  • Looks like you're not using a USB SSDT or USBPorts.kext. That's okay for now, but the port limit patch may need to be modified with subsequent versions of macOS.
  • Anyway, do you have USBInjectAll.kext in CLOVER/kexts/Other?
    • If you do, then add this to Boot Arguments in Clover Configurator: uia_exclude=HS14
    • And reboot
 
Back
Top