Wake after sleep when connecting iPhone to Titan Ridge THB 3 card

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Hi guys
I'm a newbie on this forum and I have a problem with my TitanRidge Thunderbolt 3 cards. I'am running OpenCore 0.6.7 with two Gigabyte Titan Ridge thunderbolt 3 card installed. Everything is working and running smoothly with working sleep. As soon as I plug in my iPhone on any of my four Titan Ridge ports sleep stops working and I got immediate wake. I have both cards connected to an internal NZXT USB-2-hub because otherwise my phone isn't showing up in About this Mac ----> System Report ----> USB and neither in my Music app. My two cards is flashed with custom firmware (DESIGNARE-Z390-NVM33-Elias64Fr.bin) and with a jumper for pin 3 and 5 for power and Hot Swap capability.
Any ideas?

 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hi guys
I'm a newbie on this forum and I have a problem with my TitanRidge Thunderbolt 3 cards. I'am running OpenCore 0.6.7 with two Gigabyte Titan Ridge thunderbolt 3 card installed. Everything is working and running smoothly with working sleep. As soon as I plug in my iPhone on any of my four Titan Ridge ports sleep stops working and I got immediate wake. I have both cards connected to an internal NZXT USB-2-hub because otherwise my phone isn't showing up in About this Mac ----> System Report ----> USB and neither in my Music app. My two cards is flashed with custom firmware (DESIGNARE-Z390-NVM33-Elias64Fr.bin) and with a jumper for pin 3 and 5 for power and Hot Swap capability.
Any ideas?

No PR files attached.
 

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Ok.
Here we go!
 

Attachments

  • PR_files.zip
    19.1 MB · Views: 34

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Ok.
Here we go!
Your configuration is not as per the guide.
For now, do the following changes.
- Disable SSDT-GFX0
- Switch to VirtualSMC.kext
- Disable AsMedia.kext
- Disable ThunderboltReset.kext
- Disable Sensors kexts.
- Enable FuzzyMatch
- Enable AppleCPUPmCfgLock
- Enable AppleXcpmCfgLock
- DisableIoMapper
- Disable TbtForcePower.efi

Reply with new PR files.
 

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Ok.
Sleep is working flawlessly as before without my iPhone connected. As soon as I connect it to any of the four THB 3 ports on my Titan Ridge cards sleep stop working with instant reboot. If I connect the phone to my AsMedia USB-C 3.1 port in front or rear port sleep is working.
Just for your information. I need the AsMedia.kext because occasionally the ports on the AsMedia controller is not recognized after reboot. FakeSMC and sensors is working well in my setup and I need all of them for iStat Menus.app.
 

Attachments

  • PR_files.zip
    7.2 MB · Views: 29

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
FakeSMC and sensors is working well in my setup and I need all of them for iStat Menus.app.
It works with VirtualSMC too.
Disable Rename XHCI to XHC (USB) and then check.
Disable USBMap and use USBInjectAll

Do the above changes and reset NVRAM twice. Test Sleep/Wake and reply with new PR files.
 

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
It works with VirtualSMC too.
Firstly I will thank you for your efforts, I really appreciate that.
Secondly I didn't know that the ACPI sensors was working with VirtualSMC. That is good to know.
I did what you advice me to do. I enabled USBInjectAll but not the XhciPortLimit quirk in OC.
With this setup the rig was sleeping only whitout the iPhone plugged in to any of the THB 3 ports.
Attached new PR_Files.
 

Attachments

  • PR_Files.zip
    6.9 MB · Views: 21
Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Firstly I will thank you for your efforts, I really appreciate that.
Secondly I didn't know that the ACPI sensors was working with VirtualSMC. That is good to know.
I did what you advice me to do. I enabled USBInjectAll but not the XhciPortLimit quirk in OC.
With this setup the rig was sleeping only whitout the iPhone plugged in to any of the THB 3 ports.
Attached new PR_Files.
Do you keep the iPhone connected and then put the system to sleep?
 

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Do you keep the iPhone connected and then put the system to sleep?
Yes. It's only the phone how is triggering this. If I connect an external disk to the same port sleep is working as it should.
 

obus

New member
Joined
Apr 2, 2021
Motherboard
WS C422 PRO/SE
CPU
Xeon W-2175 14 Cores
Graphics
Vega 64
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Problems solved.
I compiled two new SSDT (Casey, TBTGA390) for my two Titan Ridge cards with updated Drom:s and Bus Id:s. Now sleep is working flawlessly regardless on which port I plug in my phone. Kudos to @scottkendall and @caseySJ for using SSDT-TR.aml/TBTGA390, perfect for my firmware GC-TITAN-RIDGE-NVM23-Elias64Fr.bin

Thank's anyway for your support

PS. Enabled internet sharing on iPhone could be a culprit. If anybody has the same problem as me first test to disable internet sharing. This could solve immediate wake after sleep on your hack.
 
Last edited:
Similar threads
Thread starter Title Forum Replies Date
M Mac Sleep and no wake up USB and Power 3

Similar threads

Forum statistics

Threads
468
Messages
4,330
Members
4,069
Latest member
felipe.sntr