Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Possible causes of a self-waking Mac' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Possible causes of a self-waking Mac
Authored by: silverdr on Jul 31, '07 02:30:39PM

Some USB devices, especially hubs and not only cheap ones cause the sleep problems. With my G5 Quad I either disconnect the hub or have to make it sleep two, three, five or more times. Once it gets sleepy enough, it sleeps well though. The solution is to disconnect the hub. But I've got this problem with some hubs, regardless of their price. And I don't get it with some, regardless of the price too. Workaround to this if I don't want to diconnect the hub was to require password to wake from sleep (System Preferences) and whenever the machine gets awake it goes back to sleep by itself in a minute when no password is entered.



[ Reply to This | # ]
Possible causes of a self-waking Mac
Authored by: johnsawyercjs on Mar 15, '08 01:22:23AM

I tried this on a Mirrored Drive Doors G4 dual 1.25 GHz running OS 10.5.2, which has had this undesired automatic wake from sleep problem under OS 10.4 and now 10.5. I put it to sleep, then woke it, and didn't enter a password when asked. After about 30 seconds, the screen saver activated, but the Mac stayed powered up. I knew it was too good to be true. If it had really worked, this would have been one of the most elegant solutions for those Macs for which unplugging and replacing hardware just to get it to stay asleep, and all the other fixes (turning off useful options, etc.), aren't a practical solution. Maybe someone has written a utility that will keep putting the Mac to sleep every time it sees that it's woken up, until you really want it to wake up--often, Macs that won't stay asleep, will sleep a lot longer after they've been put back to sleep several times in a row.



[ Reply to This | # ]
Possible causes of a self-waking Mac
Authored by: johnsawyercjs on Mar 15, '08 02:10:10AM
Having given myself an idea, I wrote the script myself, to keep putting a Mac to sleep whenever it wakes itself up:

repeat
	tell application "Finder"
		display dialog "Cancel sleep? (auto-sleep after 15 seconds)" buttons {"Cancel", "Sleep"} default button 1 giving up after 15
		set the button_pressed to the button returned of the result
		if the button_pressed is "" or the button_pressed is "Sleep" then
			tell application "Finder" to sleep
		end if
	end tell
end repeat
I'm sure this is crude, and may not work on everyone's setup, but it worked on my MDD. However, if your Mac keeps waking itself up seconds or minutes after EVERY time it goes to sleep, this script won't be of much use. Paste the script into Script Editor, and save it as an application bundle, using Script Editor's "Stay Open" option, then run the app whenever you want the Mac to go to sleep. Of course, you can change the timeout to whatever you want.

[ Reply to This | # ]
Possible causes of a self-waking Mac
Authored by: johnsawyercjs on Mar 15, '08 02:17:31AM

Oops--don't save that script using Script Editor's "Stay Open" option, or else the app will stay running even after you click its "Cancel" button, but it won't do anything after that until you quit from it and re-launch it. Without the "Stay Open" option, it will quit if you click its "Cancel" button, and then you just have to re-launch it to activate it again, which is the desired behavior.



[ Reply to This | # ]