Mailing Lists: Apple Mailing Lists

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

Insomnia.kext broken in 10.4.8? Preventing hard sleep upon lid close on notebooks



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



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.