image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old January 22nd, 2006, 07:33 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,682
Thanks: 6
Thanked 53 Times in 48 Posts
Mikuro will become famous soon enough
Auto-sleep problem

For months, I've had problems with OS X's auto-sleep feature. 99% of the time these days, it simply doesn't work. It seems like the problem has had several causes over the months, because at one point I was fairly sure it was iTunes, but that's clearly not the case now.

I've tried narrowing down the cause, but I'm at a loss. It's not iTunes, Activity Monitor, iChat, Safari, Gee, or any other "likely" suspect. The only visible app that's been loaded through all my tests is the Finder. Nothing appears wrong when I look at Activity Monitor, either. The only processes using up time when idling are pmTool and kernel_task, both of which are system processes that, AFAIK, I have no control over.

Any idea how I might fix this? And are their any smart third-party auto-sleep programs out there I could use instead?

Manual sleeping works just fine, but it's not really practical.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.8

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #2  
Old January 23rd, 2006, 11:02 AM
Registered User
 
Join Date: May 2002
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
MLJ_osxcom is on a distinguished road
I ran into this same problem with all 3 of my G4 macs (450, 933 & 1.25MHz iMac iLamp model) several OSX versions ago (probabaly 10.2.x something or other) and never got it back. They all did auto sleep before that.

I have tried removing all USB peripherials but mouse & keyboard, PCI cards, extra RAM, FONTS, making new users, etc. Nothing works. I had removed those sys prefs dealing with sleep hoping newly created ones might correct possilbly corrupt ones. No dice.

All I can think of is that some errant software or driver is making calls to some system function keeping machine awake & prevents auto sleep.

Good luck. Hope you find it & let "REST OF US" know. I gave up & just manual sleep when I want it to.

PS

Bought a PCI USB 2.0 card ( IOGEAR )and that definitely does not like deep sleep with anything connected to it. NUTS. Can't even manual sleep this one with anything connected to it.
Reply With Quote
  #3  
Old January 23rd, 2006, 09:28 PM
Randy Singer's Avatar
Registered User
 
Join Date: Dec 2005
Location: Sacramento, California
Posts: 233
Thanks: 0
Thanked 27 Times in 26 Posts
Randy Singer will become famous soon enough
Quote:
Originally Posted by Mikuro
Any idea how I might fix this? And are their any smart third-party auto-sleep programs out there I could use instead?
I just posted this in another thread, so I appologize for the repetition.

Try:

NMS Utility (free)
http://slicedapple.ath.cx/nmsutility.html#What_is_NMS
__________________
Randy B. Singer
Co-Author of The Macintosh Bible
(4th, 5th and 6th editions)
OS X Routine Maintenance and Generic Troubleshooting
http://www.macattorney.com/ts.html
Reply With Quote
  #4  
Old February 4th, 2006, 02:59 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,682
Thanks: 6
Thanked 53 Times in 48 Posts
Mikuro will become famous soon enough
Another member here, jbarley, PM'd me with his own solution, which works for me. I'd like to share it. (I hope you don't mind, jbarley.)

He made a shell script to re-set the sleep settings, and then compiled that into an AppleScript. Just paste this into Script Editor:
Code:
do shell script "pmset -a displaysleep 7 disksleep 10 sleep 15 halfdim 0" password "your_password_here" with administrator privileges
Replace "your_password_here" with an admin password. Or you could take out the whole password bit and have it prompt you every time it runs, if you're concerned about the security of putting your password in an AppleScript. I'm not sure exactly what "halfdim" does, but I think it only applies to laptops. All numbers are in minutes, and you can change them to whatever you like.

He said he set it up to run once a day. I don't find that I need to run it that often, although I have needed to run it more than once since I started using it about a week ago. I haven't decided on a method to have it run periodically without requiring my attention. Any ideas on how I should do that? My first instinct was to put it in my login items, but I only restart once or twice a month, so that doesn't really cut it.

Thanks for the link, Randy. I haven't tried that, since this script solved my problem, but it's good to know.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.8

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #5  
Old February 4th, 2006, 03:24 AM
dmetzcher's Avatar
Metzcher.com
 
Join Date: Apr 2005
Location: New Jersey, USA
Posts: 558
Thanks: 0
Thanked 0 Times in 0 Posts
dmetzcher is on a distinguished road
Quote:
Originally Posted by Mikuro
I haven't decided on a method to have it run periodically without requiring my attention. Any ideas on how I should do that?
I use CronniX for this. Save your script as an application (it's the easiest way to get things working quickly), and use CronniX to get things get the app scheduled for, say, every Monday, Wednesday, and Friday at 2:00 PM, or something like that. I do this with several scripts that I've written to do various things on my Mac.
__________________
Dennis R. Metzcher
Metzcher.com
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto connect to wireless network from sleep stv1701 Networking & Compatibility 7 December 25th, 2004 04:18 AM
Safari and macosx.com - auto login problem naodx Mac OS X System & Mac Software 3 March 22nd, 2004 10:20 PM
Illustrator CS + Suitcase X11 Auto Activation Problem p13 Design & Media 1 February 6th, 2004 05:13 AM
Auto Sleep Prevented by Personal File Sharing AKMedia Mac OS X System & Mac Software 0 September 22nd, 2002 02:19 PM
Auto-sleep hard drive? ElDiabloConCaca Apple News, Rumors & Discussion 3 February 27th, 2002 09:01 AM


All times are GMT -5. The time now is 07:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.