A1400 porting thread - page 12 - DryOS Development - CHDK Forum

A1400 porting thread

  • 130 Replies
  • 21211 Views
Re: A1400 porting thread
« Reply #110 on: 10 / June / 2015, 16:13:21 »
Advertisements
Scratch this; the CCD was showing in the OSD and was obscuring the zoom; working fine now!

However, when I run the script the zoom setting won't activate; I've tried various steps, up to 100% and it won't zoom when I activate the script. I'm using it without the usb remote plugged in, but should that make a difference?

Re: A1400 porting thread
« Reply #111 on: 10 / June / 2015, 18:09:16 »
I've edited the zoom visibility in OSD Settings and it's activated, but still nothing changes on the OSD when I zoom in or out. Is this to be expected?
Oops.

Updated script attached.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A1400 porting thread
« Reply #112 on: 11 / June / 2015, 11:53:07 »
All works fine, apart from the zoom. I've edited the script to remove the set zoom function; using the script as is seems either not to activate the zoom or cause the camera to shut down. Being able to set the parameters before each shoot is incredibly useful; thanks for providing this script!

A1400 porting thread
« Reply #113 on: 11 / June / 2015, 13:15:48 »
Strange. I tested the zoom stuff on two of my cameras (A1200 & S100) and it works properly.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: A1400 porting thread
« Reply #114 on: 11 / June / 2015, 13:21:44 »
Could there be something enabled in chdk which would create this problem
?

Re: A1400 porting thread
« Reply #115 on: 11 / June / 2015, 13:35:43 »
Could there be something enabled in chdk which would create this problem?
That's always a possability. Or it could be related to a Canon setting like the AutoFocus settings.  But more than likely it's a bug or weakness in the A1400 port.

There was also this comment the other day ( http://chdk.setepontos.com/index.php?topic=12410.msg122841#msg122841 ) about needing a set_zoom_speed( ) prior to using set_zoom( ).  I've never needed to do that on any camera but maybe it would help you?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A1400 porting thread
« Reply #116 on: 11 / June / 2015, 13:41:44 »
Cheers waterwingz I'll take a look!

*

Offline srsa_4c

  • ******
  • 4031
Re: A1400 porting thread
« Reply #117 on: 11 / June / 2015, 14:02:28 »
There was also this comment the other day ( http://chdk.setepontos.com/index.php?topic=12410.msg122841#msg122841 ) about needing a set_zoom_speed( ) prior to using set_zoom( ).
That isn't going to make any difference on this camera, as SetZoomActuatorSpeedPercent is not implemented.

What exactly is the problem? Is the problem affecting both cameras?


Re: A1400 porting thread
« Reply #118 on: 11 / June / 2015, 18:01:03 »
Hi, when the script is activated, with a zoom value entered, nothing happens with the zoom. The zoom indicator doesn't budge. On one of the cameras, this resulted in a power down, but generally the zoom value in the script doesn't appear to work, on both cameras. When I use a slow zoom script to set the zoom in small increments, it's prone to crashing unless I hold the zoom while advancing it. If I zoom sporadically, it crashes the camera.

*

Offline srsa_4c

  • ******
  • 4031
Re: A1400 porting thread
« Reply #119 on: 11 / June / 2015, 18:41:20 »
Hi, when the script is activated, with a zoom value entered, nothing happens with the zoom. The zoom indicator doesn't budge. On one of the cameras, this resulted in a power down, but generally the zoom value in the script doesn't appear to work, on both cameras. When I use a slow zoom script to set the zoom in small increments, it's prone to crashing unless I hold the zoom while advancing it. If I zoom sporadically, it crashes the camera.
What's not clear to me is:
- Do both cameras work correctly when CHDK isn't loaded? Can you zoom back&forth with the zoom lever?
- Do both cameras tend to crash when zooming with the script?
- How does that slow zoom script look like?

Can you get a romlog after such a zoom-related crash?

It's possible that the CAM_NEED_SET_ZOOM_DELAY value needs to be increased in platform_camera.h.

 

Related Topics