Waking up Mac Pro after sleep

JF Mezei wrote on :

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

How is one supposed to be able to wake it ?

keyboard and mouse activity do nothing.

A single fast press of the power button does nothing. Should that work ?

And a long press turns the unit off (blue light goes off and I hear a click in the back), and afterwards, pressing button results in a full cold reboot.

During such a cold reboot, is there some keypresses that can be done to cause it to reboot from "sleep" state ?

When I put the computer to sleep does it actually write RAM to disk and turn off ram, or does it maintain RAM contents alive ?

Does the motherboard have separatly switcheable power supplies for CPU, RAM and SMC controller as well as for disks and the PCI express ?

When asleep, the bluetooth-USB dongle still has its little blue light, but it seems at half intensity. Mouse activity does cause the blue light to flash. (but I suspect that no data is received by the Mac).

Plugging the iphone in the USB does nothing on the iPhone. So I ssume there is very little power on the USB when the unit is asleep.

(On my laptop, if I close the screen while on mains and with iphone alredy plugged in, the iphone continues to charge.)

Alan Browne replied on :

On 2012-02-13 01:34 , JF Mezei wrote:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

How is one supposed to be able to wake it ?

Talking from an iMac, not a Mac Pro.

Keyboard or mouse movement, or touching the trackpad, typically. Or a quick touch on the power button.

keyboard and mouse activity do nothing.

A single fast press of the power button does nothing. Should that work ?

Yep.

And a long press turns the unit off (blue light goes off and I hear a click in the back), and afterwards, pressing button results in a full cold reboot.

During such a cold reboot, is there some keypresses that can be done to cause it to reboot from "sleep" state ?

When I put the computer to sleep does it actually write RAM to disk and turn off ram, or does it maintain RAM contents alive ?

No. RAM is kept powered (on the iMac, anyway).

Does the motherboard have separatly switcheable power supplies for CPU, RAM and SMC controller as well as for disks and the PCI express ?

Something along those lines.

When asleep, the bluetooth-USB dongle still has its little blue light, but it seems at half intensity. Mouse activity does cause the blue light to flash. (but I suspect that no data is received by the Mac).

Should wake at that point in any case.

Plugging the iphone in the USB does nothing on the iPhone. So I ssume there is very little power on the USB when the unit is asleep.

(On my laptop, if I close the screen while on mains and with iphone alredy plugged in, the iphone continues to charge.)

I plug my iPhone into my side display USB port and it continues to charge when the Mac is asleep.

Tom Stiller replied on :

In article 4f38af01$0$3962$c3e8da3$b23f186d@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

The little blue light remains lighted next to the power button, but fans and disks stop.

If the light is not pulsing slowly, the machine is not in a sleep state. . . .

When I put the computer to sleep does it actually write RAM to disk and turn off ram, or does it maintain RAM contents alive ?

Aside from display sleep, there are two sleep states: ordinary sleep in which RAM is kept alive and hibernate in whichRAMis written to disk assuming there's enough space available. I don't know what happens in that case.

Jolly Roger replied on :

In article 4f38af01$0$3962$c3e8da3$b23f186d@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

On my Mac Pro, choosing Sleep from the apple menu puts the display to sleep almost immediately (within the first second) and then puts the computer to sleep about 3 seconds later. I know because that's when I hear a little click noise inside of the computer and the light on the front of the computer starts glowing with the sleep pattern. So it takes 3-4 seconds, total. Mine may go to sleep faster than yours because I use a SSD as my startup volume.

How is one supposed to be able to wake it ?

keyboard and mouse activity do nothing.

Pressing the space key on the keyboard is sufficient to wake mine.

If the keyboard is wired, pressing the space bar or the left mouse button should wake the computer quite quickly.

If your keyboard and mouse are Bluetooth, and you have the System Preferences > Bluetooth > Advanced > Allow Bluetooth devices to wake this computer option enabled, pressing the space bar or clicking the left mouse button should wake up the computer - albeit more slowly. I find sometimes I need to click the mouse or press the space bar multiple times for Bluetooth mice/keyboards.

A single fast press of the power button does nothing. Should that work ?

No, I don't think so.

And a long press turns the unit off (blue light goes off and I hear a click in the back), and afterwards, pressing button results in a full cold reboot.

That's expected behavior for the power button, and is not the best way to shut down the computer. It can result in corrupt application preferences, etc.

During such a cold reboot, is there some keypresses that can be done to cause it to reboot from "sleep" state ?

Not that I know of, no. The sleep state was interrupted by a hard shutdown.

Jolly Roger replied on :

In article grGdnd8f-5A7j6TSnZ2dnUVZ_vOdnZ2d@redacted.invalid, Alan Browne alan.browne@redacted.invalid wrote:

On 2012-02-13 01:34 , JF Mezei wrote:

A single fast press of the power button does nothing. Should that work ?

Yep.

Indeed. I was wrong. Pressing the power button quickly when the computer is asleep does wake it back up.

Jolly Roger replied on :

In article 4f38af01$0$3962$c3e8da3$b23f186d@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

If the light on the front is not pulsating as if the computer is asleep, it's not asleep - yet. I just did some tests with my Mac Pro. While in most cases, the computer went to sleep just a few seconds after I told it to sleep, in one case, the monitor went to sleep immediately, but the computer itself took about a minute to finally go to sleep. I'm not sure why it took that long; it was probably related to something the OS was doing at the time that needed to complete. During the time between the monitor going to sleep and the computer going to sleep, pressing the space key, mouse button, and power button on the front (quickly) did nothing. After it was actually asleep, all three of those actions will wake up the computer.

TaliesinSoft replied on :

On 2012-02-13 06:34:38 +0000, JF Mezei said:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

How is one supposed to be able to wake it ?

keyboard and mouse activity do nothing.

My experience has been&

For a wired keyboard or mouse just a tap or two will cause the wakeup.

For a bluetooth keyboard or mouse, if they are active, just a tap or two will cause the wakeup.

I'm at a loss as to why any of these methods has not worked.

dorayme replied on :

In article 9pt221F5muU1@redacted.invalid, TaliesinSoft taliesinsoft@redacted.invalid wrote:

On 2012-02-13 06:34:38 +0000, JF Mezei said:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

How is one supposed to be able to wake it ?

keyboard and mouse activity do nothing.

My experience has been&

For a wired keyboard or mouse just a tap or two will cause the wakeup.

For a bluetooth keyboard or mouse, if they are active, just a tap or two will cause the wakeup.

You have to allow for this in sys prefs in the bluetooth section. (I prefer to have the option unticked, if the computer sleeps I don't want it to have sweet dreams and not constantly be wary in case the mouse pesters it.

Usually, a MB will wake if a a spacebar is pressed or a key, as is known. Another thing that might help is see if plugging a USB device like a usb stick wakes it, it does on my MB.

I'm at a loss as to why any of these methods has not worked.

JF Mezei replied on :

Thanks for the feedback.

I'll do some more tests later this week (right now, I am busy with 3 presentations to make and don't want to have to re-open the gazilion documents needed to put those documents together)

The light does not pusle on my macpro. I will try to go through the various system preferences to change any relevant ones.

BTW, how does one do a "wake on ethernet" ? Is there a standard protocol for this ? Apple seems to insinuate that it can only be done with an "Airport" base station. (The mac pro is wired to a cisco switch).

nospam replied on :

In article 4f39804e$0$24501$c3e8da3$12bcf670@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

BTW, how does one do a "wake on ethernet" ? Is there a standard protocol for this ? Apple seems to insinuate that it can only be done with an "Airport" base station. (The mac pro is wired to a cisco switch).

http://en.wikipedia.org/wiki/Wake-on-LAN

dorayme replied on :

In article dorayme-09F5D1.07430214022012@redacted.invalid, dorayme dorayme@redacted.invalid wrote:

