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

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

  • 1640 Replies
  • 541055 Views
*

Offline philmoz

  • *****
  • 3179
    • Photos
Advertisements
ixus125 101a: Small patch to fix nrflag.
Patch posted here

Tested by geopig, report here: http://chdk.setepontos.com/index.php?topic=8085.msg100293#msg100293

Added in revision 2770 (trunk) and 2771 (release-1.1).

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)

*

Offline srsa_4c

  • ******
  • 4285
Some earlier VxWorks cameras don't enable any file operations (haven't actually checked whether open() or read()/write() is the function that doesn't return) while recording a movie. This can be really annoying, since any attempt to load/save something will hang the camera until movie recording is finished (only solution is to pull the battery). Attached patch tries to work around this by making open() and fopen() return with failure when a movie is being recorded.
Does this look acceptable? If anybody can come up with a better name for that #define, I'll gladly accept it. Two cameras are identified so far with the issue: a410, s80. This list may grow a little.
Patch is for trunk, but can be applied to 1.1 too.

*

Offline nafraf

  • *****
  • 1308
Patch to A810, A1300, A2300, A2400, A3400, A4000:
   - Delete unnecessary lookup table implementation used in vid_get_viewport_width() and vid_get_viewport_height()
   - Delete unnecessary functions vid_get_viewport_xoffset() and vid_get_viewport_yoffset() which returns 0
   - Delete 80 from iso_table[], it is not a valid value for these models.

A3400, A2300:
- CAM_USE_ALT_SET_ZOOM_POINT, CAM_USE_ALT_PT_MoveOpticalZoomAt defined in platform_camera.h

A3400
- Fix value passed to LEDDrive() called inside camera_set_led()

A1300.100d:
- PAUSE_FOR_FILE_COUNTER changed to 250. It is the value used in other a1300/a810 fw versions

*

Offline philmoz

  • *****
  • 3179
    • Photos
Patch to A810, A1300, A2300, A2400, A3400, A4000:
   - Delete unnecessary lookup table implementation used in vid_get_viewport_width() and vid_get_viewport_height()
   - Delete unnecessary functions vid_get_viewport_xoffset() and vid_get_viewport_yoffset() which returns 0
   - Delete 80 from iso_table[], it is not a valid value for these models.

A3400, A2300:
- CAM_USE_ALT_SET_ZOOM_POINT, CAM_USE_ALT_PT_MoveOpticalZoomAt defined in platform_camera.h

A3400
- Fix value passed to LEDDrive() called inside camera_set_led()

A1300.100d:
- PAUSE_FOR_FILE_COUNTER changed to 250. It is the value used in other a1300/a810 fw versions

Added in revision 2773 (trunk) and 2774 (release-1.1).

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)


Patch to fix A1200 UI overlay colors when using CHDKPTP.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12739
Patch to fix A1200 UI overlay colors when using CHDKPTP.
Added, trunk changeset 2797 release changeset 2798
Don't forget what the H stands for.

Fix for power up crashing of SX10 per this thread :
http://chdk.setepontos.com/index.php?topic=10009
Patch works on both stable & dev trunks.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12739
Fix for power up crashing of SX10 per this thread :
http://chdk.setepontos.com/index.php?topic=10009
Patch works on both stable & dev trunks.
Added to the release branch, enabled startup fix for all dryos cams in the trunk.
Don't forget what the H stands for.


*

Offline nafraf

  • *****
  • 1308
ixus220_elph300hs: Patch to fix liveview. Tested by fronjd

*

Offline philmoz

  • *****
  • 3179
    • Photos
ixus220_elph300hs: Patch to fix liveview. Tested by fronjd

Added in revision 2816 (trunk) and 2817 (release-1.1).

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)

 

Related Topics