site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=a6LwMd43lI0WJnYgmOVqElyA273OUCIvQSBuV7Dtqvs=; b=AEem1fGiWk6SnVRGj9bTKI4yoIKKoyUaJ5Zq/0ceNotykH19rxYU0eK3BSvqiwm1Tld/g9oPbbfGcTl+ehKgLYkG/48tlCKr56rnNQQ5ZxGGO8es9wrJTFS+g2t+FGevTGEBoXeBFNPFY9RNb2VkgK4k0ik/xs+zG71Nn8o/6+4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=OEX+spDQPM8AxyqyUsbjduHvsQnqjPOvmlIWI2Bj3YX+dEYtVbM5oyB4JvwCwuN93oqJzqr6TU0fv62Ccb3KvTsP3x9OFE/WZbyIiq4bPSMRHZgzQBVRuDu0xXBGJ3QY4IWIVTkMtbODgZf5O7iFR2FwiNZwswqP8H+TlhVchsg= On 30/12/2007, at 11:23 PM, Finlay Dobbie wrote: There is deliberately no solution offered to developers for the same reason that no solution is offered to users. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have found a method to make this possible but i am missing a method to receive notification of the lid closing, or a way to access the data on state of the power (AC/Battery etc) which would let me use IOMessage (At the moment the lid notification is identical to the ac/ dc connection/disconnection which messes up the code) If you send these notifications to the PMRootDomain it will prevent sleep, but they need to be sent when the lid closes as well as before the lid close (kIOPMDisableClamshell, kIOPMPreventSleep) But the main point is i need a way to be notified of the clamshells state changing but not the power state changing. On Dec 30, 2007 12:51 AM, Andrew James <semaja2@gmail.com> wrote: The users are 100% fine with the idea and all i want to know is if its possible and if so how, it seems no matter where i ask this question i am confronted with other developers views and not a solution -- Finlay This email sent to site_archiver@lists.apple.com