For a bluetooth keyboard or mouse, if they are active, just a tap or two will cause the wakeup.

You have to allow for this in sys prefs in the bluetooth section. (I prefer to have the option unticked, if the computer sleeps I don't want it to have sweet dreams and not constantly be wary in case the mouse pesters it.

Usually, a MB will wake if a a spacebar is pressed or a key, as is known. Another thing that might help is see if plugging a USB device like a usb stick wakes it, it does on my MB.

Christ!

You have to allow for this in sys prefs in the bluetooth section. (I prefer to have the option unticked, if the computer sleeps I want it should have sweet dreams, not constantly watching for the mouse to pester it).

Something that might help OP, see if plugging a USB device like a usb stick wakes it, it does on my MB.

Warren Oates replied on :

In article 4f39804e$0$24501$c3e8da3$12bcf670@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Thanks for the feedback.

I'll do some more tests later this week (right now, I am busy with 3 presentations to make and don't want to have to re-open the gazilion documents needed to put those documents together)

The light does not pusle on my macpro. I will try to go through the various system preferences to change any relevant ones.

BTW, how does one do a "wake on ethernet" ? Is there a standard protocol for this ? Apple seems to insinuate that it can only be done with an "Airport" base station. (The mac pro is wired to a cisco switch).

I've got a php 'wake on LAN' script if you want. I use it to wake up the oul' Woman's MacBook Pro for backups. It won't do it over the Internet though, just over the LAN.

JF Mezei replied on :

Warren Oates wrote:

I've got a php 'wake on LAN' script if you want. I use it to wake up the oul' Woman's MacBook Pro for backups. It won't do it over the Internet though, just over the LAN.

Would appreciate this. You can email me (remove the spamnot) or just post it here I guess.

Tom Stiller replied on :

In article 4f39962a$0$19696$c3e8da3$9b4ff22a@redacted.invalid, Warren Oates warren.oates@redacted.invalid wrote:

In article 4f39804e$0$24501$c3e8da3$12bcf670@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Thanks for the feedback.

I'll do some more tests later this week (right now, I am busy with 3 presentations to make and don't want to have to re-open the gazilion documents needed to put those documents together)

The light does not pusle on my macpro. I will try to go through the various system preferences to change any relevant ones.

BTW, how does one do a "wake on ethernet" ? Is there a standard protocol for this ? Apple seems to insinuate that it can only be done with an "Airport" base station. (The mac pro is wired to a cisco switch).

I've got a php 'wake on LAN' script if you want. I use it to wake up the oul' Woman's MacBook Pro for backups. It won't do it over the Internet though, just over the LAN.

There's nothing about the wake packet that prevents it from being sent from any computer on the internet. The issue is will the target's router pass the packet and if so, will it forward the packet to the proper port on the target machine.

Warren Oates replied on :

In article tom_stiller-4DFD73.18363313022012@redacted.invalid, Tom Stiller tom_stiller@redacted.invalid wrote:

There's nothing about the wake packet that prevents it from being sent from any computer on the internet. The issue is will the target's router pass the packet and if so, will it forward the packet to the proper port on the target machine.

Okay. I've never figure it out. There are websites that claim to be able to do WOL for you; I can't get them to work either. That's just an intellectual exercise though -- I don't need to wake the computer up from anywhere but across the room.

Warren Oates replied on :

In article 4f399897$0$5594$c3e8da3$eb767761@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Would appreciate this. You can email me (remove the spamnot) or just post it here I guess.

It uses PHP 5.3 as a "shell" script starting like this:

#!/Users/warren/php5.3/bin/php

(the path to my installation of the cli PHP). Is that something you can work with?

Salmon Egg replied on :

In article jollyroger-5A614A.09442413022012@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

In article grGdnd8f-5A7j6TSnZ2dnUVZ_vOdnZ2d@redacted.invalid, Alan Browne alan.browne@redacted.invalid wrote:

On 2012-02-13 01:34 , JF Mezei wrote:

A single fast press of the power button does nothing. Should that work ?

