A2500 porting thread

  • 154 Replies
  • 19882 Views
*

Offline reyalp

  • ******
  • 10944
Re: A2500 porting thread
« Reply #150 on: 20 / August / 2014, 23:22:02 »
Advertisements
FWIW, I believe the elph130 also suffers from this issue. I haven't got around to investigating.
Don't forget what the H stands for.

Re: A2500 porting thread
« Reply #151 on: 21 / August / 2014, 03:18:04 »
The zoom and focus code controlling the lens mechanisms seems to vary a lot between camera models.
Several newer low-end models seem to use a common 5x zoom lens (specs are the same, the exterior looks the same). My guess is that the lens related code is likely similar.
In this case, I would try looking at the a1400 code (same generation camera, same lens, no IS). Its platform_camera.h already includes the defines suggested by msl, and even more.

I tried on the A1400 and it does not present that problem. So that's maybe the good idea...

Re: A2500 porting thread
« Reply #152 on: 21 / August / 2014, 03:42:08 »
Maybe helps
Code: [Select]
#define CAM_USE_ALT_PT_MoveOpticalZoomAt 1in camera_platform.h

Check also
Code: [Select]
#define CAM_USE_ALT_SET_ZOOM_POINT       1
msl

I recompiled CHDK for the A2500 (trunk 3585) with the proposed modification and it solved the problem! The lens distortion is now correctly taken into account.
Good guess!

*

Offline msl

  • *****
  • 1223
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: A2500 porting thread
« Reply #153 on: 21 / August / 2014, 09:07:10 »
I recompiled CHDK for the A2500 (trunk 3585) with the proposed modification and it solved the problem!
Added in Trunk rev 3586.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!


Re: A2500 porting thread
« Reply #154 on: 06 / March / 2015, 23:32:52 »
Hi All,

I bought a "DEMO"  Ixus 145 on ebay,  the original Ixus i45 box actually contained a a2500...
So I decided to keep it as a spare.
When attempting to port my other Ixus 145 camera I then used the a2500 as a reference camera.

I then noticed that there appears to be several a2500 porting "Errors".

So as I found them I recompiled several new version's with "Error Corrections".

A very quick test confirmed that they compiled, booted and run Ok.

 @ a2500 #1   nafraf "...I started with platform files, I'm using code_gen..."

What was the "Original" reference Camera used.

Are there any other known problems with the "Stable" CHDK a2500 Port.

Comments, Anyone.

H-H

I will post the a2500 "Errors" in a later post

« Last Edit: 06 / March / 2015, 23:46:14 by Hardware_Hacker »

 

Related Topics