Switch to full style
Post a reply

Sun Jun 17, 2012 1:29 pm

Excellant at last my wince 6 suspend problem is fixed:clap:

Sat Aug 18, 2012 2:27 pm

Fatboyfun, the regedit link 'http://www.4shared.com/file/zU…..gedit.html' doesn't appear to be working? Having the 10 minute sleep mode problem on my Chinese Win 6.0 & TT7.9. TT7 Navigator. mscr file text below. Can run TT7, with a saved route, no problems.

Errorlevel ("off")

RegDeleteKey ("HKLM", "System\CurrentControlSet\Control\Power\ActivityTimers", True, True)
RegDeleteKey ("HKLM", "System\CurrentControlSet\Control\Power\State\SystemIdle", True, True)
RegDeleteKey ("HKLM", "System\CurrentControlSet\Control\Power\State\UserIdle", True, True)
RegDeleteKey ("HKLM", "System\CurrentControlSet\Control\Power\Timeouts", True, True)


Delete ("\SDMMC\United_Kingdom_and_Republic_of_Ireland\MapSettings.cfg")
sleep 100

Delete ("\SDMMC\Navigator\CurrentMap.dat")
Delete ("\SDMMC\Navigator\UserPatch.dat")

sleep 100

XCopy( "\SDMMC\Navigator\MapSettings\*.*", ("\SDMMC\United_Kingdom_and_Republic_of_Ireland\")
sleep 100

SET SETMEM, "\SDMMC\Navigator\SetMem.exe"

Run (%SETMEM%, "70000")
sleep 100

#Start Navigator
#Run(SystemPath("ScriptPath")\"TomTom Navigator.exe")

Run("\SDMMC\Navigator\TomTom Navigator.exe")
Waitfor("TomTom Navigator", 1000)

#set sound volume to max
SetVolume 255

while (WndActive ("TomTom Navigator"))
sleep(15000)
endwhile
Kill("Tomtom Navigator.exe")

Exit

Sat Aug 18, 2012 4:26 pm

I'm wondering if you can use Mortscript's IdleTimerReset command here...

IdleTimerReset resets the idle timer so the countdown to screen off is reset, I've used this on Windows Mobile many times.

I don't have an affected device here to test it on, but an example script would be...

A = 0
While A = 0
IdleTimerReset
Sleep (60000)
EndWhile


Once a minute the idle timer is reset, This code will loop over and over, so it's best to create a new script and call it with the Run command from the first script.

Simple instructions...

Open TT7Navigator.mscr with Notepad and find this section...

while (WndActive ("TomTom Navigator"))
sleep(15000)
endwhile
Kill("Tomtom Navigator.exe")


Change it to...

while (WndActive ("TomTom Navigator"))
sleep(15000)
IdleTimerReset
endwhile
Kill("Tomtom Navigator.exe")


Save, Restart Tomtom, Test and post results...

Sat Aug 18, 2012 8:56 pm

In the testing process. Will post results.

Sat Aug 18, 2012 9:13 pm

I've no idea if it works or not for these devices...

Sun Aug 19, 2012 1:29 pm

Fatboyfun, Added IdleTimerReset line to mscr file. Hard reset. Sleep mode after 10 mins (Doh). Powered up by using power button or discon/connecting power. Still running ok after 35 mins? Dug a bit deeper using Regeditce v2.6 (Trial copy, so can't save/change anything). The registry looks slightly different to that in the mscr file.

My Device
|
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
|
System
|
CurrentControlSet
|
Control
|
Power
|
State
|
ColdReboot
On
Reboot
Resuming
ScreenOff
Suspend
Unattended

With a couple of pointers from you, I am willing to change the 'RegDeleteKey' lines of the mscr file.

Sun Aug 19, 2012 2:25 pm

I don't have my device to hand but I will compare my registry entries later to see what the values are

For a good registry editor/file system browser download one of my unlocks, like universal shell or easy shell and find cecmd.exe and registry.tfx within them, put these two files together on the device and run the exe

This is total commander and the registry editor is in the plugins folder.

Mon Aug 20, 2012 7:17 pm

Just a thought...

The IdleTimerReset command as used above will only work when Tomtom is running, If you need it system wide you will need to create a separate script and call it at startup.

If it works while Tomtom is running, then you don't really need the registry edits, they can be removed from the script.

Thu Aug 23, 2012 9:46 am

Not a lot has changed at present. TT works perfectly (so long as a route is left on the unit at power down). Unit still goes into sleep mode after 10 mins of the initial power up. BUT, after repowering a second time (from sleep), the unit will run until you switch it off? It makes no difference if you put the unit to sleep or off when you reach your destination. It still goes through the sleep mode after 10 mins then ok for the rest of the journey cycle. I will carry on playing with various tweaks and post back with the results.

Sun Aug 26, 2012 1:06 pm

shorty109 wrote:Fatboyfun, Added IdleTimerReset line to mscr file. Hard reset. Sleep mode after 10 mins (Doh). Powered up by using power button or discon/connecting power. Still running ok after 35 mins? Dug a bit deeper using Regeditce v2.6 (Trial copy, so can't save/change anything). The registry looks slightly different to that in the mscr file.

My Device
|
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
|
System
|
CurrentControlSet
|
Control
|
Power
|
State
|
ColdReboot
On
Reboot
Resuming
ScreenOff
Suspend
Unattended

With a couple of pointers from you, I am willing to change the 'RegDeleteKey' lines of the mscr file.


this is the same setup as mine, I'm experimenting at the moment by deleting some reg keys will let you know

Sun Aug 26, 2012 1:28 pm

IdleTimerReset called once a minute will keep a windows mobile device awake indefinitely, I don't have an affected windows ce device to play with though, so feedback is greatly appreciated...

Sun Aug 26, 2012 4:57 pm

managed to brick my sat nav
but found a firmware and reflashed and now working again and it looks like the sleep mode has gone
checked the registry and there are some different settings in the power section


REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\ScreenOff]
@=dword:00000000
"Flags"=dword:00100000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\ScreenOff\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
@=dword:00000004

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Unattended]
@=dword:00000000
"Flags"=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Unattended\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
@=dword:00000004

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Resuming]
@=dword:00000002
"Flags"=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Resuming\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
@=dword:00000004

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\On]
@=dword:00000000
"Flags"=dword:12010000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\UserIdle]
@=dword:00000001
"Flags"=dword:11000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\SystemIdle]
@=dword:00000002
"Flags"=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\SystemIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
@=dword:00000004

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Suspend]
@=dword:00000003
"Flags"=dword:00200000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000004

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\ColdReboot]
@=dword:00000004
"Flags"=dword:00800000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Reboot]
@=dword:00000004
"Flags"=dword:00800000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\ShutDown]
@=dword:00000004
"Flags"=dword:00020000

Sun Aug 26, 2012 5:07 pm

Yep, bricked one unit whilst trying to find difference between 2 registries. Do you have a link for the firmware? (Nothing to lose, already bricked):pray:. Also what are the different settings in the 'Power Section'?

Sun Aug 26, 2012 5:15 pm

IdleTimerReset doesn't have any effect on my working unit. Bricked one unit, looking for new firmware and a way to re-flash it?????? (Only the start up screen and that's as far as it goes)

Sun Aug 26, 2012 9:17 pm

here for the firmware...128mb unit only

[Please Register or Login to download file]

unrar to sd card and switch on the unit should get a blue screen, wait for it to do its thing then should be good to go,
my unit has been on for four hours and no sleep mode :D
Post a reply