Ixus275/Elph350 HS porting thread - page 2 - DryOS Development - CHDK Forum  

Ixus275/Elph350 HS porting thread

  • 47 Replies
  • 4242 Views
*

Offline Caefix

  • ***
  • 213
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #10 on: 08 / January / 2020, 11:49:00 »
Advertisements
 :D YesWeCanon!
All lifetime is a loan from eternity.

*

Offline Caefix

  • ***
  • 213
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #11 on: 08 / January / 2020, 14:32:37 »
 8) Only real problem here seems: set_zoom crash at pos 102.
Collected some stuff in former post.
All lifetime is a loan from eternity.

*

Offline Caefix

  • ***
  • 213
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #12 on: 29 / January / 2020, 11:02:34 »
 ??? Now I know, where to do next testshot, but I non´t know, when...
All lifetime is a loan from eternity.

*

Offline srsa_4c

  • ******
  • 4229
Re: Ixus275/Elph350 HS porting thread
« Reply #13 on: 01 / February / 2020, 06:51:11 »
Now I know, where to do next testshot, but I non´t know, when...
If that means you're expecting a fix to this:
Only real problem here seems: set_zoom crash at pos 102.
... then there are two issues.
1) There appears to be no source published for this port which can explain why no-one commented on that problem.
2) I'm not convinced that someone making a blind port likes to leave their work incomplete (partially untested) like in this case.


*

Offline blackhole

  • *****
  • 765
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #14 on: 01 / February / 2020, 09:03:48 »
If I'm going to have some free time,I'll do a test build tomorrow.
Hopefully someone will do more extensive testing and send the report more extensively than "it works well" or "it doesn't work".

Poslano sa mog GT-I9301I koristeći Tapatalk


*

Offline blackhole

  • *****
  • 765
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #15 on: 02 / February / 2020, 12:20:32 »
8) Only real problem here seems: set_zoom crash at pos 102.
Collected some stuff in former post.
NUM_FL is now set to 101,assumed number.
sig_finder detected 551 entries,seems a lot.

In the CHDK menu, go to:
CHDK settings >> OSD settings >> Miscellaneous values
Set Show misc values to [Always]
Show zoom [.]
Zoom value [EFL]
See if the focal length display in misc values looks reasonable at min and max zoom levels (25-300 mm).

Source code and test build attached.

EDIT: source code update (focus_len_table)
« Last Edit: 09 / February / 2020, 07:55:33 by blackhole »

*

Offline Caefix

  • ***
  • 213
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #16 on: 03 / February / 2020, 15:57:45 »
 ??? Sorry, not the time today, but...

main.c needs

// Conversion factor lens FL --> 35mm equiv
// lens      35mm     CF
// ----      ----     --
//  4.5       25      (25/4.5) * 18 = 100  (min FL)
// 54        300      (300/54) * 18 = 100  (max FL)
#define CF_EFL      100
#define CF_EFL_DIV  18


Minor issues:
I need romlog.lua to get romlog.txt.
The logged timestamp is allways 1970/1/1 # 0:0:1, filedate ok.
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 765
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #17 on: 04 / February / 2020, 03:27:29 »

main.c needs

// Conversion factor lens FL --> 35mm equiv
// lens      35mm     CF
// ----      ----     --
//  4.5       25      (25/4.5) * 18 = 100  (min FL)
// 54        300     (300/54) * 18 = 100  (max FL)
#define CF_EFL      100
#define CF_EFL_DIV  18

or

// Conversion factor lens FL --> 35mm equiv
// lens      35mm     CF
// ----      ----     --
//  4.5       25      (25/4.5) * 45 = 250  (min FL)
// 54        300     (300/54) * 45 = 250  (max FL)
#define CF_EFL      250
#define CF_EFL_DIV  45


*

Offline Caefix

  • ***
  • 213
  • Sorry, busy deleting test shots...
Re: Ixus275/Elph350 HS porting thread
« Reply #18 on: 04 / February / 2020, 14:40:39 »
 :) Thx for the build & source.

The 100/18 type returns 25..75mm, the 250/45 >> 25..125
(btw it´s switchable by FW-up | boot method with my compilation.)
I took the i170 as base (same lens), if it´s false here, then there probably too.
(i170 has #define NUM_DATA    2; I tried both, no diff seen.)

comparing #5234 & #5216:
Now I need a zoomdelay of 300ms to avoid
ASSERT!! AFScanDriver.c Line 1596
Task name: AFTask
...
00079890: SS:OptAt=20 3
00080290: SS:AFUL
---
That´s new, no delay needed in old build with...

Testfile, run in defaults:
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 765
  • A590IS 101b
    • Planetary astrophotography
Re: Ixus275/Elph350 HS porting thread
« Reply #19 on: 04 / February / 2020, 18:39:38 »
Manually zoom to max and then run this script, you will see the number of zoom steps.

 

Related Topics