syscl / Fix-usb-sleep

Fix issue of "Diks not ejected properly upon sleep" on macOS
71 stars 20 forks source link

Does Not Work on Mac Pro 4,1 -> 5,1 with Mojave 10.14.4 with 140.0.0.0 Bootrom #20

Open zoltm opened 5 years ago

zoltm commented 5 years ago

[ OK ] Create /Users/eyiu/tools/tools. [ OK ] Download sleepwatcher. [ OK ] Generate configuration file of sleepwatcher launch daemon. ./fixusb.sh: line 223: [: too many arguments ./fixusb.sh: line 382: [: too many arguments [ ---> ] Installing external devices sleep patch... [ OK ] Install sleepwatcher daemon. [ OK ] Install configuration of sleepwatcher daemon. [ OK ] Install sleep script. [FAILED] Install wake script. cp: /tmp/sysclusbfix.wake: No such file or directory [ OK ] Fix the permissions of /etc/sysclusbfix.sleep. [FAILED] Fix the permissions of /etc/sysclusbfix.wake. chmod: /etc/sysclusbfix.wake: No such file or directory [ OK ] Trigger startup service of syscl.usb.fix. [ OK ] Clean up. [ Note ] DONE! Sleep to see change. [ Note ] Feel free to post issue on https://github.com/syscl/Fix-usb-sleep.

zoltm commented 5 years ago

Hi,

I would like to submit a case that I installed the script as per the documentation instructed but I cannot really seen it being success successfully. I did also tried to sleep after the script installation. The external USB HD that is attached seems still not properly handled. When I wake up the machine after sleep, it still show the two volume in my external HD are NOT eject properly.