Menu

#988 Cannon 70D error setting autofocusdrive

open
5
2015-02-11
2014-09-20
Gaurav Raj
No

Hi, I'm using cannon 70D and according to the supported camera list, its not yet available with libgphoto2. I'm able to set the camera properties using libgphoto and even capture image when it is already focused to some object. But when I try to set autofocusdrive, it gives me same error everytime. Most of the time I get error code -1 and sometimes -6. Can you suggest some way to get this right?

Discussion

  • Marcus Meissner

    Marcus Meissner - 2014-09-21
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2014-09-21

    which version of libgphoto2 is in use?

    its added since 2.5.3.

    can you capture a debug trace?

    gphoto2 --set-config autofocusdrive=1 --debug --debug-logfile=trace.log

     
  • Gaurav Raj

    Gaurav Raj - 2014-11-17

    I'm using 2.5.5.1 version of libgphoto2. Sorry I'm unable to post the debug trace as I don't have the camera right now. I rented it when I was trying to use it. I'll post the debug trace as soon as I get my hands on the Canon 70D.

     
  • Gaurav Raj

    Gaurav Raj - 2015-02-11

    I'm using libgphoto2 version 2.5.6, gphoto2 version 2.5.5 and libgphoto2_port version 0.12.0 on Ubuntu 12.04. To autofocus on Canon EOS 70D camera autofocusdrive doesn't work. I use the following command to autofocus -
    gphoto2 --set-config eosremoterelease=6
    This command successfully focuses on the object first time but camera hangs after that. Any further command shows camera busy error.
    I have attached the error logs for different commands as typed in the following order -
    1. gphoto2 --set-config autofocusdrive=1 --debug --debug-logfile=autofocus.log
    2. gphoto2 --set-config eosremoterelease=6 --debug --debug-logfile=remoterelease.log
    3. gphoto2 --capture-image-and-download --debug --debug-logfile=capture.log

    The first command always fails. The second command executes successfully once but camera hangs after that. So, third command fails to capture image showing following error -

    Error
    Canon EOS Capture failed to release: Perhaps no focus?
    ERROR: Could not trigger image capture.
    ERROR: Could not capture.
    Capture done, waiting 3s.

     

    Last edit: Gaurav Raj 2015-02-11
  • Marcus Meissner

    Marcus Meissner - 2015-02-11

    if 2. does block the camera, uyou will probably need to release the shutterbuitton again in the same command.

    --set-config eosremoterelease=9

    otherwise the camera will consider it held pressed and not allow remote capture.

     

Log in to post a comment.