Welcome To Australia's No.1 Media Center Community!
You Are Currently Viewing As A Guest - you'll need to register in order to participate in our community and make this annoying message disappear!
By registering you'll be able to post & reply to questions, set up your own image gallery & blog, communicate privately with other members, create & respond to polls, access downloads and other "members only" features.
Registration is fast, simple and absolutely free so why not join our community today - you'll be glad you did!
For any problems with the registration process or your account, please contact support.
Is there anyway to schedule hibernation? For example MCE doesn't have to work hard to just play music and so there is little difference between that state and idle, so hibernator will put the MCE to sleep - not what I want. But at night I do want it to put it to sleep at idle, so I was thinking if you could add a time schedule, so during the day hibernator will not put the pc to sleep but between a certain time, say at night, hibernator will do its thing. What do you think?
Something is wrong if your machine is going to sleep playing music. You're thresholds aren't set properly. It was designed so that even a tiny amount of disk/network or CPU activity should keep it awake.
Did you profile the machine after a clean reboot before anything else was running?
Cheers,
Arkay.
__________________
The box said 'Requires Windows XP or better' - so I installed Linux . . .
Also, don't rely on what the profiling returns. It makes a good guess and works out of the box on most systems but you can manually fine tune the values before applying the settings.
One way to do this is to start MCE, go to music and play a file and minimise MCE. Start the Hibernator, turn off the screensaver and hit profile. You'll be able to see the values for disk useage that the playing of an mp3 generates.
All you need do is set the disk threshold lower than what is being reported whilst playing an mp3 (when I say lower you should be able to a fair bit lower).
Turn the screensaver back on, update the values and apply the setting and the Hibernator should not sleep while playing music.
Generall and disk reads generate a lot more activity than the default out of the box. I'd be interested to see your CPU, disk and network settings.
Cheers,
Arkay.
__________________
The box said 'Requires Windows XP or better' - so I installed Linux . . .
I do have a problem, though. I'm using hibernator to send the computer to S3 standby. The going into standby works fine, however the batch file on wakeup doesn't get called about half the time. I use this to reset a USB hub that doesn't like standby, and my wife is getting confused when things aren't like they were when she left.
It happened on the last wakeup, and the final section of the log is below:
----------------------
Tue Feb 14 12:06:43 2006 : ( HIBERNATOR) Timeout in 0001 seconds. CPU avg (25.0000%) DISK avg (8.9489 kb/sec) NET avg (0.0029 kb/sec).
Tue Feb 14 12:06:44 2006 : ( HIBERNATOR) Timeout in 0000 seconds. CPU avg (24.5000%) DISK avg (8.6990 kb/sec) NET avg (0.0073 kb/sec).
Tue Feb 14 12:06:44 2006 : ( TIMEOUT) CPU (24.5000 < 26, DISK (8.6990 < 21.662), NET (0.0073 < 5.000).
Tue Feb 14 12:06:44 2006 : ( HIBERNATOR) Suspending (No Force).
Tue Feb 14 12:06:52 2006 : ( EXECUTE) Executing C:\WINDOWS\system32\cmd.exe cmd.exe /C "C:\WINDOWS\Arksofts MCEcleanup.bat".
Tue Feb 14 12:07:18 2006 : ( COMPLETED) C:\WINDOWS\HIBERN~1.SCR Completed.
(end of file)
----------------------
The relevant thing there is that I woke the computer up at around 1645, however the wakeup.bat seems to have been called when it entered standby instead. Windows is not set to send the computer to sleep.
I do have a problem, though. I'm using hibernator to send the computer to S3 standby. The going into standby works fine, however the batch file on wakeup doesn't get called about half the time. I use this to reset a USB hub that doesn't like standby, and my wife is getting confused when things aren't like they were when she left.
It happened on the last wakeup, and the final section of the log is below:
----------------------
Tue Feb 14 12:06:43 2006 : ( HIBERNATOR) Timeout in 0001 seconds. CPU avg (25.0000%) DISK avg (8.9489 kb/sec) NET avg (0.0029 kb/sec).
Tue Feb 14 12:06:44 2006 : ( HIBERNATOR) Timeout in 0000 seconds. CPU avg (24.5000%) DISK avg (8.6990 kb/sec) NET avg (0.0073 kb/sec).
Tue Feb 14 12:06:44 2006 : ( TIMEOUT) CPU (24.5000 < 26, DISK (8.6990 < 21.662), NET (0.0073 < 5.000).
Tue Feb 14 12:06:44 2006 : ( HIBERNATOR) Suspending (No Force).
Tue Feb 14 12:06:52 2006 : ( EXECUTE) Executing C:\WINDOWS\system32\cmd.exe cmd.exe /C "C:\WINDOWS\Arksofts MCEcleanup.bat".
Tue Feb 14 12:07:18 2006 : ( COMPLETED) C:\WINDOWS\HIBERN~1.SCR Completed.
(end of file)
----------------------
The relevant thing there is that I woke the computer up at around 1645, however the wakeup.bat seems to have been called when it entered standby instead. Windows is not set to send the computer to sleep.
Any ideas?
Not really. I haven't seen that sort of behaviour before. From looking at the log it looks like it work up 8 seconds after going to sleep.
Can you possibly test this a little more? Set the timeout as low as possible and let it sleep then wake it up etc. The logic in the code will only execute the batch script after a successful sleep state was reported. I've never seen that sleep state reported incorrectly on any of my machines. The only thing I can think of is that your APM functions might be broken.
Can you also try the same tests with hibernation instead of standby just for interest sake?
Let me know what you find and I'll see what I can do
Cheers,
Arkay.
__________________
The box said 'Requires Windows XP or better' - so I installed Linux . . .
Not really. I haven't seen that sort of behaviour before. From looking at the log it looks like it work up 8 seconds after going to sleep.
Can you possibly test this a little more? Set the timeout as low as possible and let it sleep then wake it up etc. The logic in the code will only execute the batch script after a successful sleep state was reported. I've never seen that sleep state reported incorrectly on any of my machines. The only thing I can think of is that your APM functions might be broken.
Can you also try the same tests with hibernation instead of standby just for interest sake?
Let me know what you find and I'll see what I can do
Cheers,
Arkay.
I've tried this, however by shortening the timeouts to the minimum, it worked every time. I was using a 300 second timeout in Hibernator. I've extended the screen saver timeout and shortened the hibernator timeout to 90 seconds and I'll see how it runs over the next week or so. So far so good.
Take a look at the Microsoft utility called eventtriggers.exe.
You can set a trigger on event 43 (resume after hibernation), so that a batch will be executed.