Discussion:
SystemActivity Reset every 1.7 seconds, Suspend Failed.
(too old to reply)
Eric_Ma
2010-04-07 10:08:01 UTC
Permalink
Hi,
I am using CE6, based on ROM File System, and HIV Registery.
Current Problem is: CE6 can not enter suspend mode after specified time. I
enabled the debug messages output in Power Management driver, and found
SystemActivity timer is reset every 1.7 seconds. So system can not enter
suspend after specified time. The debug messages are as follow:

...
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1791
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 109

PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1790
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 110
...

I disabled all the drivers that can be removed, almost only NAND driver and
DDR driver are left. I also select a smallest Handhold device solution in
Platform Builder to generate a simple OS Image. But SystemActivity timer is
reset as normal. I removed all the registery settings which includes
"SystemActivity", too.

Can anybody help to on this issue? who is setting SystemActivity event every
1.7 seconds, or how can I find the SystemActivity event source?

Thanks.
Eric
Eric_Ma
2010-04-07 10:53:02 UTC
Permalink
Solved by myself just after finishing this email.
Not to integrate "Shell.exe", if KITL is not enabled.

Eric
Post by Eric_Ma
Hi,
I am using CE6, based on ROM File System, and HIV Registery.
Current Problem is: CE6 can not enter suspend mode after specified time. I
enabled the debug messages output in Power Management driver, and found
SystemActivity timer is reset every 1.7 seconds. So system can not enter
...
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1791
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 109
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1790
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 110
...
I disabled all the drivers that can be removed, almost only NAND driver and
DDR driver are left. I also select a smallest Handhold device solution in
Platform Builder to generate a simple OS Image. But SystemActivity timer is
reset as normal. I removed all the registery settings which includes
"SystemActivity", too.
Can anybody help to on this issue? who is setting SystemActivity event every
1.7 seconds, or how can I find the SystemActivity event source?
Thanks.
Eric
Eric_Ma
2010-04-07 11:13:01 UTC
Permalink
Just found I already enabled KITL, why shell.exe will set SystemActivity
event every 1.7 seconds.
Post by Eric_Ma
Solved by myself just after finishing this email.
Not to integrate "Shell.exe", if KITL is not enabled.
Eric
Post by Eric_Ma
Hi,
I am using CE6, based on ROM File System, and HIV Registery.
Current Problem is: CE6 can not enter suspend mode after specified time. I
enabled the debug messages output in Power Management driver, and found
SystemActivity timer is reset every 1.7 seconds. So system can not enter
...
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1791
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 109
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1790
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 110
...
I disabled all the drivers that can be removed, almost only NAND driver and
DDR driver are left. I also select a smallest Handhold device solution in
Platform Builder to generate a simple OS Image. But SystemActivity timer is
reset as normal. I removed all the registery settings which includes
"SystemActivity", too.
Can anybody help to on this issue? who is setting SystemActivity event every
1.7 seconds, or how can I find the SystemActivity event source?
Thanks.
Eric
Eric Hu
2011-03-28 15:56:02 UTC
Permalink
You can just delete the ActivityEvent in the StorageManager registry and you will solve the suspend problem.
Post by Eric_Ma
Hi,
I am using CE6, based on ROM File System, and HIV Registery.
Current Problem is: CE6 can not enter suspend mode after specified time. I
enabled the debug messages output in Power Management driver, and found
SystemActivity timer is reset every 1.7 seconds. So system can not enter
...
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1791
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 109
PowerStateManager::ThreadRun: activityEvent = 4
ActivityTimersThreadProc: timer 'SystemActivity' reset
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 1790
PowerStateManager::ThreadRun: activityEvent = 3
ActivityTimersThreadProc: timer 'SystemActivity' reset after timeout
ActivityTimersThreadProc: waiting 100 (0x00000064) ms for next event, wait
interval was 109
ActivityTimersThreadProc: timer 'SystemActivity' has expired
ActivityTimersThreadProc: waiting 4294967295 (0xffffffff) ms for next event,
wait interval was 110
...
I disabled all the drivers that can be removed, almost only NAND driver and
DDR driver are left. I also select a smallest Handhold device solution in
Platform Builder to generate a simple OS Image. But SystemActivity timer is
reset as normal. I removed all the registery settings which includes
"SystemActivity", too.
Can anybody help to on this issue? who is setting SystemActivity event every
1.7 seconds, or how can I find the SystemActivity event source?
Thanks.
Eric
Post by Eric_Ma
Solved by myself just after finishing this email.
Not to integrate "Shell.exe", if KITL is not enabled.
Eric
Post by Eric_Ma
Just found I already enabled KITL, why shell.exe will set SystemActivity
event every 1.7 seconds.
Loading...