OSX Mountain Lion (ML) has an idle sleep policy that requires apps to
set sleep assertions if they want to prevent sleep after the period set
in Energy Saver - see for example
http://arstechnica.com/apple/2012/07/os-x-10-8/18/. This means that
utilities I relied on under Lion - Caffeine and ReallyPreventStandby
plugin for LMS no longer work.

There is a new command line utility in ML that might give some pointers
to a way forward:

caffeinate – prevent the system from sleeping on behalf of a utility
This allows you to either directly prevent your Mac from falling asleep
for a specific period of time (e.g. an hour):

caffeinate -u -t 3600

or allows a command to run for a prolonged period without the automatic
(and, since 10.8, rather aggressive) sleep function kicking in

caffeinate -s any-long-running-command -with arguments

The source of caffeinated seems to be here:
http://opensource.apple.com/source/PowerManagement/PowerManagement-271.25.8/

Has anyone else had sleep issues under ML running LMS (I am running
7.7.2)?

Does anyone who knows the system better than me have any suggestions for
a way forward?

Seems like these new assertions could finally give a reliable solution
to LMS sleep issues under OSX if they could be incorporated somehow. I
do not think it will work just for ReallyPreventStandby to call
caffeinate as the command just hangs until interrupted if called as
caffeinate -i.

All help much appreciated.


------------------------------------------------------------------------
nonnoroger's Profile: http://forums.slimdevices.com/member.php?userid=35581
View this thread: http://forums.slimdevices.com/showthread.php?t=95980

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to