NorthAmTransAm
Moderator
- Joined
- Jul 26, 2018
- Messages
- 2,042
- Motherboard
- MSI Pro Z690-A DDR4
- CPU
- i7-12700k
- Graphics
- RX 580
- Mac
- Mobile Phone
***Quick Test for fixing Maple Ridge Sleep/Wake***
Maple Ridge is pretty new to us. Though it has a slightly different device tree, we are still able to use it. My setup works great: Video Passthrough, Hot Plug, all devices that I cant test work. Sleep however doesn't. I noticed that if I manually loaded AppleThunderboltNHI.kext using terminal then sleep would in fact work.
@CaseySJ, I can't remember something. Did our Alpine/Titan Ridge ICM setups actually load the NHI driver? I feel like it did but I can't test at the moment. If so, that would explain why this is necessary for Maple Ridge.
Goals
- Fix Sleep Issue in the interim (AIC only problem? Headerless only problem?)
- Fix Boot Cycle Issue in the interim
Anyhow, I'm looking for users who have a working Thunderbolt Maple Ridge (TB4) setup who would be down to do a test for me.
Pre-Requisites
- TB4 Onboard or AIC
- Standard Device Tree in IOReg
- Working Hot Plug
- Running macOS Big Sur
Test
Open Terminal and paste the command below. Press Enter. It will prompt you for your password. If you're new to this, know that you won't see your password as you type but it is in fact being inputted. Just press Enter when done.
Code:
sudo kmutil load -p /System/Library/Extensions/AppleThunderboltNHI.kext
This will manually load the AppleThunderboltNHI.kext. Now do a sleep and wake and see if your Thunderbolt devices recover. For me, my UAD Devices Re-Connect.
If this worked for you then we can do the procedure below. In short it will load AppleThunderboltNHI.kext at boot.
Semi-Permanent Procedure (adding a Launch Daemon)
- Download the attached file com.TBSleep.workaround.plist and add it to /Library/LaunchDaemons.
- In Terminal run the follow commands:
Code:
sudo chown root:wheel /Library/LaunchDaemons/com.TBSleep.workaround.plist
Code:sudo launchctl load -w /Library/LaunchDaemons/com.TBSleep.workaround.plist
- Reboot and check if AppleThunderboltNHI.kext is loaded by going to System Report and viewing the Extensions Pane.
- Test sleep. I did this by leaving my UAD Apollo on during sleep/wake. Upon wake it should say "Re-Connecting"
- ASUS Prime z370-A II
- ThunderboltEX4 card (no header, USB 2.0 connected, 6 Pin Power connected)
- Dell Ultrawide connected to RX580 DP>EX4>USBC (also includes USB peripherals connected to monitor)
Attachments
Last edited: