OS: Windows CE 6.0 R2
Updates: Rollup and Jan 2008-Apr2008
Arch: ARM
Recently I've noticed that my display driver is not always powering up
after coming out of sleep mode. Through some debugging I've Noticed
that one of three scenarios are occurring when resuming from sleep /
suspend mode. Of these, only one situation results in a success
setup.
When everything is working the Display Driver's DrvEscape routine
(overloaded from DDGPE) gets a Power Request to move to D3 (Suspend)
where it stays until the system is requested to power up. At this
time it gets a request to transition to D2 (Standby) followed by
another request to move to D1 (Low On.)
In one of the situations that fails, it behaves exactly like the
Success case except the final call into Power State D1 never arrives
(or any other power state.)
In the final failure situation after getting a power state change to
D2 it receives a power state change to D4 (Shutdown) instead of D1 or
D0.
I am also using the Default Power Manager, with all Timeouts set to 0
(Disabled) (AC/Batt User/System/Suspend)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power
DisableGWESPowerOff=1
ScreenPowerOff=0
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\States
(These are Keys with the default value)
On=D0
ColdReboot=D4
Reboot=D4
Resuming=D2
Suspend=D3
SystemIdle=D2
UserIdle=D1
SystemIdle has the Display Class ID with D4
Suspend has the NDIS Class ID with D4.
Thank you, any help is appreciated.
Brad.