Adding new cameras, applying patches into trunk (with source code prepared) - page 135 - General Discussion and Assistance - CHDK Forum

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1685 Replies
  • 846406 Views
Advertisements
It is for version 1.3, but in attachment is updated version  :).

Update for czech lng file.

Is this for version 1.2 or 1.3?

Phil.

Patch for ixus125_elph110hs.  Upgrade to this (redacted) patch : http://chdk.setepontos.com/index.php?topic=650.msg113650#msg113650  to include better set_mf() functions and enable RAW shortcut toggling.

Tested here : http://chdk.setepontos.com/index.php?topic=11078.msg113791#msg113791
Ported :   A1200    SD940   G10    Powershot N    G16

Fixes for various issues with the IXUS1000/SD4500 port.
  • My 100b version seems identical to 100d except that it's called SD4500 instead of IXUS1000.
  • The alt mode key is configurable between Movie and Playback. Movie is still the default.
  • The DNG active area, color matrix, and white and black points are corrected.
  • Override subject distance should work.
  • Other minor fixes.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Patch for ixus125_elph110hs.  Upgrade to this (redacted) patch : http://chdk.setepontos.com/index.php?topic=650.msg113650#msg113650  to include better set_mf() functions and enable RAW shortcut toggling.

Tested here : http://chdk.setepontos.com/index.php?topic=11078.msg113791#msg113791

Added in revision 3476 (trunk).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
It is for version 1.3, but in attachment is updated version  :).

Update for czech lng file.

Is this for version 1.2 or 1.3?

Phil.

Added in revision 3477 (trunk).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Fixes for various issues with the IXUS1000/SD4500 port.
  • My 100b version seems identical to 100d except that it's called SD4500 instead of IXUS1000.
  • The alt mode key is configurable between Movie and Playback. Movie is still the default.
  • The DNG active area, color matrix, and white and black points are corrected.
  • Override subject distance should work.
  • Other minor fixes.

Thanks for that.

Can you provide a firmware dump please, just want to verify that it is compatible with 100d.

A couple of suggestions before I commit this:
- modelist.h already has MODE_SCN_WINK_SELF_TIMER and MODE_SCN_FACE_SELF_TIMER, do we really need two new entries?
- the color matrix entries (platform_camera.h) all have the denominator set to 1,000,000 (was done by the original port). A value of 10,000 probably makes more sense (e.g. first entry would be 1.4134, not 0.014134)

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Submitted :  a patch file to add the IXUS115_ELPH100HS  fw  1.00c, 1.01a, 1.01b&1.01c  to the dev trunk & autobuild.

Someone asked me to compile an SDM test version for the IXUS115 101c.

So, I quickly ported a build for 101b, a fairly trivial task.

Except ..... it refuses to boot.
Absolutely nothing happens.
This has never happened with any earlier or later camera ports to SDM.
Because SDM still uses the loader code that has a separate resetcode folder, I tried using all the loader files from changeset 1977, but it makes no difference.
(I do not fully understand the loader code anyway.)

Have there been any changes to CHDK PLATFORM code that affects cameras whose firmware version (101c) is identical to another version (101b) ?


*

Offline philmoz

  • *****
  • 3450
    • Photos
Submitted :  a patch file to add the IXUS115_ELPH100HS  fw  1.00c, 1.01a, 1.01b&1.01c  to the dev trunk & autobuild.

Someone asked me to compile an SDM test version for the IXUS115 101c.

So, I quickly ported a build for 101b, a fairly trivial task.

Except ..... it refuses to boot.
Absolutely nothing happens.
This has never happened with any earlier or later camera ports to SDM.
Because SDM still uses the loader code that has a separate resetcode folder, I tried using all the loader files from changeset 1977, but it makes no difference.
(I do not fully understand the loader code anyway.)

Have there been any changes to CHDK PLATFORM code that affects cameras whose firmware version (101c) is identical to another version (101b) ?

No changes that I am aware of that would cause this.
There was some work done on checking platform and version at startup; but this has not yet made it into SVN.

Does CHDK work on the camera?
Are you sure it's an IXUS115 and not an ELPH115 (IXUS132)?

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Fixes for various issues with the IXUS1000/SD4500 port.
  • My 100b version seems identical to 100d except that it's called SD4500 instead of IXUS1000.
  • ...
Can you provide a firmware dump please, just want to verify that it is compatible with 100d.
https://yotann.org/~tmp/ixus1000_sd4500_100b.bin
Quote
A couple of suggestions before I commit this:
- modelist.h already has MODE_SCN_WINK_SELF_TIMER and MODE_SCN_FACE_SELF_TIMER, do we really need two new entries?
There are already duplicates for many other modes because they aren't hidden under a SCN menu like in other cameras. Someone apparently thought that was important enough to make new modes. I've switched to the existing MODE_SCN_ entries, but I haven't changed the existing non-SCN duplicates, which are also used by a few other cameras.
Quote
- the color matrix entries (platform_camera.h) all have the denominator set to 1,000,000 (was done by the original port). A value of 10,000 probably makes more sense (e.g. first entry would be 1.4134, not 0.014134)
Fixed.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Fixes for various issues with the IXUS1000/SD4500 port.
  • My 100b version seems identical to 100d except that it's called SD4500 instead of IXUS1000.
  • ...
Can you provide a firmware dump please, just want to verify that it is compatible with 100d.
https://yotann.org/~tmp/ixus1000_sd4500_100b.bin
Quote
A couple of suggestions before I commit this:
- modelist.h already has MODE_SCN_WINK_SELF_TIMER and MODE_SCN_FACE_SELF_TIMER, do we really need two new entries?
There are already duplicates for many other modes because they aren't hidden under a SCN menu like in other cameras. Someone apparently thought that was important enough to make new modes. I've switched to the existing MODE_SCN_ entries, but I haven't changed the existing non-SCN duplicates, which are also used by a few other cameras.
Quote
- the color matrix entries (platform_camera.h) all have the denominator set to 1,000,000 (was done by the original port). A value of 10,000 probably makes more sense (e.g. first entry would be 1.4134, not 0.014134)
Fixed.

Added in revision 3478 (trunk).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal