1.60.0 letting Mountain Lion sleep

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

1.60.0 letting Mountain Lion sleep

Postby mrnixon » Tue Jul 31, 2012 3:24 am

My machine is going to sleep during playback. With the previous OS (10.7.4), the "Prevent OS from sleeping while streaming" checkbox worked fine, but now under Mountain Lion my machine is sleeping regardless of that setting.
mrnixon
 
Posts: 2
Joined: Tue Jul 31, 2012 3:19 am

Re: 1.60.0 letting Mountain Lion sleep

Postby killemall » Wed Aug 01, 2012 5:36 pm

Since I'm using mountain lion I'm having this problem, too.

Version 1.60.0
killemall
 
Posts: 6
Joined: Wed Aug 01, 2012 5:32 pm

Re: 1.60.0 letting Mountain Lion sleep

Postby Pochodave » Wed Aug 01, 2012 7:18 pm

maybe you're having my same problem.....
check it out here....i fixed....
let me know if it was useful :)

viewtopic.php?f=7&t=14980
Pochodave
 
Posts: 10
Joined: Tue Jul 31, 2012 9:32 am

Re: 1.60.0 letting Mountain Lion sleep

Postby killemall » Wed Aug 01, 2012 8:15 pm

Pochodave wrote:maybe you're having my same problem.....
check it out here....i fixed....
let me know if it was useful :)

viewtopic.php?f=7&t=14980


Buona sera Davide!

Good workaround! But this doesn't solve the issue. The "Prevent OS from sleeping while streaming" option should prevent your mac from going to sleep while its streams a movie regardless of your energy saving options in the settings pane.
killemall
 
Posts: 6
Joined: Wed Aug 01, 2012 5:32 pm

Re: 1.60.0 letting Mountain Lion sleep

Postby killemall » Wed Aug 01, 2012 8:29 pm

I found some interesting links regarding this "issue" ...

http://hints.macworld.com/article.php?s ... 1003744629
http://apple.stackexchange.com/question ... gressively
http://forums.macrumors.com/showthread.php?t=1415661

Code: Select all
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

It doesn’t have anything to do with Java(TM) though…

source: http://apple.blogoverflow.com/2012/07/i ... tain-lion/

I think the problem is the aggressive sleep function. Maybe the ps3ms developers have to use caffeinate?
killemall
 
Posts: 6
Joined: Wed Aug 01, 2012 5:32 pm

Re: 1.60.0 letting Mountain Lion sleep

Postby meskibob » Wed Aug 01, 2012 8:40 pm

Briefly looking at the code (admittedly I'm not a dev), the only place the sleeping setting gets called is under winutils.java, which appears to be Windows specific (utilizes kernel32, which AFAIK is only in Windows). I'm guessing that this option never worked on Mac (or Linux), and that the default power management settings (and implementations) between Mountain Lion and the other OSX's are different. But a dev should confirm.
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4778
Joined: Mon Jan 19, 2009 4:11 pm

Re: 1.60.0 letting Mountain Lion sleep

Postby mrnixon » Wed Aug 01, 2012 9:47 pm

meskibob wrote: I'm guessing that this option never worked on Mac (or Linux), and that the default power management settings (and implementations) between Mountain Lion and the other OSX's are different.


It definitely worked for me in Lion last week.
mrnixon
 
Posts: 2
Joined: Tue Jul 31, 2012 3:19 am

Re: 1.60.0 letting Mountain Lion sleep

Postby Pochodave » Wed Aug 01, 2012 10:24 pm

killemall wrote:
Pochodave wrote:maybe you're having my same problem.....
check it out here....i fixed....
let me know if it was useful :)

viewtopic.php?f=7&t=14980


Buona sera Davide!

Good workaround! But this doesn't solve the issue. The "Prevent OS from sleeping while streaming" option should prevent your mac from going to sleep while its streams a movie regardless of your energy saving options in the settings pane.


I agree with you but i'm thinking (like maybe you said in the previous post) that the new operating system is too invasive about the sleep mode....i had a similar problem in these days with emule.....when the imac went in sleep mode emule was "firewalled"....when i "woke up" the iMac instead emule returned in connection.....setting the energy preferences like i said in my post i solved both the problem at the same time....
Pochodave
 
Posts: 10
Joined: Tue Jul 31, 2012 9:32 am

Re: 1.60.0 letting Mountain Lion sleep

Postby happy.neko » Wed Aug 01, 2012 10:45 pm

You are right, meskibob. Sleep prevention is windows only feature.
For proper OSes we need other solution. Like moving mouse pointer once in 5 minutes or something.
happy.neko
Project Member
 
Posts: 478
Joined: Fri Sep 23, 2011 5:38 pm

Re: 1.60.0 letting Mountain Lion sleep

Postby killemall » Thu Aug 02, 2012 7:34 am

I can confirm that the sleep prevention worked with previous versions of mac os.

Yesterday I found a good workaround.

The command

Code: Select all
caffeinate -i open -W -a "PS3 Media Server.app"


starts the PS3 Media Server app and prevents the mac from going to sleep while the app is open.
killemall
 
Posts: 6
Joined: Wed Aug 01, 2012 5:32 pm

Next

Return to Mac OS X Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests