Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Late 2012 iMac locking on Sleep

My late 2012 27" iMac locks up every time it goes to sleep.

32GB RAM, 2GB video, 1TB HDD.


Clicking the mouse button does nothing, nor does hitting a key on the key baord.


The keyboard is wired as is the mouse. The keyboard is plugged in to one of the four USB 3.0 ports on the iMac.

The mouse is plugged in to one of the ports on the keyboard.


There is a USB 2.0 hub connected to another USB 3.0 port on the iMac. This hub is self powered and is a higher quality one, meaning it has enough power to handle all 7 ports on it.

A scanner is connected to one of the ports on the hub. The scanner is powered through USB.

An iPhone 4 cable is conneceted to another port on the hub.


There is a 2TB external RAID-1 HDD connected to one of the USB 3.0 ports on the iMac.

(2x2TB drives)


There is also an external DVD butner connected to the last USB 3.0 port on the iMac.


When ever the computer goes to sleep the only way to get it to "wake" is to phisucally unplug the power cord from the back and then plug it back in and turn the machine on...

Holding down the power button does nothing. Simply pressing does nothing...


This situation is quite anooying and very much unacceptable for a computer that costs over $3k.


Please help. There must be a solution, and not having the computer/HDD go to sleep is not a solution...

iMac (27-inch, Late 2012), OS X Mountain Lion (10.8.2)

Posted on Dec 24, 2012 5:42 AM

Reply
40 replies

Jan 28, 2013 12:55 PM in response to McHerb

Hello McHerb, if it is the correct spec, and corresponds with the data in the Crucial configurator, they will certainly help you (even when not, I think): they have a very good reputation. Normally they take the modules back and send new ones. I have good experiences with Ram and SSD from Crucial.

The spec seems good indeed, as you said, the only thing I am not sure about is the latency CL11, these modules are available with latency 9 and 11.

Do you have the Fusion Drive or the 1TB HDD?

Feb 18, 2013 12:30 AM in response to Ktulu9876

When i removed every USB device - connected thru a Logilink 10 Port HUB it still crashes in sleep.

When i removed the Voltage connector from the HUB ... it sleeps well ...

USB without power supply and every HDD, Scanner ... plugged in - it sleeps well ...

It seems that there is a residual current (fault current? Don´t know the right english word) flow "back to my Mac" and kill it while in sleep ...

Mar 5, 2013 12:45 AM in response to Ktulu9876

Try another USB hub!


I am on my third replacement iMac (27" late 2012), the last two are exhibiting identical issue: the machines will go to sleep and will not wake up, and in addition the power button is disabled, i.e. pressing the power button will not restart the machine.


I am guessing that the SMC crashed, as the only course of recovery is to reset the SMC by removing power, pressing the power button for a while, and attempting to restart (does not work all the time, so I sometimes have to repeat the SMC reset procedure).


after doing some research on the net, I found how to see the hibernate mode, and found out that my machine was set to hibernate mode 5, which is NOT an approved setting, see below.


I used the system pref -> energy saver and clicked restore defaults which restored it to 0.


HOWVER, upon plugging in a powered USB hub, the hibernate mode was automagically reset to 5.

once at hibernate mode 5, putting the machine to sleep manually exhibited the same symptoms, i.e. not wake from sleep and disabled power button.


this was done with an apple care tech on the phone, and he recommended replacing the iMac once again, and sending me a fourth replacement!


overnight I played some more with this


I reset the hibernate mode but this time to 3 and I tried a different USB hub.


hibernate mode stayed at 3 after plugging in the USB hub.


I then created a small shell script to monitor and display the hibernate mode:


function showhibernate() {

while true

do echo -n `date` " ";pmset -g|grep hibernatemode;sleep 10

done

}


and executed it overnight


this evening after I came home from work, I noticed that the hibernate mode somehow was switched from 3 to 7!?


unfortunately, I did not have the echo `date` on the first version, so I do not know when it was switched from 3 to 7.


however, the machine did wake up from sleep... (so it seems that 7 is not as bad as 5?)


I am guessing that some powered USB hubs cause unexpected changes to the hibernatemode, which in turn cause the SMC to crash, disabling the power button.


why plugging in some powered USB hubs but not others will cause the hibernatemode to switch to 5?


why hibernate mode would automagically switch from 3 to 7?


neither 5 nor 7 are documented in the man page, and the only recommended modes are 0 3 and 25:


We do not recommend modifying hibernation settings. Any changes you make are not supported. If you choose to do so anyway, we recommend using one of these three settings. For your sake and mine, please don't use anything other 0, 3, or 25.


For now I cancled the shipment of the fourth replacement, as this seems to be an issue affecting all iMacs (and a specific USB powered hub), so that a new machine will not resolve the issue...

Late 2012 iMac locking on Sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.