Contribute
Register

[In progress] SSDT for Thunderbolt 3 Hotplug

Joined
May 31, 2016
Messages
108
Motherboard
Gigabyte Z170X UD5 TH
CPU
I7-6700K
Graphics
RX 580
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
Android
Hi folks, any progress for the z170x ud5 th?
I need to connect an external usb-c tb3 drive enclosure.
I tried every ssdt and now I can see the drive if I keep it connected since boot, but no hotplug and it disconnects after sleep/wake up.
Someone in another thread suggested to wipe out any kext related to tb in s/l/e, but I’m a bit scared of it.
Thanks!
Alex
 
Joined
Aug 25, 2012
Messages
616
Motherboard
Gigabyte Z170X-UD5-TH
CPU
Intel i7 6700K
Graphics
MSI AMD RX480/8GB
Mac
MacBook Pro
Classic Mac
Performa, Power Mac, PowerBook
Not that I know off. I have the same mobo, hotplug and sleep won't work properly when using TB/USB-C. Stuff has to be connected before boot, and then it will work(if it works at all).

I've tried lots of solutions(more stopgaps), none of them worked right.
 
Joined
May 31, 2016
Messages
536
Motherboard
Z170X-UD5 TH
CPU
6700K
Graphics
GTX1080 (Asus ROG Strix)
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
Not that I know off. I have the same mobo, hotplug and sleep won't work properly when using TB/USB-C. Stuff has to be connected before boot, and then it will work(if it works at all).

I've tried lots of solutions(more stopgaps), none of them worked right.
Same. I’ve stopped focusing my attention on TB with this board and moved away from TB in favor of USB3. Might try again with my next build but might also stay away from TB altogether :)
 
Joined
May 31, 2016
Messages
108
Motherboard
Gigabyte Z170X UD5 TH
CPU
I7-6700K
Graphics
RX 580
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
Android
Not that I know off. I have the same mobo, hotplug and sleep won't work properly when using TB/USB-C. Stuff has to be connected before boot, and then it will work(if it works at all).

I've tried lots of solutions(more stopgaps), none of them worked right.
Ok, after a lot of trials with ssdt, maybe now everything works! (I say maybe because nothing lasts forever in the hackintosh world).

At last I tried to wipe out all TB kext related in S/L/E following the instructions in this thread:
https://www.tonymacx86.com/threads/thunderbolt-3-success-ga-z170x-ud5-th-startech-thunderbolt-3-to-thunderbolt-adapter.200902/

In EFI/clover/ACPI/patched I put the attached SSDT.
Now my external drive with apple TB2 to TB3-USBC works with Hot plug+sleep/wake!
Hope this helps. I think this is good only for the Z170X UD5 TH.

Bye!
A.
 

Attachments

Joined
May 31, 2016
Messages
536
Motherboard
Z170X-UD5 TH
CPU
6700K
Graphics
GTX1080 (Asus ROG Strix)
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
Ok, after a lot of trials with ssdt, maybe now everything works! (I say maybe because nothing lasts forever in the hackintosh world).

At last I tried to wipe out all TB kext related in S/L/E following the instructions in this thread:
https://www.tonymacx86.com/threads/thunderbolt-3-success-ga-z170x-ud5-th-startech-thunderbolt-3-to-thunderbolt-adapter.200902/

In EFI/clover/ACPI/patched I put the attached SSDT.
Now my external drive with apple TB2 to TB3-USBC works with Hot plug+sleep/wake!
Hope this helps. I think this is good only for the Z170X UD5 TH.

Bye!
A.
Does hot plug work even when no devices are plugged in at boot?
 
Joined
May 31, 2016
Messages
536
Motherboard
Z170X-UD5 TH
CPU
6700K
Graphics
GTX1080 (Asus ROG Strix)
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
Ok, after a lot of trials with ssdt, maybe now everything works! (I say maybe because nothing lasts forever in the hackintosh world).

At last I tried to wipe out all TB kext related in S/L/E following the instructions in this thread:
https://www.tonymacx86.com/threads/thunderbolt-3-success-ga-z170x-ud5-th-startech-thunderbolt-3-to-thunderbolt-adapter.200902/

In EFI/clover/ACPI/patched I put the attached SSDT.
Now my external drive with apple TB2 to TB3-USBC works with Hot plug+sleep/wake!
Hope this helps. I think this is good only for the Z170X UD5 TH.

