Hi,
This following command line succeed on my Canon T1i but not on my 5D III (same lens), I tried to modify some parameters on my camera but manualfocusdrive has no effect on my 5D III. I used this lens : 100mm f2.8 IS L.
My firmware is the last one. gphoto version (last one) has been compiled on my Raspberry pi (debian 7.4)
/usr/local/bin/gphoto2 --capture-preview \ --capture-image \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --capture-image \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --set-config-value /main/actions/manualfocusdrive="Near 3" \ --capture-image
Thanks
is the preview still running after capture-image is callerd? can you add perhaps another capture-preview after the capture-image and see if that helps?
also a debuglogfile might help to look what is wrong
Thanks to help me...
I activated --debug.. (I attached the log file)
I notice this error :
On my T1i, same script :
I tried your suggestion to add a capture preview after each capture image. Now, the focus change but not consistent (sometime there is no change :-( )
my new script :
Thanks for your support.
Last edit: Emmanuel BOCQUET 2014-04-25
I'don't understand results are not consistent..
Last edit: Emmanuel BOCQUET 2014-04-25
I tried another tests. With EOS Utility, Manualfocusdrive worked only when Lens is in AutoFocus mode (MF does not permit to do manualFocus from computer). With gphoto2, if I keep AutoFocus mode active on lens, the camera try to focus object (even in capture preview).
I compare EXIF file between Gphoto2 and EOS Utility, and found these differences :
How to record USB data from EOS Utility to Camera (from MacOs) (I will send info)