Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOKit Kext and Sleep/Wake



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.