mac mini keeps entering sleep mode

Hi. I have a Mac mini that has this annoying problem where it keeps
wanting to enter sleep mode. This problem seemed intermittent at first.
What I notice is that my mini would enter sleep mode whenever I try to
encode mp3. This seems reproducible. When it enters sleep mode,
I can wake it up by pressing the power button. However, it goes back
in sleep mode after a couple seconds after it wakes up. The only way
I can get it out of sleep mode is to quit iTunes and eject the audio
CD.

Things I've tried:

Energy Saver settings: Computer sleeps after 3 hours inactivity,
display sleeps after 3 hours inactivity, unchecked "Put hard disk(s)
to sleep when possible". I tried disabling energy save. No luck.

I also tried to uncheck "Allow Nap" box in the Processor settings.
However, it always checks this after a reboot.

If I insert a DVD movie, I can watch it w/o any interruption.

Anyone else seen this problem? Thanks in advance.

Jim

Posted on Aug 15, 2005 12:56 AM

Reply
13 replies

Aug 16, 2005 1:24 AM in response to Schneb

Hi. Thanks for the info. I'm still having problems, but you got me
on the right track. First, I'm new to Mac OSX, but I am very familiar
with Unix. I didn't know what plist was so I had to google and found
that it is just an xml for system files. I can vi the file as read-only. I
did a 'sudo -u root bash' and removed the file,
/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist.

I noticed that it regenerated this file. Previously, I could cause my system to enter the sleep mode just by trying to rip an audio CD. Upon
closer examination, I can reproduce the same effect by selecting the
processor preference and uncheck "Allow Nap" button. After unchecking
I would hear the mini fans kick in overdrive and after a few seconds, it
would put the mini to sleep. I press the power button to wake it up
and it would wake up for a couple seconds just to go back to sleep.
Most annoying. Grrr.

Ideally, I would like my mini to Nap if it is idle after some time, but it
should not voluntarily take a nap when I have something for it to do like
rip a CD. How does one disable this Nap feature? It's nice to have, but
it renders my mini useless... All it wants to do now is go to sleep. 😟 I also
tried resetting the PMU, but no luck.

One thing I did not mention is that I have a Microsoft Wireless
Natural Multimedia Keyboard and cordless optical mouse. Yeah,
Mac users will probably cringe, but it's really nice! I've used Windows
since the beginning of time because I didn't want to use a computer
that only had a one button mouse. With the introduction of USB, Apple
has made it possible to use PC peripherals which is nice. Actually, my
primary use for Windows is a VNC viewer terminal. I do everything in
Unix. I made the switch because MacOSX has a Unix core. I still need
to learn the oddities of Mac OSX... 😉

Any other ideas? How can I prevent my mini from sleeping? Is it
possible my Microsoft keyboard is causing this problem? Any
Apple engineers read this forum? Thanks again for your help!

Jim

Aug 16, 2005 9:52 AM in response to Jim Fridlund

This is down-deep wrong. I think it is time to call Apple and get them on this. If basic troubleshooting does not fix the problem, and creating a new user account does not help either, something is amiss with your Mini. Time to take advantage of your warranty--I have never heard of this happening.

BTW-- No problem on using MS hardware on Macs, if it works, it works. I have NEVER been satisfied with Apple Mouse designs. They tend to irritate my RIS. I also use Microsoft opticals. I think they are simple and fantastic.

Aug 16, 2005 1:28 PM in response to russb1

"Where might i find this 'processor nap' thing of which you speak?"

It's not available in the standard collection of preferences, but can be accessed by downloading CHUD (hardware development tools) from versiontracker.com. That gives you access to a few options to tweak the system for optimum performance.

A description of what these tools can do (plus the download) is at http://www.versiontracker.com/dyn/moreinfo/macosx/14358

Aug 16, 2005 1:30 PM in response to Jim Fridlund

Hi Jim,

Nap is a feature that is enabled by default on some macs. It has been extensively used on g5's to limit noise made by (faulty) power supplies. My suspicion is that the power supply is bad but perhaps not.

I am able to use Nap on my unsupported g4 dual by utilizing the developer package that is an optional install with the operating system and then utilizing CHUD tools ( A separate installation. 3.5.2 works for my system. There are newer versions but problems with newer versions have been reported with Tiger). In the Hardware control panel it allows me to toggle on or off a processor, enable or disable caches and to enable NAP.

The CHUD tools package is made for developers to write and debug code for Apple. If you did not install the developer tools it can be done after the fact. CHUD tools are also available for download.

Both can be found at VersionTracker.com

When my mac has sleep problems I follow the program below.

• Quit System Preferences.... Navigate to ....
/Library/Preferences and delete.....com.apple.AutoWake.plist
Enter your Admin password, when prompted.

• Using Open Firmware....
Restart and immediately, press and hold (command Option+OF), and release when the command line appears..type the following and press Return after each item.
• reset-nvram
• set-defaults
• reset-all (this will reboot the Mac

•If this does not solve the problem, your Energy Saver preferences may be corrupt.

Navigate to /Library/Preferences/SystemConfiguration (folder) and delete.
com.apple.PowerManagement.plist
com.apple.AutoWake.plist
Enter your Admin password, when prompted.

• and finally....

Navigate to ~/Library/Preferences/ and delete......
com.apple.systemuiserver.plist

I have given the above advice to users in Tiger and some report back that the above files do not exist. On my system I have to search invisible files as well to get them but I am on Panther and don't know if Spotlight will allow invisible searches.

Good luck

Aug 16, 2005 2:12 PM in response to russb1

Hi. To get to the processor nap feature, I click on
the system preferences. At the bottom, there is a
processor icon. I click on that and it brings up
a new window. This window has a check box for the
processor nap. On my system, this box is checked
by default. If I uncheck it, the mini will go into
highgear (fans going) and then goes to sleep. I
ran top on a terminal and my load average was only
like 0.40 when it decided to go to sleep. I did
upgrade my system to 10.4 latest. I have an Apple
store here in Walnut Creek. I'll bring it in for
a check up.

Thanks.

Aug 17, 2005 2:40 AM in response to Carl Jerris

Hi Carl. I was unable to find com.apple.AutoWake.plist in my
system. Deleting com.apple.PowerManagement.plist didn't
help.

I decided to try your open firmware instructions. I like the
boot loader. It reminds me of the Sun's boot monitor.
I did the reset-nvram, set-defaults, reset-all. It didn't
help though. 😟

I don't think it is my power supply, either. The reason why I
don't think this is the problem is I can watch DVD and listen
to audio CD just fine. My sleep problem would only occur
when I try to rip an audio CD. I can assure you that I draw
plenty of power just playing a DVD movie.

My guess is I have a power management configuration
issue or a hardware problem. Since this has a Unix core
underneath, I started poking around in the usual places
for log files. I found the familiar /var/log and stumbled
on system.log. Looking at the file, I found something
that caught my eye.

Aug 17 01:06:19 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.

Doing a 'grep overtemp system.log', I got the following:
...
Aug 17 01:04:13 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:04:37 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:04:56 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:05:37 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:05:51 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:06:00 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:06:13 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
Aug 17 01:06:19 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.

If you look at the time stamp, you'll see that each event
is only a few seconds apart. This matches with what
I was seeing. Machine goes to sleep. I press the power
button and it wakes up and goes back to sleep. One
big endless cycle. The only way I managed to get out
of it is to quit iTunes and to eject the CD.

Yes, I did install the Xcode 2 development kit that came
with the Mini MAC OSX setup. I eventually want to write
software for the Mac. So, I most likely installed the
CHUD tools package that you had mentioned.

I think the equivalent command line command for
disabling the nap feature is 'hwprefs -v cpu_nap=false'.
When I do that, I get the overtemp event and my mini
goes to sleep. Zzz.

In any case, my mini seems to be detecting false overtemp
condition. Either I have a bad temp sensor or my power
management overtemp threshold is set way too low. It's
possible encoding audio CDs is enough to heat up the
PPC core, but it happens way too fast. I'm thinking my
temperature sensors are not set correctly. If anyone has
schematics for the mini, it would most likely be a Dallas
temp sensor chip. I'm not ready to open up my mini yet
since it is still under warranty. I'll take it in the Apple
store in Walnut Creek this weekend.

Anyway, thank you guys for all your help. I found my
experience on this forum to be quite pleasant. People
here are very helpful.

Jim

Aug 19, 2005 4:36 PM in response to Jim Fridlund

fyi, my problem turned out to be a hardware
problem. I called Apple support in the morning
(6am PST) and didn't have to wait very long to
talk to their help group. The support person
was able to walk me through their diagnostics.

The mini comes with a comprehensive diagnostic
software that is on the Panther CD. Running
the extended test showed that my logic board
had a problem with error code "2STH/1/2: CPU
BOTTOMSIDE". This appears to be a faulty
temperature sensor.

I stopped by at the local Apple store in Walnut
Creek. The staff there was friendly. The only
negative part was the long waiting list. I should
have my mini back in a week or so.

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 keeps entering sleep mode

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