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

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

  • 1654 Replies
  • 580067 Views
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #470 on: 03 / October / 2011, 19:47:44 »
Advertisements
If someone can explain how to correct the addresses, assuming little foreknowledge, I can do that, but I have little time the next two weeks...
If you read through the stubs_entry.S file,  you will see that it flags where things it found do not match some of the values you have found in shooting.c,  stubs_min.S, lib.c, kbd.c, platform_camera.h and stubs_entry_2.S.   The values in stub_entry.S are probably correct so you need to be really sure why the values you put into those other files do not match.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #471 on: 04 / October / 2011, 00:28:06 »
Patch file to add outslider's editor to the CHDK/SCRIPTS directory under subdirectory EDITOR.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #472 on: 06 / October / 2011, 11:38:48 »

*

Offline fe50

  • ******
  • 3131
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #473 on: 07 / October / 2011, 05:33:56 »
@Glomeris
Delete (or rename) your CHDK config file on the SD card ( \CHDK\cchdk.cfg ).


*

Offline philmoz

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #474 on: 07 / October / 2011, 20:09:46 »
Hi Phil,

Here is the patch with capt_seq included. Sorry for that. I don't know how to check/correct the addresses in stubs_entry.S, but so far, things seem to be working.
If someone can explain how to correct the addresses, assuming little foreknowledge, I can do that, but I have little time the next two weeks...




Added in changeset 1353.

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

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #475 on: 07 / October / 2011, 20:12:10 »
Patch file to add outslider's editor to the CHDK/SCRIPTS directory under subdirectory EDITOR.


Added in changeset 1354.

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 #476 on: 08 / October / 2011, 15:47:03 »
@Glomeris
Delete (or rename) your CHDK config file on the SD card ( \CHDK\cchdk.cfg ).



Hi fe50. I did not realize that build 1352 set my camera "Autostart" "on"; I just set that to "off". Done this, A470 1.00E build 1352 works as use to do previous builds. Sorry, next time I'll ask before shooting...

« Last Edit: 08 / October / 2011, 15:51:26 by Glomeris »

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #477 on: 09 / October / 2011, 10:28:40 »
Hi! I've ownloaded the lastest (1359) release from autobuild for sx130is firmware C, but the EDITOR directory is empty... I looked also in a few other cameras builds and always it's empty. Any reason or a mistake?

If it's a mistake I suggest to wait untill this evening I'll post a new vrsion of editor with file_browser() command used and then apply another, working patch.

Greetings;)
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #478 on: 09 / October / 2011, 16:32:24 »
Ok, I made a new version of editor (http://chdk.setepontos.com/index.php?topic=6465.0). But I'm not really sure, how to make a patch. When somebody find a piece of time could do this;)
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

*

Offline philmoz

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #479 on: 09 / October / 2011, 17:30:34 »
Hi! I've ownloaded the lastest (1359) release from autobuild for sx130is firmware C, but the EDITOR directory is empty... I looked also in a few other cameras builds and always it's empty. Any reason or a mistake?

If it's a mistake I suggest to wait untill this evening I'll post a new vrsion of editor with file_browser() command used and then apply another, working patch.

Greetings;)

Forgot to update the Makefile rules to include the editor directory in the .zip files.
Will fix this tonight and include the latest version of the script..

Phil.

Edit:- New version and makefile fix in changset 1361.
« Last Edit: 10 / October / 2011, 03:41:11 by philmoz »
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