Now if I boot by pressing just the playback or on/off buttons the value in 0x26e4 is 0x00400000 on return from that subroutine.Unfortunately, that's also the value when the camera wakes up due to the GPS chip.
So I'm wondering is we lose something during the fake firmware update reboot?
I guess I could just try forcing the other two bits in 0x26e4 ( 0x00800000 & 0x0400000) and see what happens.
Does GPS logging even work when CHDK is set to autoboot?
QuoteSo I'm wondering is we lose something during the fake firmware update reboot?If sub_ff022bd8 really does what I suspect, then probably yes (the fw variables it is using are located just above 0x1900).Since both fw update and autoboot starts by copying CHDK to 0x1900, most fw variables are lost before CHDK starts running.
I'll experiment with it. The GPS in the S100 is pretty poor - it can take ten minutes to get a signal lock on a clear sunny day so experimenting is not much fun.
I'll try figuring out what another poster mentioned, about some native CHDK logger
I'm wondering if there is something that could be done in the boot loader to recognize the GPS start and not do the firmware update/autoboot step.
Update : ran two test - one with CHDK enabled and the other with it disabled. In the CHDK disabled test, the camera creates a log file called 1505090.LOG in A/DCIM/CANONMSC/GPS. With CHDK enabled, no file is created.
A question: what happens after the GPS wakes up the camera the first time (when CHDK is involved)? Will it continue to wake up until GPS logger is deactivated in the menu?
When the camera wakes up with CHDK loaded, it stays woken up as CHDK prevents it from turning off (at least the way I have it configured). If you then press the power button to turn the camera off, it will shut down but then wake up again a few minutes later.
I guess I could try setting Disable LCD Off [ Always ] ?
Anyway, this seems too hard to crack, probably not worth the trouble.
That is the setting that doesn't let the camera go off.
We could add a goofy mode to the S100 where you have to hold either the power or On/Off buttons down at startup or the camera does not complete starting.
But we would still need to figure out how to enable whatever the camera was trying to do on a GPS wakeup.
( I should have said Disable LCD Off [ Never ] )
Started by vine General Discussion and Assistance
Started by ledom Hotwire! Hardware Mods, Accessories and Insights
Started by antiparanoic Feature Requests
Started by Cell General Help and Assistance on using CHDK stable releases
Started by Salimander General Help and Assistance on using CHDK stable releases