• 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
How to handle wake up from sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to handle wake up from sleep


  • Subject: How to handle wake up from sleep
  • From: searockcliff <email@hidden>
  • Date: Tue, 10 Feb 2009 10:58:58 +0800 (CST)

Hello,
My driver (kext) is one USB driver.
Whey system goes to sleep, I plugout then plugin the USB device.
Then the system wakes up, but my driver cannot respond to any request, it seems that it is still in sleep mode.
 
I have registered a function handlePowerEvent to handle sleep.
But it only handles kIOMessageCanSystemSleep and kIOMessageSystemWillNotSleep, why is there no message type for Wake up?
 
Regards,
Boyd




免费送你钻戒作情人节礼物
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re:Re: How to handle wake up from sleep
      • From: searockcliff <email@hidden>
    • Re: How to handle wake up from sleep
      • From: Ethan Bold <email@hidden>
    • Re: How to handle wake up from sleep
      • From: mm w <email@hidden>
  • Prev by Date: Re:Re:Re: How to contitnule this kind of kernel debug -----Does large memory affects?
  • Next by Date: Re: Dual load -- was Re: sub-KEXT question
  • Previous by thread: Re:Re:Re: How to contitnule this kind of kernel debug -----Does large memory affects?
  • Next by thread: Re: How to handle wake up from sleep
  • Index(es):
    • Date
    • Thread