Yep.

Indeed. I was wrong. Pressing the power button quickly when the computer is asleep does wake it back up.

It has been a long time so my memory is hazy. I think I had a Mac G4 desktop computer using an early version of OS X. I had similar problems. I could put the computer to sleep either from the keyboard or by pressing the power button momentarily.

Every now and then, I just could not wake the computer up from the keyboard or by pressing the power button briefly. I just had to grit my teeth and hold the button down until the computer turned off.

I went to the Genius Bar at an Apple store but they were not of much help. I was shown a button inside the computer to press once to perform some magic to reset something. I was warned not to press it more than once. For me, there was no magic.

When I switched to a Mac Pro desktop, I never had the problem again. At the time, I remember reading many articles and complaints about sleeping macs that would not wake up.

Tom Stiller replied on :

In article 4f39a30a$0$65522$c3e8da3$4db35a27@redacted.invalid, Warren Oates warren.oates@redacted.invalid wrote:

In article tom_stiller-4DFD73.18363313022012@redacted.invalid, Tom Stiller tom_stiller@redacted.invalid wrote:

There's nothing about the wake packet that prevents it from being sent from any computer on the internet. The issue is will the target's router pass the packet and if so, will it forward the packet to the proper port on the target machine.

Okay. I've never figure it out. There are websites that claim to be able to do WOL for you; I can't get them to work either. That's just an intellectual exercise though -- I don't need to wake the computer up from anywhere but across the room.

I've read that Apple's Remote Desktop will do it but I've never had occasion to try it.

Michael Vilain replied on :

In article SalmonEgg-BE9648.16290513022012@redacted.invalid, Salmon Egg SalmonEgg@redacted.invalid wrote:

In article jollyroger-5A614A.09442413022012@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

In article grGdnd8f-5A7j6TSnZ2dnUVZ_vOdnZ2d@redacted.invalid, Alan Browne alan.browne@redacted.invalid wrote:

On 2012-02-13 01:34 , JF Mezei wrote:

A single fast press of the power button does nothing. Should that work ?

Yep.

Indeed. I was wrong. Pressing the power button quickly when the computer is asleep does wake it back up.

It has been a long time so my memory is hazy. I think I had a Mac G4 desktop computer using an early version of OS X. I had similar problems. I could put the computer to sleep either from the keyboard or by pressing the power button momentarily.

Every now and then, I just could not wake the computer up from the keyboard or by pressing the power button briefly. I just had to grit my teeth and hold the button down until the computer turned off.

I went to the Genius Bar at an Apple store but they were not of much help. I was shown a button inside the computer to press once to perform some magic to reset something. I was warned not to press it more than once. For me, there was no magic.

When I switched to a Mac Pro desktop, I never had the problem again. At the time, I remember reading many articles and complaints about sleeping macs that would not wake up.

The more 3rd-party stuff I added to my G4, the less likely I was to respond to waking from Sleep. So I stopped doing it entirely. I have a minimum of extra hardware (2 FW drives, keyboard, monitor) and my MacPro will sleep just fine. But I bet the SCSI peripherals didn't help.

Wes Groleau replied on :

On 02-13-2012 19:29, Salmon Egg wrote:

When I switched to a Mac Pro desktop, I never had the problem again. At the time, I remember reading many articles and complaints about sleeping macs that would not wake up.

Call Sister Mary Elephant.

Wes Groleau replied on :

On 02-13-2012 18:55, Warren Oates wrote:

Okay. I've never figure it out. There are websites that claim to be able to do WOL for you; I can't get them to work either. That's just an

Most home routers these days by default do not allow comm sessions to be initiated from the outside.

JF Mezei replied on :

Warren Oates wrote:

It uses PHP 5.3 as a "shell" script starting like this:

#!/Users/warren/php5.3/bin/php

(the path to my installation of the cli PHP). Is that something you can work with?

Since I do not have access to your home directory, it is rather hard for me to work with :-)

is this just a php script, or is it some proper program that is linked into php ?

