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

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

  • 1679 Replies
  • 788684 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #640 on: 30 / January / 2012, 04:05:02 »
Advertisements
A question: finsig_dryos reports different addresses for "rename" and "write". Is there a way to test which function is the correct one?

The 'rename' and 'write' firmware functions aren't actually used anymore so it doesn't really matter.
There are a bunch of functions in the signature find process that aren't needed, just haven't found time to clean them up.

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 srsa_4c

  • ******
  • 4451
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #641 on: 30 / January / 2012, 21:07:35 »
@reyalp
Thanks, tested quickly both cameras, with success (trunk, 1.0).

@philmoz
Now I see, should have looked before. I thought CAM_STARTUP_CRASH_FILE_OPEN_FIX affected the whole set of (open, close, read, write, ...), but apparently it only affects open().

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #642 on: 04 / February / 2012, 04:44:38 »
I would like to submit this patch for stable release 1_0 to add firmware 100c to my a3300 port. Thanks.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #643 on: 04 / February / 2012, 20:43:29 »
I would like to submit this patch for stable release 1_0 to add firmware 100c to my a3300 port. Thanks.

Added in changeset 1638.

Note, all A3300 versions are now included in the autobuild server (to align with CHDK-DE).

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 #644 on: 08 / February / 2012, 19:48:54 »
I've been experimenting with working only in Linux on CHDK.   So I took the liberty of using mland's  A800-100.c port to exercise the linux svn commands.   I've attached a patch file for the latest build for trunk rev 1650 - the dev trunk.  Its not a Windows TortoiseSVN file so I will be curious to see if its useful ?

http://chdk.setepontos.com/index.php?topic=7409.msg81169;topicseen#msg81169

The only change that I made from his zip file was to change the case of the sub directory from 100C to 100c.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #645 on: 19 / February / 2012, 12:28:35 »
Update for USB remote code in dev trunk.

1) Implements CHDK-DE feature that allows the current script to start based on a USB remote press (with addition of menu item to allow enable / disable of feature).

2) Adds a link from Remote Menu to Bracketing in Continuous Mode menu ( user convenience when using USB remote's continuous mode ).

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14082
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #646 on: 19 / February / 2012, 15:06:38 »
Update for USB remote code in dev trunk.
Added, changeset 1682
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #647 on: 23 / February / 2012, 19:26:29 »
The following is a cumulative patch for the ixus220hs / elph300hs.

- Should Could fix the USB-related E41 error, as reported by c10ud here. It was probably caused by a typo in boot.c . (I had to hunt down the difference in the diff c10ud has provided but he deserves the credit for his work.) The patch restores a constant to its original value.

- Also fixes a problem for 1.01g that made movie recording impossible. It was a typo again, the patch restores a function address to its original value. This was tested by Fischauge in the German forum here.

edit: I'm no longer sure about the above fixing E41 as the Ixus220 and Ixus230 kbd.c's are a bit questionable at places...
Nevertheless, the patch does fix actual mistakes.
« Last Edit: 23 / February / 2012, 21:56:52 by srsa_4c »


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #648 on: 24 / February / 2012, 05:38:55 »
The following is a cumulative patch for the ixus220hs / elph300hs.

- Should Could fix the USB-related E41 error, as reported by c10ud here. It was probably caused by a typo in boot.c . (I had to hunt down the difference in the diff c10ud has provided but he deserves the credit for his work.) The patch restores a constant to its original value.

- Also fixes a problem for 1.01g that made movie recording impossible. It was a typo again, the patch restores a function address to its original value. This was tested by Fischauge in the German forum here.

edit: I'm no longer sure about the above fixing E41 as the Ixus220 and Ixus230 kbd.c's are a bit questionable at places...
Nevertheless, the patch does fix actual mistakes.

Added in revision 1688.

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 #649 on: 24 / February / 2012, 19:27:50 »
Patch file 9 for USB remote v2 update.  Allows cameras with separate video button to activate filming via USB remote.

Thanks to msl for making this happen.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics