Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
I've got an iMac and halogen desk lamp (12v one with transformer inside) connected on the same power strip. When the iMac is sleeping and I turn on the desk lamp, the iMac wakes up.

This is really annoying. Is there any way to prevent the iMac from waking up when it detects an irritation or spike or whatever from the power source?
 

hfg

macrumors 68040
Dec 1, 2006
3,621
312
Cedar Rapids, IA. USA
Things to try:

If not using them, turn OFF the "Wake On ..." selections (lan, bluetooth, etc.).
Get a filtered power strip.

Good luck...
 

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
Soon after I posted this topic, I solved the problem by setting the iMac to hibernate instead of sleep. Using this command IIRC:
sudo pmset -a hibernatemode 25
So whenever the machine "goes to sleep" it actually writes the RAM to disk and shuts down. This way it won't start up when it is disturbed, and the only way to start it up is by pressing the power button. It resumes quite quickly so I am fine with it. Plus, the machine survives power outages when it is "sleeping" (actually hibernating).
 

poiihy

macrumors 68020
Original poster
Aug 22, 2014
2,301
62
The hibernate fix didn't really fixed the problem... well, actually, it fixed the desk lamp problem but it made a new problem.

For some reason the machine will randomly startup a while after going to sleep (hibernate). When I put it to sleep (hibernate) before going to bed, the machine will start up in the middle of the night.
How the hell can it start up when it is OFF?! When it's in hibernate, it's completely OFF with the memory archived on disk. What would cause it to START UP from hibernate?! :confused: :eek: Really weird!!!!!!

So, the hibernate thing fixed the problem of having the machine wake up with any disturbance, including from the power source, but it introduced a problem of starting up automatically after being set to sleep (hibernate).

I probably have to leave it running all the time and only put the display to sleep. This is the only way I know of fixing it, other than shutting it down and starting it up frequently.
 

chscag

macrumors 601
Feb 17, 2008
4,622
1,946
Fort Worth, Texas
The hibernate fix didn't really fixed the problem... well, actually, it fixed the desk lamp problem but it made a new problem.

For some reason the machine will randomly startup a while after going to sleep (hibernate). When I put it to sleep (hibernate) before going to bed, the machine will start up in the middle of the night.
How the hell can it start up when it is OFF?! When it's in hibernate, it's completely OFF with the memory archived on disk. What would cause it to START UP from hibernate?! :confused: :eek: Really weird!!!!!!

So, the hibernate thing fixed the problem of having the machine wake up with any disturbance, including from the power source, but it introduced a problem of starting up automatically after being set to sleep (hibernate).

I probably have to leave it running all the time and only put the display to sleep. This is the only way I know of fixing it, other than shutting it down and starting it up frequently.

Best solution: Get rid of the Halogen lamp. ;)
 

brotherjoe

macrumors newbie
Jul 30, 2015
17
9
Unplug the power cord. :)
If it is still power up in the middle of the night.. something is seriously wrong.
 

Floris

macrumors 68020
Sep 7, 2007
2,381
1,473
Netherlands
You sure you're not just making something vibrate on the table and the sensitive laser in the mouse is causing it?
Sometimes when I stump around the house running out of time it's enough for mine to wake up.
It even happens when the cat jumps on the table to steal my damn grilled cheese sammich!
 

PowerMac G4 MDD

macrumors 68000
Jul 13, 2014
1,900
277
What's funny is that if I touched my MacBook while it was on the same table (and plugged into the same power strip as this Dell desktop), the Dell would wake up.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.