Fix-usb-sleep icon indicating copy to clipboard operation
Fix-usb-sleep copied to clipboard

Explanation for "Not Working" on apple silicon cpu m1 or m2

Open AlohaWorld opened this issue 1 year ago • 0 comments

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.

  1. 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.

  2. 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

  3. 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.

  4. Anyway, though this script is outdated, the author provided a good way to solve the problems. Many thanks to the author "syscl".

  5. Furthermore, I will try another way (https://www.zhihu.com/question/499186757).

AlohaWorld avatar May 27 '23 09:05 AlohaWorld