Hello -
From IOPMSchedulePowerEvent(): abs_time_to_wake = CFDateGetAbsoluteTime(time_to_wake); if(abs_time_to_wake < (CFAbsoluteTimeGetCurrent() + 30.0)) { ret = kIOReturnNotReady; goto exit; }
-ethan On Sep 1, 2004, at 1:46 AM, Matis Schotte wrote: any help would be great! (please excuse my bad english ...) _______________________________________________ darwin-development mailing list | darwin-development@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development Do not post admin requests to the list. They will be ignored. kIOReturnNotReady indicates that you're trying to schedule a wakeup event too soon. There is a 30-second threshold that we enforce, since for wakeup events any less than 30 seconds in the future we cannot guarantee a successful wakeup. The transition from awake to asleep can take up to 30 seconds alone. If you're receiving this error for a date and time significantly in the future (more than a minute past the current time) then that is a bug. hello, i don't know if this post belongs to cocoa, but i'm using it with a cocoa app. i have had a working function that saved a starting time and date with IOPMSchedulePowerEvent to power the machine on, but don't know why, now i get always the error kIOReturnNotReady (0x2d8) - what does it mean ? and why do i get it ? - smat _______________________________________________ darwin-development mailing list | darwin-development@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development Do not post admin requests to the list. They will be ignored.
participants (1)
-
Ethan Bold