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

Setting focus from scripts or menus

  • 601 Replies
  • 156340 Views
Advertisements
I'm trying to generate the CSV file for S100 using s100-101a-1.2.0-3317.
Thanks for that.  However, we already have the test results that we need for the S100.  Regardless,  your questions indicate you have problems with your CHDK installation (see below).

Quote
I got following messages:
no file A/CHDK/SCRIPTS/gen/cnf_osd.lua
no file A/CHDK/LUALIB/gen/cnf_osd.lua
Had a look in MF_test.lua. I also need gen/cnf_core which I couldn't find either.
This means you do not have CHDK installed corrrectly. There are missing files.   What installation process did you follow?

Quote
In the instruction, it said: Lua native calls must be enabled to use SS.MFOn
What does that mean?
It means that you need to go to the CHDK Miscellaneous menu and enable Lua Native Calls.    That being said,  enabling Lua Native calls has nothing to do with your installation problems mentioned above.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4450
s80, ixus30, ixus40

None of them is a regular one.
- I have restricted the s80 to only allow focus adjustments in AFL and movie mode due to bad experiences earlier (see notes.txt if interested).
- The two Ixus port has no half-shoot hook, so overrides only take effect when shooting. That makes all tests fail, but the second number behind "possible focus error" will show that the override actually succeeded. They also don't have any of the MFOn variants.

@WW
You may want to re-check the German testing thread (there is an ixus90 test there).

no file A/CHDK/SCRIPTS/gen/cnf_osd.lua
no file A/CHDK/LUALIB/gen/cnf_osd.lua
This means you do not have CHDK installed corrrectly. There are missing files.   What installation process did you follow?
I followed the one: Make the SD bootable and unzip all files to SD card. It was a while ago and I can't remember the link.

Make the SD bootable and unzip all files to SD card. It was a while ago and I can't remember the link.
If you downloaded the "SMALL" version from the autobuild download page then you did not get all the necessary files.  I'm not really sure why we maintain a small version - it mostly causes problems when people who do not understand the difference use it.

Regardless,  the most current CHDK configuration information is always here :
http://chdk.wikia.com/wiki/Prepare_your_SD_card
and use of the STICK utility linked at the top is very highly recommended to avoid these kind of installation issues.
Ported :   A1200    SD940   G10    Powershot N    G16


If you downloaded the "SMALL" version from the autobuild download page then you did not get all the necessary files.  I'm not really sure why we maintain a small version - it mostly causes problems when people who do not understand the difference use it.
Thank you for the quick response.
I'm using s100-101a-1.2.0-3323-full_BETA.zip which has the LUALIB and SCRIPTS directories, but not the 2 missing files.
I just downloaded the SMALL one to compare. That one hasn't got LUALIB and SCRIPTS directories.

*

Offline reyalp

  • ******
  • 13729
I'm using s100-101a-1.2.0-3323-full_BETA.zip which has the LUALIB and SCRIPTS directories, but not the 2 missing files.
That explains it. The scripts mentioned are specific to the 1.3 development builds from http://mighty-hoernsche.de/trunk/

waterwingz test script also requires 1.3 to bypass the set_focus checks.
Don't forget what the H stands for.

*

Offline zeno

  • *****
  • 889
STICK now (version 1.09) lets you download the 1.3 (test) version rather than the 1.2 (stable) one. It also lets you select the CHDK-DE versions if you want.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

I'm using s100-101a-1.2.0-3323-full_BETA.zip which has the LUALIB and SCRIPTS directories, but not the 2 missing files.
That explains it. The scripts mentioned are specific to the 1.3 development builds from http://mighty-hoernsche.de/trunk/
waterwingz test script also requires 1.3 to bypass the set_focus checks.
Updated the script to v2.12.  Now checks for CHDK 1.3.0 and version 3303 or later.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline poussin

  • *
  • 36
  • A2200
   


needed
  • Download and install the lastest development version of CHDK 1.3.0 for your camera from here : CHDK 1.3.0 Download Page  (rev 3303 or higher). If you have an SD card with CHDK installed already, simply copy the files & folders from the CHDK distribution to that card, preserving the folder structure.
a2200-100d-1.3.0-3337-full_ALPHA
note : don't forget the unlock/lock of the sd card
note: 100b doesn't boot
  • Download this script : MF_test.lua and install in the script directory (/CHDK/SCRIPTS ) on your SD card 
ok
  • Important Note :  enable Lua Native Calls in the CHDK Miscellaneous Stuff menu.
ok
  • Set sure your camera into "P"  mode rather than "AUTO" mode,
    ok
      with ServoAF and ContinuousAF disabled in the Canon shooting menu (if possible)
    how ?
  • Make sure your camera is not in MF (manual focus) or AFL (auto focus lock) modes.
how ?
  • Run the script with the default parameters while watching the progress on your camera's LCD screen.
test 1 passed
test 2 launched then crash
disabling
set_focus
set_aflock
presssw1
allows the test to run
  • Knowing which tests crash is just as important as knowing which fail or pass. If the script stops and the camera hangs or shuts down at any point, you can disable the test it was trying to run at that point with the Script menu.  Then restart the test.  This might happen with more than one test - keep disabling the tests until the script can complete. Knowing which tests crash is just as important as knowing which fail or pass. [IMG]
    • Test results are stored in a file in the root directory of your SD card.  The file name will be your camera model and the extension .csv  (e.g.  a495.csv )(e.g. a1200.csv ) here.

      file attached


Sorry I am not very fluent in Canon camera operation and mastering the HTML code in my replies

Attached are the results from the D20

set_aflock() and SS.Create PT_MFOn both caused the camera to crash and shut down

 

Related Topics