Tried the S95 fix. G10 and SD940 still shutdown after a few manual zoom steps via the script. Tried the G12 fix. Same problem. Commenting out _MoveZoomLensWithPoint((short*)&newpt); in wrappers.c stops the crash - but of coarse the zoom does not move either.
Try finding the _PT_MoveOpticalZoomAt function and using the SX30 version.
Quote from: philmoz on 10 / November / 2011, 21:41:50Try finding the _PT_MoveOpticalZoomAt function and using the SX30 version.Assuming that #define PROPCASE_DIGITAL_ZOOM_MODE 91 is right for propset2 & propset3, then using the SX30 code causes the camera to reset right after the first attempt to set the zoom position. The other way I sometime got 6 or 7 zoom steps before a shudown.Again, commenting out the call to PT_MoveOpticalZoomAt lets the script run, so I'm pretty sure I got the patch right.
Can you generate a ROMLOG after the crash when using _MoveZoomLensWithPoint.Then we can see where it is crashing and maybe track down why.
Quote from: philmoz on 10 / November / 2011, 22:48:38Can you generate a ROMLOG after the crash when using _MoveZoomLensWithPoint.Then we can see where it is crashing and maybe track down why.Okay - both versions from my G10.
Need to know which firmware version and also need the main.dump file from the core directory for each build.
Quote from: philmoz on 10 / November / 2011, 23:16:00Need to know which firmware version and also need the main.dump file from the core directory for each build.G10 1.02aworking on the main.dump - got the one for MoveZoomLensWithPointhttp://www.box.net/shared/2yc1ovmes6lb6na335eoLost the wrappers.c file for the other build. I guess I can reconstruct if this one is not sufficient ?
One thought occured to me - is the crash affected by the focus distance set before you start to zoom? If you pre-focus to infinity before running the script does it alter things?
Edit: looks like it's in the focus code, not the zoom code in the firmware. Do you have Servo AF or Continuous AF turned on? Does changing these have any effect?
I played with the G10 focus options ( there are five menu items so many permutations ). So far I can confirm that setting Continuous AF to Single results in no crashing. So if the camera does not refocus then poking in zoom commands from a script does not cause crashes. Servo AF does not seem to be related to crashes.
Started by RickShelton
Started by Microfunguy
General Discussion and Assistance
Started by barianet
« 1 2 3 »
Started by Rogerio
« 1 2 »
Started by arjayagbunag