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

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

  • 1640 Replies
  • 541022 Views
*

Offline philmoz

  • *****
  • 3179
    • Photos
Advertisements
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.

Added in revision 3442.

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 file for the S95 to enable the user defined <ALT> key function.

Forum thread > S95, S90 alt button

Also attached is an untested identical S90 patch - posted here for interest only pending somebody volunteering to test ( http://chdk.setepontos.com/index.php?topic=4509.msg112901#msg112901 ).
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3179
    • Photos
Patch file for the S95 to enable the user defined <ALT> key function.

Forum thread > S95, S90 alt button

Also attached is an untested identical S90 patch - posted here for interest only pending somebody volunteering to test ( http://chdk.setepontos.com/index.php?topic=4509.msg112901#msg112901 ).

S95 added to trunk in revision 3443.

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)

Small patch to fix an issue with the RAW/DNG disabled warnings when OSD state display is not enabled.  The warnings still display in that case (as they should) but they scroll vertically down the screen.

AFAIK, this is only a problem in 1.3.0.   The code in 1.2.0 is a bit different.

edit :  1.2.0 has the same bug - it's just is a different place.  And the gui_osd in 1.2.0 is a mess anyway - I found another bug while fixing this one - there should be a law about using single letter variable names for global variables !  A somewhat more complicated patch file is attached.
« Last Edit: 01 / June / 2014, 18:28:45 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline reyalp

  • ******
  • 12737
Small patch to fix an issue with the RAW/DNG disabled warnings when OSD state display is not enabled.
Added, trunk changeset 3453

edit:
and release changeset 3454
« Last Edit: 01 / June / 2014, 18:41:16 by reyalp »
Don't forget what the H stands for.

Here's a simple patch based on a conversation with reyalp on IRC the other day.

The idea is to force an error message on the screen if there are no modules on the SD card (i.e. typically due to an incorrect install). This should give a quick indication to a newbie that something is wrong and also make it easy to answer forum posts that initiate from an invalid install (especially those due to incorrect use of dual partition cards).  It uses the state display OSD space in much the same way that RAW exception warnings are displayed.

Currently the displayed string is ?No Modules? .  I'm open to anything else prettier and/or more descriptive that will fit in the 12 character space available (e.g  Bad Install / CHDK Borked / SDCard Error ?).   I suppose we could actually "internationalize" the string too.

Patch is for 1.3.0 - if it seems like a good idea I can do a 1.2.0 version.
« Last Edit: 01 / June / 2014, 19:24:59 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Patches for problem with fast Ev switch mode where enabling the mode caused Canon menus to no longer respond to the Up/Down keys as reported here : http://chdk.setepontos.com/index.php?topic=11557
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12737
Patches for problem with fast Ev switch mode where enabling the mode caused Canon menus to no longer respond to the Up/Down keys as reported here : http://chdk.setepontos.com/index.php?topic=11557
Added, trunk changeset 3455 release changeset 3456 (adjusted slightly to compile)
Don't forget what the H stands for.


*

Offline reyalp

  • ******
  • 12737
Here's a simple patch based on a conversation with reyalp on IRC the other day.

The idea is to force an error message on the screen if there are no modules on the SD card (i.e. typically due to an incorrect install).
Added in trunk changeset 3459 with some further modification based on our discussion in irc.

The is "ERROR MISSING MODULES" and is drawn unconditionally. It only checks fselect at startup, but this should be enough to catch the cases where people got the modules in the wrong place etc.

It might be worth extending this at some point to show the error if any of the core modules (like script, dng, fselect...) fail to load due to missing file or mismatched version.
Don't forget what the H stands for.

Patch for the ixus125_elph110hs to enable the Video key to perform the CHDK functions normally performed by the DISP key.  Code borrowed from the S100.

Discussion here : 
    http://chdk.setepontos.com/index.php?topic=8085.msg113632#msg113632
and
    http://chdk.setepontos.com/index.php?topic=10361

CHDK 1.3.0 only.

Update : patch file deleted pending update of other ixus125 functions.
« Last Edit: 21 / June / 2014, 15:53:41 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics