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

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

  • 1685 Replies
  • 845805 Views
Advertisements
IXUS255 / ELPH330HS port for firmware 100f and 100h. See http://chdk.setepontos.com/index.php?topic=10150 and https://github.com/mpetroff/chdk-elph330hs.

I was not able to cleanly apply this patch to either the current revision of 1.2 or 1.3.

Phil.

It applies cleanly for me from the root of the svn tree (i.e. the directory with the trunk, branches, and tags directories). Attached is a new version that applies cleanly for me using
Code: [Select]
patch -p0 < ixus255_elph330hs_v2.patch from the base directory of the development trunk (i.e, the directory containing README, COPYING, camera_list.csv, etc.).

Small patch file to implement this :
... and some way to query the CAM_SD_OVER_IN* values.

Adds a get_sd_over_modes() function to Lua and uBASIC.   Returns a bit map where the bits are :

  • = can set focus in Autofocus mode  (0x01)
  • = can set focus in AFL mode (0x02)
  • = can set focus in MF mode (0x04)
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14125
Small patch file to implement this :
... and some way to query the CAM_SD_OVER_IN* values.

Adds a get_sd_over_modes() function to Lua and uBASIC.   Returns a bit map where the bits are :

  • = can set focus in Autofocus mode  (0x01)
  • = can set focus in AFL mode (0x02)
  • = can set focus in MF mode (0x04)
Added, trunk changeset 3423
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Sorry. Your are right.

I reposted the file (patch).
If you need I can post also the language file

Sorry; but message 563 is still too long.

Phil.


Hi. Msg 563 reduce. Sorry again...

Added in revision 3424.

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
IXUS255 / ELPH330HS port for firmware 100f and 100h. See http://chdk.setepontos.com/index.php?topic=10150 and https://github.com/mpetroff/chdk-elph330hs.

I was not able to cleanly apply this patch to either the current revision of 1.2 or 1.3.

Phil.

It applies cleanly for me from the root of the svn tree (i.e. the directory with the trunk, branches, and tags directories). Attached is a new version that applies cleanly for me using
Code: [Select]
patch -p0 < ixus255_elph330hs_v2.patch from the base directory of the development trunk (i.e, the directory containing README, COPYING, camera_list.csv, etc.).

Added in revision 3425.

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)

Fix for missing "core_spytask_can_start" call in boot.c for ixus960_sd950 per this thread :  http://chdk.setepontos.com/index.php?topic=11498

Tested on 1.2.0, should also work on 1.3.0.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14125
Fix for missing "core_spytask_can_start" call in boot.c for ixus960_sd950 per this thread :  http://chdk.setepontos.com/index.php?topic=11498

Tested on 1.2.0, should also work on 1.3.0.
Added, trunk changeset 3438 release changeset 3439
Don't forget what the H stands for.

Patch to remove menu items related to using battery third terminal remote if CAM_REMOTE_AtoD_CHANNEL is not defined.

Problem reported here : http://chdk.setepontos.com/index.php?topic=10385.msg112854#msg112854

Tested on G10 (no AtoD channel defined) and SD940 (AtoD channel defined). Trunk 1.3.0 rebuilt with patch applied.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Patch to remove menu items related to using battery third terminal remote if CAM_REMOTE_AtoD_CHANNEL is not defined.

Problem reported here : http://chdk.setepontos.com/index.php?topic=10385.msg112854#msg112854

Tested on G10 (no AtoD channel defined) and SD940 (AtoD channel defined). Trunk 1.3.0 rebuilt with patch applied.

Added to trunk in revision 3441.

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)

Per msl's suggestion, I think it's time to enable the HP timer function in scripts.

The attached patch does that for 1.3.0 but leaves the minimum timer interval at 1 mSec for safety.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal