Primo power management or auto shutdown?   

Postby Fatboyfun » Mon Jun 04, 2012 8:25 pm

The problem with GPS devices is they are designed to do one thing and one thing only, Windows CE can be customized for whatever reason the vendor wants, so all the parts of Windows CE which are not needed to do this one thing are left out, which is fine if the device is to be used as intended, Problems arise when it is not, The Mio/Navman devices with the three position switch do not handle a suspend request properly, most of the time switching straight back on again.

Here is a little script i wrote a while ago that will suspend the device on loss of external power.

The scripts you linked to above use the notification queue to run the ScreenOff/On utilities, These just turn off the screen so the device is still on, however on some devices it just turns off the backlight. And they don't work on every device.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 403 times

Postby SpEc_OpS » Tue Jun 05, 2012 3:10 am

ok i see what your saying and accept that BUT

can i install a different version of ce to make it work? Or could another script be written to force the device into a custom defined power state where it turns everything off and simply slows down the processor state to a bare minimum to be re instated to normal processing power on connection of external power and then also initiate the screen back on gps back on etc?
SpEc_OpS offline


Junior Member



 
Joined: Thu May 31, 2012 4:02 pm
Posts: 11
Has thanked: 0 time
Been thanked: 0 time

Postby chas521 » Tue Jun 05, 2012 3:17 am

SpEc_OpS wrote:ok i see what your saying and accept that BUT

can i install a different version of ce to make it work? Or could another script be written to force the device into a custom defined power state where it turns everything off and simply slows down the processor state to a bare minimum to be re instated to normal processing power on connection of external power and then also initiate the screen back on gps back on etc?


If it can be done then Fatboyfun is the man.
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1332 times

Postby Yurbuh Tuggly » Tue Jun 05, 2012 5:41 am

SpEc_OpS wrote:can i install a [color="#FF0000"]different version of ce[/color]

[color="#FF0000"]That[/color] is very unlikely.
WinCE is 'installed' by a flash ROM, normally.
Finding a compatible ROM with a different WinCE is very unlikely. Usually impossible.

And just so you know (and as a [color="#FF0000"]warning[/color] to others), if you find some ROM somewhere, that did not come specifically from the manufacturer of your specific device, and you somehow manage to initiate a flash process, you are most likely to end up with an unrecoverable brick of a device.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 774 times

Postby SpEc_OpS » Tue Jun 05, 2012 8:47 am

Well that absolutely sucks dogs balls i wonder how navman manage to make it happen

ok so i have another idea this is how my device starts up appsartup.ini runs pnadesktop then i have autorun.mscr start then kill navman software (at the same time starting up the bluetooth software and powerbutton.exe

when i look in the windows files using filemanager ce the pm.dll (power management.dll) appears so theoretically i should be able to make a custom power state to stop everything eg display, gps, bt etc but only slow the processor down to a bare minimum when the external power is unplugged so that it can still run these events to check when external power is plugged in and re-instate everything like gps, bt, display and put processor back to full power does this sound about right?

If thats all good and well the only thing is i definately dont have the knowledge to write this script or whatever i need to do so is there any of you guys out there that do, Im happy to use my device as the guinea pig and no hard feelings if it gets bricked its pretty much useless to me and going to be replaced anyway with one that does turn off with external power if we cant get it working.
SpEc_OpS offline


Junior Member



 
Joined: Thu May 31, 2012 4:02 pm
Posts: 11
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests


cron