IOKit Kext and Sleep/Wake
IOKit Kext and Sleep/Wake
- Subject: IOKit Kext and Sleep/Wake
- From: "Duane Murphy" <email@hidden>
- Date: Mon, 24 Mar 2008 19:10:21 -0700
Howdy Folks,
I have an IOKit kext that would like to know about Sleep, Wake, &
Shutdown events. I need to stop (start) a thread and record the
information during these events.
I've read about power management in IOKit Fundamentals:Managing Power,
but the kext doesn't actually affect the power of it's children etc. I
just want to be able to handle these events so that the kext can keep
track of what it is doing.
Do I still need to do all of this with the Power Manager or is there an
alternative?
Also, note that the kext is a disk driver that can be part of the system
disk chain. It doesn't appear that terminate() is called in the case of
the system disk. This can make sense as the system disk is being used
right up to the very end. Please correct me if I'm wrong here.
Thank you for your suggestions,
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden