Pular para o conteúdo principal
Ajuda

Postagem original de: jranman ,

Texto:

You are going to get through this...

See: [https://www.macissues.com/2015/05/08/how-to-fix-your-mac-not-waking-from-sleep/]

(Chris Kessler who wrote this has been right on for me forever about the strangest issues)

''Unfortunately it appears that some systems may have troubles with hibernation mode, so if you are finding your Mac unable to wake from sleep, then are three potential fixes you can try:

Turn off system hibernation

Since hibernation mode’s only real benefit is to allow you to resume from sleep in the face of a power loss, a simple solution may be to turn hibernation mode off by running the following two commands in the OS X Terminal (enter your password when prompted–it will not show):

sudo pmset standby 0

sudo pmset autopoweroff 0

These commands will turn off the hardware settings that will put your Mac into hibernation mode. The first is Apple’s main standby mode option, and the second is an implementation required for European energy regulations. To reverse these commands, you can again either reset your Mac’s system management controller, or re-run the commands but use “1” as the value instead of “0.”

Disable and re-enable FileVault

The writing and restoring of memory contents from disk may conflict with FileVault or other full disk encryption routines. Technically when waking from hibernate mode the system should allow you to authenticate and then load the contents of the hibernation file, but if a bug prevents this from happening, then your Mac may not be able to load the hibernation file, and could hang.

To hopefully overcome this, first try disabling your full-disk encryption routines. After your disk is fully decrypted (this may take a while) test hibernate mode to see if it works properly, and then re-enable disk encryption and test again.

Remove your the system’s hibernation file

A final approach you can try is to remove the system’s hibernation file, which is the hidden file that is written to whenever your Mac goes into hibernation mode. While the system will recreate this file if it is missing, if present then it will just write to the existing file. As a result, any damage to this file may prevent the system from reading it when waking from sleep. To fix this, you can force OS X to recreate it by deleting it, which can be done by running the following command in the Terminal:

sudo rm /var/vm/sleepimage

Again supply your password when prompted, and then see if hibernate mode works properly.''

Sleep well again, 'handout'

JRP

Status:

open