Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Auto-wake from Sleep?

Auto-wake from Sleep?
Thread Tools
Dedicated MacNNer
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 24, 2002, 01:55 PM
 
Check out this thread on Macosxhints.com -- looks like someone found a way to get OS X to wake at a pre-determined time in OS X.

Apparently, EyeTV includes a small application called "Wakein" that allows you to set a time for the computer to wake up.

So you'd type:

sudo ./WakeIn 60

to wake in one minute (60 seconds).

Here's the cool part-- according to the thread, running "Wakein" without root privs results in the following:

openDevice() error e00002c1
IOConnectSetCFProperties fails
closeDevice() error 10000003
writePMUProperty AutoWake returned 10000003
openDevice() error e00002c1
IOConnectSetCFProperties fails
closeDevice() error 10000003
writePMUProperty AutoPower returned 10000003
AutoWake property: 1/1/1904 0:00:00
readAutoPowerProperty returned ffffffce


The challenge: Can anyone out there turn this info into the first System Preferences panel that lets you schedule go-to-sleep and wake-from-sleep like in OS 9?

W
     
Professional Poster
Join Date: Mar 2001
Location: Seattle, WA
Status: Offline
Reply With Quote
Feb 10, 2003, 07:38 PM
 
Originally posted by VValdo:
Check out this thread on Macosxhints.com -- looks like someone found a way to get OS X to wake at a pre-determined time in OS X.

Apparently, EyeTV includes a small application called "Wakein" that allows you to set a time for the computer to wake up.

So you'd type:

sudo ./WakeIn 60

to wake in one minute (60 seconds).

Here's the cool part-- according to the thread, running "Wakein" without root privs results in the following:

openDevice() error e00002c1
IOConnectSetCFProperties fails
closeDevice() error 10000003
writePMUProperty AutoWake returned 10000003
openDevice() error e00002c1
IOConnectSetCFProperties fails
closeDevice() error 10000003
writePMUProperty AutoPower returned 10000003
AutoWake property: 1/1/1904 0:00:00
readAutoPowerProperty returned ffffffce


The challenge: Can anyone out there turn this info into the first System Preferences panel that lets you schedule go-to-sleep and wake-from-sleep like in OS 9?

W
No one??
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Meida, PA USA
Status: Offline
Reply With Quote
Feb 14, 2003, 11:44 AM
 
Originally posted by agasthya:
No one??
I can look into it, but no promisses. Sounds like a worthy panel though.
~ Mike
--
Personal Site: MikeZornek.com
Other Interests: WebDevWiki.com
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2