Jolly Roger replied on :

In article 4f39804e$0$24501$c3e8da3$12bcf670@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

The light does not pusle on my macpro. I will try to go through the various system preferences to change any relevant ones.

Try also just waiting a few minutes after you tell it to sleep. Sometimes sleep can take a while. Then again, sometimes applications can prevent sleep, in which case you'll need to try to figure out which app is the culprit.

Warren Oates replied on :

In article 4f39eff3$0$2086$c3e8da3$9f400e27@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Since I do not have access to your home directory, it is rather hard for me to work with :-)

Hah hah. What I meant was: do you have PHP 5.x installed? Some of the array operations rely on 5.x, as I recall. You need the command line version of PHP somewhere (I honestly forget what OS X comes with in this regard).

is this just a php script, or is it some proper program that is linked into php ?

It's an executable PHP script. You can check here to see what's going on: http://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet

----------start---------- #![path to]/php

----------end----------

So in my case I save the script as wol.php, make it executable. Then I can call it from the prompt or from a cron job. I gotta admit, I don't totally understand most of the socket stuff, but yeah, I wrote that. There's no internal error checking -- it only reports success or failure. Do whatever you want with it; there are, as they say, no guarantees.

Paul Sture replied on :

On Mon, 13 Feb 2012 18:36:34 -0500, Tom Stiller wrote:

There's nothing about the wake packet that prevents it from being sent from any computer on the internet. The issue is will the target's router pass the packet and if so, will it forward the packet to the proper port on the target machine.

I think my router understands Wake on LAN and can do this.

Warren Oates replied on :

In article fmkq09-bae1.ln1@redacted.invalid, Paul Sture paul@redacted.invalid wrote:

On Mon, 13 Feb 2012 18:36:34 -0500, Tom Stiller wrote:

There's nothing about the wake packet that prevents it from being sent from any computer on the internet. The issue is will the target's router pass the packet and if so, will it forward the packet to the proper port on the target machine.

I think my router understands Wake on LAN and can do this.

Mine will, but I'd also have to create a virtual server.

Kevin McMurtrie replied on :

In article 4f38af01$0$3962$c3e8da3$b23f186d@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

If I put my Mac pro to sleep from the Apple menu, it does go to sleep. (it takes a little while though, perhaps it writes memory to disk ?)

The little blue light remains lighted next to the power button, but fans and disks stop.

How is one supposed to be able to wake it ?

keyboard and mouse activity do nothing.

A single fast press of the power button does nothing. Should that work ?

And a long press turns the unit off (blue light goes off and I hear a click in the back), and afterwards, pressing button results in a full cold reboot.

During such a cold reboot, is there some keypresses that can be done to cause it to reboot from "sleep" state ?

When I put the computer to sleep does it actually write RAM to disk and turn off ram, or does it maintain RAM contents alive ?

Does the motherboard have separatly switcheable power supplies for CPU, RAM and SMC controller as well as for disks and the PCI express ?

When asleep, the bluetooth-USB dongle still has its little blue light, but it seems at half intensity. Mouse activity does cause the blue light to flash. (but I suspect that no data is received by the Mac).

Plugging the iphone in the USB does nothing on the iPhone. So I ssume there is very little power on the USB when the unit is asleep.

(On my laptop, if I close the screen while on mains and with iphone alredy plugged in, the iphone continues to charge.)

Is the motherboard battery dead? Strange things can happen when it's not providing power.

Forget about wake-on-LAN. It doesn't do anything fancier than what happens when you press the power button. Also, as the name implies, it needs a Local Area Network so those web sites claiming to do it remotely are probably scams. For it to work over a WAN, you'd need your local broadcast address to be publicly accessible (no chance in hell) or your local router would need to cache your computer's location long after it has gone to sleep (some models can, but it causes other problems).

JF Mezei replied on :

Any update:

I tested the sleep function, and a minute later, I pressed the "space" bar on the USB keyboard and voila ! Machine awoke. However, it took a bit of finagling to get the mouse to work again.

