Re: Suspend after Timeout Not Happening





If you take a look at the PDDs available for power manager (default or
PDA), you can see some classes defined for each Power State

WINCE600\PUBLIC\COMMON\OAK\DRIVERS\PM\PDD (should be
pwstates.cpp & pwstates.h)

During the power manager loads, a list of states is created using the
function PowerStateManager::CreatePowerStateList().
While this list is created the flags for each is validated against
what is there set in the registry
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State
\Suspend\Flags]
If it doesn't match, the state validation fails

regards,
Vaisakh P S

On Sep 6, 2:54 am, Ian <I...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm having a problem with the system going into suspend.
1. When I press the power button it goes into suspend fine.
2. When I use the menu Start/Suspend it works fine
3. When I wait for the timer to go off (i.e. 5 minutes) sometimes it will go
into suspend but usually it won't. I haven't been able to figure out the
pattern.

Is is possible that a driver is stopping the system from suspending? If so
what is the mechanism that a driver would use so that I can find the culprit
and perhaps modify it?

I've set the registry settings under
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts
s

Is it documented anywhere what
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Suspend\Flags] mean?

Thanks

Ian

.


Loading