Contribute
Register

Solved > USB WiFi dongle prevents computer from reboot/sleep (TrendNet TEW-6**UB)

Joined
Mar 31, 2012
Messages
74
Motherboard
ASUS Z370-P
CPU
i5 9600K
Graphics
Intel UHD Graphics 630
Mac
MacBook Pro
Mobile Phone
iOS
Veterans, I need your help!

I successfully built my second Hackintosh (in 8 years) based on i5 9600K/630 UHD/Z370-p, patched DSDT and SSDT following Rehabman's guides, everything works perfect except for sleep and reboot in Mojave (reboots in Sierra worked fine with the same configuration). The blockage turned to hide in my TEW-648UB USB WiFi dongle from TrendNet. As soon as I click "Turn radio OFF" in TrendNet utility (WLAN USB Utility) I can reboot and computer sleeps/wakes OK. If I left it on, as usual, reboot results in eternal spinning wheel (unmounting all disks and hanging after "Done" in the console) and sleep turns off disks but leaves coolers spinning without possibility to revive it from this "shallow sleep".

I have already tried Clover's arguments -gux_defer_usb2, -gux_no_idle and -gux_nosleep, it didn't help. I'd be grateful to those experienced who can shed a light on where to move further.
 

Attachments

Last edited:
Joined
Mar 31, 2012
Messages
74
Motherboard
ASUS Z370-P
CPU
i5 9600K
Graphics
Intel UHD Graphics 630
Mac
MacBook Pro
Mobile Phone
iOS
This is an old WiFi dongle, but maybe someone is still happy with it, so I'll just leave it here.

It turned out that the last version of drivers were written for Mountain Lion. When WiFi is OFF, it lets you unload the kext, sleep and reboot. When ON - all three operations hang. So I ended with sleepwatcher, simple program which can execute scripts before sleep and after wake. Installed sleepwatcher, put the .sleep and .wakeup files into my home dir and now I have working sleep!

Code:
$ cat .sleep
sudo killall -c Wlan\ USB\ Utility
echo 1 > /Applications/Wlan\ USB\ Utility.app/rfoff.rtl
open /Applications/Wlan\ USB\ Utility.app
Code:
$ cat .wakeup
sudo killall -c Wlan\ USB\ Utility
echo 0 > /Applications/Wlan\ USB\ Utility.app/rfoff.rtl
open /Applications/Wlan\ USB\ Utility.app
 
Top