Bye!
A.
I tried the attached SSDTs and thunderbolt settings but I wasn't able to match those settings as I'm on 22g BIOS.
Hot Plug did not work for me (test device was Startech TB3-TB2 adaptor into a Blackmagic Mini Monitor).
 
Joined
May 31, 2016
Messages
108
Motherboard
Gigabyte Z170X UD5 TH
CPU
I7-6700K
Graphics
RX 580
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
Android
I tried the attached SSDTs and thunderbolt settings but I wasn't able to match those settings as I'm on 22g BIOS.
Hot Plug did not work for me (test device was Startech TB3-TB2 adaptor into a Blackmagic Mini Monitor).
Hi Canyondust, it works only if the device is plugged since boot and powered. The other weird thing is that if you unplug the cable (not unmout the drive) from Usb-C-TB3 if you have something attached to the other USB-C -tb3 (in my case an usb-c drive) it unplugs too. So the solution is not perfect but enough for my needs. Speed is also good too.

I have bios F22g too and the thunderbolt setting are: no security (there's no "legacy mode" in my menu).
Did you wipe out the TB kext in S/L/E? Because it seems to be necessary to make things work.
Let me know.
Alex
 
Joined
May 31, 2016
Messages
536
Motherboard
Z170X-UD5 TH
CPU
6700K
Graphics
GTX1080 (Asus ROG Strix)
Mac
iMac, MacBook, MacBook Pro, Mac mini
Classic Mac
PowerBook, Quadra
Mobile Phone
iOS
Hi Canyondust, it works only if the device is plugged since boot and powered. The other weird thing is that if you unplug the cable (not unmout the drive) from Usb-C-TB3 if you have something attached to the other USB-C -tb3 (in my case an usb-c drive) it unplugs too. So the solution is not perfect but enough for my needs. Speed is also good too.

I have bios F22g too and the thunderbolt setting are: no security (there's no "legacy mode" in my menu).
Did you wipe out the TB kext in S/L/E? Because it seems to be necessary to make things work.
Let me know.
Alex
Yeah, I wiped the kexts. Device shows up when plugged in at boot but disappears when unplugged and doesn’t return when plugged back in. (Mostly regular behavior)
Was worth a shot :)
 
Joined
Jun 8, 2018
Messages
17
Motherboard
Gigabyte Z370 Aorus Gaming Ultra 2.0 - F11
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro, Mac mini
No problem I was so excited I forgot to elaborate lol. The SSDT files I am referring to are for Gigabyte 300 Series boards which are mentioned in post #1, I have a Gigabyte Aorus Gaming 5 board, I changed my TB enumeration settings in the bios under Peripherals-Thunderbolt Configuration-Thunderbolt Enumeration Mode-I changed from Legacy to Native. I am using an Alpine Ridge PCIE card and for now I am hot-plugging a Thunderbolt 2 drive I have connected via an Apple TB3 to TB2 adapter.
I tried the enumeration settings without reading the earlier posts first (am on an Apline Ridge v2)... now I cannot change any TB settings in the BIOS anymore. Could not make any further tests if the card works or not.

Has anyone ever recovered the TB card / the BIOS settings after having changed this setting? I am still on an older BIOS (F4), maybe flashing a newer one could help (latest is F13)? I read in some posts that one should remove the TB card while flashing the BIOS, as it could crash it.

Or better order a Titan Ridge straigt away? Is Titan Ridge easier for working hotplug / wake after sleep?

@svbailey: Which BIOS version are you using?
 
Last edited:
Joined
Jun 8, 2018
Messages
17
Motherboard
Gigabyte Z370 Aorus Gaming Ultra 2.0 - F11
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro, Mac mini
Update: I flashed the F11 BIOS and evrything works again. Thunderbolt settings reappeared in the BIOS (without the enumeration mode sub-menu). The card is recognized via the pre-edited SSDT in Post 1 even if no devices are attached when the computer is powered on. This looks like this:

402226


After powering on, the screen is a few seconds longer black before the Aorus logo is displayed; looks like the F11 BIOS activates the card during this time.

Hotplug works on both ports (tested with Apple TB3-TB2 adapter with Apple Ethernet and Firewire adapters). USB-3.1 seems to work, too.

What is not working: Connecting a MacBook Pro and using the Thunderbolt Bridge for Networking (or booting the MacBookPro into Target Mode and connectting TB cable). I will post screenshots later.
 
Top