• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Waking iMac from sleep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Waking iMac from sleep?


  • Subject: Waking iMac from sleep?
  • From: "Matt R" <email@hidden>
  • Date: Sun, 18 Feb 2007 08:52:50 -0800

I am writing a cocoa app that incorporates a timer. The timer performs an
action when it expires, however if the computer is asleep, the action is
never performed. But I am having problems scheduling my mac to wake from
sleep to allow the timer to perform its action. I downloaded the PM_DDK for
OS X and used the Apple sample code in 'wakeIn.c'. But when I run the code I
get the following errors:

IOServiceGetMatchingService() error
Error: Couldn't find PMU in IORegistry. This system may not support
automatic wake.

I get the same errors when running apple's executable from the terminal,
too. In addition, a similar program I downloaded that supposedly supports
the same feature, also coincidentally does work on my mac. So I guess my
question is, is waking the computer from sleep via the PMU something that is
not universally supported on all hardware? I'm using an iMac G5 w/ 10.4.8.

Any feedback is apprecaited- thanks for your time~
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: NSNumberFormatter localization leaks on translation nibs
  • Next by Date: Custom Shadow on an NSWindow
  • Previous by thread: NSNumberFormatter localization leaks on translation nibs
  • Next by thread: Custom Shadow on an NSWindow
  • Index(es):
    • Date
    • Thread