PC goes to sleep while serving

If you have a suggestion for a feature, post it here

PC goes to sleep while serving

Postby remezen » Sun Apr 19, 2009 6:01 pm

I rus PS3MS from always-on PC.
It's set to go to sleep in 30 minutes.
I comes so that in 30 min it tries to go to sleep, I see error 80710092 on PS3, playback pauses, then (in about 3 sec) PC wakes and playback resumes.
So, when serving files, PS3MS lets PC go to sleep mode.
Think it's easy to fix, many programs have an option "prevent PC sleep".
Thanks in advance (and once again for a great program).
remezen
 
Posts: 13
Joined: Sun Apr 19, 2009 5:52 pm

Re: PC goes to sleep while serving

Postby shagrath » Sun Apr 19, 2009 6:04 pm

remezen wrote:Think it's easy to fix


well, tell us how and we will be glad to add it ;)
shagrath
Project Lead
 
Posts: 2668
Joined: Wed Jan 14, 2009 1:39 pm

Re: PC goes to sleep while serving

Postby remezen » Sun Apr 19, 2009 8:23 pm

http://msdn.microsoft.com/en-us/library/aa373233(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa373208(VS.85).aspx

http://johannburkard.de/blog/programming/java/Call-native-methods-in-a-DLL-from-Java-without-JNI.html look for "SetThreadExecutionState"

http://msdn.microsoft.com/en-us/magazine/cc163386.aspx

Quote: "The official way to tell Windows that the system is not idle is SetThreadExecutionState. This resets the idle timer, (or turns it off, if you pass ES_CONTINUOUS )"

Maybe this could help?
remezen
 
Posts: 13
Joined: Sun Apr 19, 2009 5:52 pm

Re: PC goes to sleep while serving

Postby shagrath » Mon Apr 20, 2009 9:27 pm

thanks, just added it... need to test now :p
shagrath
Project Lead
 
Posts: 2668
Joined: Wed Jan 14, 2009 1:39 pm


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 4 guests