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

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

  • 1679 Replies
  • 782454 Views
*

Offline reyalp

  • ******
  • 14079
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1410 on: 06 / December / 2014, 22:06:09 »
Advertisements
Corrects the Powershot N,  Powershot N Facebook,  S100, and A1200.   

All tested  on 1.3.0 (except n_facebook camera) with vidtest.lua and now perform properly (i.e. no reported errors).
Added, trunk changeset 3775
Don't forget what the H stands for.

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1411 on: 12 / December / 2014, 19:05:35 »
I'd like to request / propose that the GPS changes documented here be added to 1.3.0  : New GPS functionality for the SX230 .

My rationale is that the changes :
  • fix several bugs that can cause crashing in the current code
  • greatly increase stability
  • improve the usability of the UI. 
  • make the code more maintainable and accessable due to the translation to English

I'd also like to see it get into 1.3 prior to it becoming stable so that I only have to write one addition to the user manual for 1.3.0 & 1.4.0.

There are several updates still to do as suggested in the forum thread linked above.  But those can wait and become part of 1.4.0
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1412 on: 19 / December / 2014, 20:03:25 »
Before this gets "stepped on" again,  patch file for the GPS code suitable for 1.4.0.

Builds cleanly against the new 1.4.0 trunk.

Once this is in,  I'll work on the enhancements mentioned in the GPS thread.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1413 on: 19 / December / 2014, 21:25:01 »
Before this gets "stepped on" again,  patch file for the GPS code suitable for 1.4.0.

Builds cleanly against the new 1.4.0 trunk.

Once this is in,  I'll work on the enhancements mentioned in the GPS thread.

Added to 1.4 in revision 3828.

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)


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1414 on: 19 / December / 2014, 23:39:26 »
It is probably worth adding rudi's patch from here :  http://chdk.setepontos.com/index.php?topic=12076.msg118315#msg118315 to the 1.3.0 build.

I've tested his changes as part of the 1.4.0 patch and encorporated them there.  It fixes the bug mentioned in the thread linked here.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1415 on: 20 / December / 2014, 15:33:16 »
It is probably worth adding rudi's patch from here :  http://chdk.setepontos.com/index.php?topic=12076.msg118315#msg118315 to the 1.3.0 build.

I've tested his changes as part of the 1.4.0 patch and encorporated them there.  It fixes the bug mentioned in the thread linked here.

Added in revision 3832.

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)

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1416 on: 04 / January / 2015, 12:36:52 »
Several minor/cosmetic cleanups to 1.4.0 GPS code. 
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1417 on: 04 / January / 2015, 17:08:18 »
Several minor/cosmetic cleanups to 1.4.0 GPS code.

Added in revision 3883.

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)


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1418 on: 13 / January / 2015, 21:09:22 »
Fix for video button interaction with Canon shooting mode per this discussion :  http://chdk.setepontos.com/index.php?topic=12163.msg119879#msg119879

Has no effect on cameras without video button (none needed).

On camera with video button that have no CHDK defined Canon shooting modes that contain the 0x0400 video bit, it prevents the return of a null shooting mode.  Tested on S100 using USB Remote Control Mode [ Video ].

On camera with video button but with defined Canon modes that contain the 0x0400 video bit,  everything works as before.  Tested on Powershot N using USB Remote Control Mode [ Video ].
.
Edit : deleted 1.3.0 patch file - contents were bizarre
« Last Edit: 14 / January / 2015, 00:14:33 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #1419 on: 13 / January / 2015, 23:09:32 »
Fix for video button interaction with Canon shooting mode per this discussion :  http://chdk.setepontos.com/index.php?topic=12163.msg119879#msg119879

Has no effect on cameras without video button (none needed).

On camera with video button that have no CHDK defined Canon shooting modes that contain the 0x0400 video bit, it prevents the return of a null shooting mode.  Tested on S100 using USB Remote Control Mode [ Video ].

On camera with video button but with defined Canon modes that contain the 0x0400 video bit,  everything works as before.  Tested on Powershot N using USB Remote Control Mode [ Video ].
.

1.3 patch uses VID_REC_ACTIVE_BIT in shooting.c instead of CAM_MASK_VID_REC_ACTIVE. It also includes spurious changes for SX240 & SX260 (looks like a partial failed patch).

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