How to handle wake up from sleep
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