Unexpected Hibernate

R

riddler

Hello,

I have made a XP embedded with HORM/EWF.
i enable the use of hibernate and set the timings to
presentation(never going in to hibernate).
i hibernate and resume.
If i don't use the mouse or keyboard, my system hibernates after
maximum 8 minutes.(sleep or powerbutton isn't pressed)
If i use my keyboard or mouse once, my system will stay up and
running.

This problem happens always: EWF enabled or disabled,HORM enabled or
disabled.
Has anyone incountered the same problem?
does anybody have an idea how i can find the source of the hibernate?

Best Regards,
riddler
 
K

KM

riddler,

Don't have a fix for you but just wanted to mention that I am seeing (easy to repro) the same problem on some hardware running not
only XP but Vista. If I hibernated the image once and than resumed the OS, it gets into a sleep state (hibernates again) after a few
minutes if there was no mouse/keyboard activity since the resume time.
Checked all the obvious places (logs, events, etc.) and found nothing suspicious there, Perhaps having the system connected to
another PC and using KD (kernel debugger) may shed some light on the problem (OS debug build spits out some useful output sometimes)
but the issue is not high priority for me so I won't be spending time on the investigation in near future.
 
J

JS

This is done to avoid accidental resume from hibernates draining the
battery.
(eg: laptop being jostled in laptop bag)

see: http://support.microsoft.com/kb/318355/en-us

Something you might try is using powercfg.exe to adjust
the active power profile to disable hibernation.
(set up some process to run powercfg.exe when the system resumes from
hibernate)

Alternatively, you could try SendKeys or SendInput

And something sure to work is writing your own driver
and generating a keyboard or mouse event.
 
K

KM

That explains it. Thanks JS!

Yeah, I also ended up with a simple app that sends out a keyboard stroke event on resume. IIRC, only inconvenience was that I had to
hibernate the OS from within my code to control the resume. Powercfg approach would suffer from the same.
 
R

riddler

Thank you JS!
It is indeed a device that works on a battery.
This is the explanation that i was looking for.
The work-arounds i already figured out but the problem was explaining
the hibernate.

also thx KM for your info.

Regards,
riddler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FP2007 + Horm Issues 3
Yet another Horm Question 1
Hibernation protecting other disk?? 4
HORM 1
horm doesnt restore after shutdown 1
Windows 7 Help with setting up HORM 0
Black screen after resuming from hibernate. 1
EWF HORM!! 3

Top