Fix-usb-sleep
Fix-usb-sleep copied to clipboard
Explanation for "Not Working" on apple silicon cpu m1 or m2
I am trying to install these scripts for my Macbook Pro 16 M2 max. It showed the installation was sucessful. However, it did not work.
I digged the scripts and found something wrong because of the evolution of macos.
-
There is no "Applications/Wireless Network Utility.app", so the original script will fail when it tries to fix "RTLWlanUSB sleep problem". Generally speaking, I think it's useless for Mac with the apple silicon cpu.
-
The scripts tries to use a software "sleepwatcher" to monitor the sleep status changes. However, the author just provided "an old version sleepwatcher" that did not run on apple silicon cpus. I tried to get a new sleepwatcher with "brew install sleepwatcher". Unfortunately, the sleepwatcher also has some problems, please see: https://apple.stackexchange.com/questions/457292/sleepwatcher-on-ventura
-
Finally, I tried to uninstall the scripts. Anyone who wants to do so, please be cautious. There is a function "_uinstall()" in the script. Do NOT run this function directly, or it will remove the directory /usr/local/sbin.
-
Anyway, though this script is outdated, the author provided a good way to solve the problems. Many thanks to the author "syscl".
-
Furthermore, I will try another way (https://www.zhihu.com/question/499186757).