Mac mini won't wake from sleep. A SOLUTION.

I've been having the same problem everyone else has:

Mac mini won't come out of sleep, requiring a shutdown and reboot.


I found the cause of my problem. This solution has been tested.

Your system may differ from mine, but my solution may give you ideas to try.


My system: Mac mini (mid 2011), running Lion.


On March 19, the day before the trouble started, I sent a print job to my printer.

The next morning (March 20) the trouble began, and happened again March 21.


Exact Symptoms Seen: Display goes into a power save mode; however the computer never enters sleep (front panel LED remains on, all night long, not doing its usual slow-breathing sleep pattern).

Notably, the file "system.log" does not show the usual "maintenance alarm" wakeup every 2 hours. The logs just go quiet.


Printing triggered the problem:

My printer is a late-model Brother laser printer.

Beginning on March 19, I had been using Command-P to print documents;

however, at no time did I turn the printer on; my intention was to let my print jobs accumulate for several days,

after which I planned to turn the printer on and do my printing and mailing all at once, for efficiency.


This helped me: This solved my problem:

Late on March 21, I wondered if something in the print queue was preventing sleep.

Experimentally, I opened Brother’s print queue app and deleted the print job in the queue,

and BINGO, I instantly regained the ability to sleep and wake my Mac mini.


Further testing showed that the problem is repeatable at will. :^)

On March 22 I tested the mini to make sure it sleeps and wakes.

Then I sent a print job to the queue, leaving the printer off, and tried to sleep the computer.

The problem returned immediately: The display went to sleep but the computer did not.

Next, I logged in via ssh over the LAN and issued:

% lpq

to get the job number of the print job, and then

% lprm [jobnumber]

to clear the printer queue.

This deleted the print job, and the computer went to sleep immediately.


Moral: They say peripherals can prevent sleep.

Well, this shows that a peripheral can prevent sleep without even being turned on!



Tip: If you *must* shut your mini down, first try logging in over the LAN via ssh and issue

% sudo shutdown -h now

for a more orderly shutdown with less risk of data loss.


PS. Usually I can solve any sleep problem if I ssh in from another computer and issue

% killall ScreenSaverEngine

but that didn’t work in this case.

Mac mini, Mac OS X (10.7.2)

Posted on Mar 22, 2016 11:25 AM

Reply
5 replies

Mar 22, 2016 5:34 PM in response to OldCodeExpert

There are certain details about the User Tips that I thought to share with you

in so much as the ability to create them arrives after some time on the boards

& some earned privileges that apply after helping others in ASC discussions.


User Tips: Orientation

Award points, level up, and earn new privileges


Apple Support Communities Use Agreement


So if you would prefer the item to become a User Tip, that can be done by any

who have achieved a level of at least Five in the Apple support communities...


However I thought I should tell you this, since I'd prefer you get credit but don't

see how that is done. -- Perhaps another can detail that & also create the Tip.


In the past, some users had cited replies I'd posted to user questions and not

created any Tip associated with my post. So I am unfamiliar with that aspect.


Although I looked into it, the idea appears to mean if I proposed the User Tip

it would be created by me; and I believe the idea & credit should be yours...

however that works. Thought you should know that seems to be the case.


Good luck & happy computing! 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac mini won't wake from sleep. A SOLUTION.

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