So, before going to bed, I put the computer to sleep. This morning, the space bar trick did not work. So I had to reboot.

Will have to do further tests. Perhaps a MacPro with connections to the oytside works can only sleep until TCP connections time out after which, waking up is not possible ?

Jolly Roger replied on :

In article 4f42c59d$0$20226$c3e8da3$9deca2c3@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Any update:

I tested the sleep function, and a minute later, I pressed the "space" bar on the USB keyboard and voila ! Machine awoke. However, it took a bit of finagling to get the mouse to work again.

So, before going to bed, I put the computer to sleep. This morning, the space bar trick did not work. So I had to reboot.

As I already said, try also just waiting a few minutes after you tell it to sleep. Sometimes sleep can take a while. Also, the system log may tell you what was going on during this time span while you waited for it to go to sleep. Sometimes applications can prevent sleep, in which case you'll need to try to figure out which app is the culprit.

JF Mezei replied on :

I did a few more tests.

I put the mac pro to sleep for just over 10 minutes. It had no problems waking up. And the logs show it is going to sleep and then being awakened by keyboard.

I put the mac pro to sleep again, this time, for 10 hours. And no go. couldn't wake it up.

12-02-21 02:58:22 rpc.statd[38] Failed to contact host brakes.vaxination.ca: RPC: Unknown host 12-02-21 03:06:04 plugin-container[776] unknown error code: invalid context 12-02-21 13:28:25 kernel npvhash=4095 12-02-21 03:06:04 [0x0-0x4a04a].org.mozilla.firefox[770] Tue Feb 21 03:06:04 bike.vaxination.ca plugin-container[776] : unknown error code: invalid context 12-02-21 13:28:25 kernel Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 12-02-21 13:28:25 kernel vm_page_bootstrap: 3044075 free pages and 85269 wired pages

Note that there is no message about the Mac going to sleep. I suspect this is logged or written to disk when the mac wakes up along with the "waking up" messages.

BUT, there is a message at 13:28 indicating the start of boot, followed by an entry at 03:06 (when machine was put to sleep) which seems to indicate that there was soe buffer that survived the reboot.

JF Mezei replied on :

Looking at the diagnostic messages in the console.app :

12-02-21 02:09:04 configd[14] Sleep: Success - AC - Software Sleep com.apple.message.domain: com.apple.powermanagement.sleep com.apple.message.signature: Success com.apple.message.value: 1 com.apple.message.result: Success com.apple.message.uuid: 593630CD-66F5-46BF-89A3-D8D079DDFB04

12-02-21 02:09:04 configd[14] Wake: Success - AC - EHC2 com.apple.message.domain: com.apple.powermanagement.wake com.apple.message.signature: Success com.apple.message.uuid: 593630CD-66F5-46BF-89A3-D8D079DDFB04 com.apple.message.result: Success

12-02-21 13:28:34 configd[14] Sleep: Platform Failure - AC com.apple.message.domain: com.apple.powermanagement.sleep com.apple.message.signature: Platform Failure com.apple.message.result: Failure com.apple.message.uuid: 0A7ED8B2-B177-44DB-BB16-D196207B7AE1

So the test at 02:09 is succesful. Note that Sleep and Wake are logged at the same time (probably when machine is awakened). I would have thought that in the 15 or so seconds it takes for machine to gosub sleep, it would have written something to the log and flushed the buffer to ensure it is committed to disk.

So, what can I make of the message at 13:28 ? Is there a way for me to look this up n the apple web site ?

bike:~ $ sudo pmset -g Password: Active Profiles: AC Power -1* Currently in use: hibernatemode 0 womp 1 sleep 0 powerbutton 0 disksleep 10 hibernatefile /var/vm/sleepimage autorestart 1 ttyskeepawake 1 displaysleep 10

I asked my buddy Mr Google and while this message ( Sleep: Platform Failure - AC) is common, I haven't found much relevant to Mac pros (most sleep problems are related to laptops.

I will look more deeply into the pmset. One of the items in the man page specifies that after a while, some setting causes the mac to write memory to disk (hibernate) and while my hibernate is set to 0, maybe there is some other setting that causes this (this would explain why a short lived sleep works, but not one that is hours long).

Jolly Roger replied on :

In article 4f43e8a2$0$32624$c3e8da3$dbd57e7@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

12-02-21 13:28:34 configd[14] Sleep: Platform Failure - AC com.apple.message.domain: com.apple.powermanagement.sleep com.apple.message.signature: Platform Failure com.apple.message.result: Failure com.apple.message.uuid: 0A7ED8B2-B177-44DB-BB16-D196207B7AE1

I take it you've tried resetting the PMU/SMC?

I'm wondering if this is the result of a hardware failure of some type.

JF Mezei replied on :

Jolly Roger wrote:

I take it you've tried resetting the PMU/SMC?

That was the first thing I tried.

I'm wondering if this is the result of a hardware failure of some type.

If I can reliably wake up after 10 minutes of sleep but not after hours, I have to wonder if it is hardware.

Jolly Roger replied on :

In article 4f4403f0$0$19565$c3e8da3$9b4ff22a@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

Jolly Roger wrote:

I take it you've tried resetting the PMU/SMC?

That was the first thing I tried.

I'm wondering if this is the result of a hardware failure of some type.

If I can reliably wake up after 10 minutes of sleep but not after hours, I have to wonder if it is hardware.

I read in one forum about that error message happening with a MacBook (Pro?) that it turned out to be what they suspected was a faulty power button. I believe replacing the top case (where the power button circuitry is located) fixed it for that person.

JF Mezei replied on :

An update:

I used "sudo pmset -a hibernatemode 25" to force the mac to write memory contents to disk as it goes to sleep.

I went swimming and a few hours later, I was able to get the mac to awaken without problem with the space bar.

Here are my settings:

bike:~ $ pmset -g

Active Profiles: AC Power -1* Currently in use: hibernatemode 25 womp 1 sleep 0 powerbutton 0 disksleep 10 hibernatefile /var/vm/sleepimage autorestart 1 ttyskeepawake 1 displaysleep 10

Question:

On default systems, is hibernatefile set to the above or left blank ?

Jolly Roger replied on :

In article 4f45ddd4$0$19648$c3e8da3$9b4ff22a@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

An update:

I used "sudo pmset -a hibernatemode 25" to force the mac to write memory contents to disk as it goes to sleep.

I went swimming and a few hours later, I was able to get the mac to awaken without problem with the space bar.

Here are my settings:

bike:~ $ pmset -g

Active Profiles: AC Power -1* Currently in use: hibernatemode 25 womp 1 sleep 0 powerbutton 0 disksleep 10 hibernatefile /var/vm/sleepimage autorestart 1 ttyskeepawake 1 displaysleep 10

Question:

On default systems, is hibernatefile set to the above or left blank ?

Probably blank. Here's what I have:

pmset -g

Active Profiles: UPS Power -1 AC Power -1* Currently in use: hibernatemode 0 disksleep 0 womp 1 networkoversleep 0 sleep 0 (imposed by 8831) powerbutton 0 ttyskeepawake 1 hibernatefile /var/vm/sleepimage autorestart 1 panicrestart 15 displaysleep 10

ps ax | grep 8831

8831 ?? Us 0:09.80 /System/Library/CoreServices/backupd

JF Mezei replied on :

A further update:

I though I had fixed the sleep problem with hibernatemode = 25.

But NO ! It does go to sleep, with the power light pulsating. But about a minute or two later, it wakes up by itself !!!!

So now I tried hibernatemode = 3

It dod go to sleep. Light pulsating. But this morning, the light was on, not pulsating (same problem as without the hibernate). had to power off the mac and power it back on. But instead of rebooting, it saw a valid sleep image and restored the session.

I guess I'll have to put a camera and record goes happens during the night to cause the pulsating light to stop and go on fixed "on".