Hi,
strangely since 10.4.8 the Insomnia.kext by binaerinvarianz, seems to be
broken. This kext prevented the system from going into hard sleep when
the laptop lid is closed. This was achieved by communicating with the
root power domain:
// Include <IOKit/pwr_mgt/RootDomain.h>
// Prevents hard sleep when closing lid. found in Insomnia::init()
IOPMrootDomain *root = getPMRootDomain();
root->receivePowerNotification(kIOPMDisableClamshell);
// Allows hard sleep when closing lid. found in Insomnia::free()
IOPMrootDomain *root = getPMRootDomain();
root->receivePowerNotification(kIOPMEnableClamshell);
* http://binaervarianz.de/projekte/programmieren/meltmac/
>From what I understand it only seems to be broken on Intel devices, such
as MacBooks, while the PPC counterparts remain uneffected.
can anyone think of a reason why this could be?
thanks,
Joel Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden