Setting focus from scripts or menus - page 10 - General Discussion and Assistance - CHDK Forum supplierdeeply

Setting focus from scripts or menus

  • 556 Replies
  • 133467 Views
Advertisements
Hi,

Did you copy the updated lua.flt module file to the CHDK/MODULES directory?
Shame on me! NO!
Thanks

By

*

Offline msl

  • *****
  • 1276
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Currently it is a little bit confused. The script version 2.6 is not suitable for mass tests. (without the interlock bypass patch)

Attached is a changed script version 2.6 with a bypass option when the function 'set_focus_interlock_bypass' is not available.

msl
CHDK-DE:  CHDK-DE links

Hi,

SX230HS 1.00c

With Bypass Interlocks set to Yes it crash on test 2). See: mf_test_crash.csv
With Bypass Interlocks set to No, it finish the tests.   See: mf_test.csv

By

Hi,

the results for my
IXUS 970_SD890,100b

with the latest version.
IXUS 970 IS 100b


Hi,

using the former newer testsuites 2.5 and 2.6 with fully updated CHDK 1.3 3299 and 3302 I got the following error messages:

<< :126 attempt to call global 'set_focus_interlock_bypass' (a nil value)
***ABGEBROCHEN*** >>

With the latest modified version of msl while using the default options, the test finished completely without error messages :-)

SX20 1.02d / CHDK-DE 1.3 v3302

Kind regards
Werner_O
« Last Edit: 05 / January / 2014, 06:31:28 by Werner_O »

*

Offline srsa_4c

  • ******
  • 4426
Results for
a430, a460, a470, ixus65_sd630, ixus110_sd960, ixus870_sd880, sx100

tested with focus_bypass5.patch applied, script 2.6

It appears that the script reports failure when PT_MFOn doesn't exist, even though MFOn does (early cams), and the test succeeds.

edit: forgot to mention, the failed sx100 test was a "window" test, again
« Last Edit: 05 / January / 2014, 10:31:17 by srsa_4c »

Currently it is a little bit confused. The script version 2.6 is not suitable for mass tests. (without the interlock bypass patch)  Attached is a changed script version 2.6 with a bypass option when the function set_focus_interlock_bypass' is not available.
I added the option to use focus interlock bypass for 2.6 versions that did not have the patch applied.  If you try to use the bypass with unpatched CHDK the script simply ends with an error when it can't find the function.   But I like msl's way better - I will make it part of the camera setup checks in step one and report it as an error (rather than crashing the script).
Ported :   A1200    SD940   G10    Powershot N    G16

One great thing about working with CHDK is the ability to access the skills of many programmers to work on a common problem.  A unique experience - thanks to all of you.

Updated script attached - v2.7.  Changes include :

  • philmoz fixes for the different event_proc tests.
  • msl changes for detecting if interlock bypass patch is installed
  • srsa_4c issue with on screen pass/fail message for older cameras using MFon failing.  Also refactored to put more of the common code into a single function while fixing this
  • test result filename is now the camera name plus ".csv". On some cams this will be 8.3 format (ugg) and on others you get the full filename  (like my ixus120_sd940.csv).   Some sort of patent issue I understand.
  • test result file cleaned up to be easier to read

Initial test results from people posting here are interesting and I think are telling us exactly what we will need to know.  Running the latest version,  I discovered that one of the event_proc MF tests actually works for my A1200.  Exciting news!

The next step is to either add the patch to 2.6.0 or build a Google Drive directory (lapser style) and place a complete build with the patch for testers to use.    We probably also need detailed instructions for testers dictating the need for a patch version of CHDK,  the need to enable Lua native calls, and what to do if any particular test results in the camera shutting down (i.e. disable that test in the @param meny and rerun the script).
« Last Edit: 09 / January / 2014, 20:16:44 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Anyone able to post a patched version of the SX200IS 1.00D firmware? Don't have a build environment set up.

Thanks

Anyone able to post a patched version of the SX200IS 1.00D firmware? Don't have a build environment set up.
https://app.box.com/s/wy6f2bxtc1zhzsw1hd2i   - SD card lock booting only (sorry)

The 1.00C and 1.00D version of CHDK for the SX200is are the same.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics