Gphoto2, version 2.4.99 and the Canon 20D (February, 2009)

It is February of 2009, and I it is time to rebuild gphoto2 to the latest svn code base and see how things go with my Canon 20D on a USB tether. I have gotten in touch with the folks on the gphoto-devel@lists.sourceforge.net mailing list, and with their help, hope to get this working.

The svn update brings in lots of changes after only a month, so nobody can say that this is not an active project. Here is what I am now working with.

(/u1/archive/gphoto_svn) cholla $ svn info
Path: .
URL: https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk
Repository Root: https://gphoto.svn.sourceforge.net/svnroot/gphoto
Repository UUID: 21bdcb62-e50e-0410-80e4-ae60ad24c865
Revision: 11794
Node Kind: directory
Schedule: normal
Last Changed Author: marcusmeissner
Last Changed Rev: 11794
Last Changed Date: 2009-02-10 12:34:18 -0700 (Tue, 10 Feb 2009)
After this, I do the following to rebuild and install the new version:
(I previously did yum install libtool-ltdl-devel to get libltdl)
cd libgphoto2
make clean
make
make install
cd ../gphoto2
make
make install
Now, I turn the camera on, ensure it is in "Normal" mode, connect the USB cable and try the first command:
(~/gphoto2) cholla $ /usr/local/bin/gphoto2 --summary
Detected a 'Canon:EOS 20D (normal mode)'.                                      
Camera summary:

Camera identification:
  Model: Canon:EOS 20D (normal mode)
  Owner: unknown

Power status: on battery (power OK)

Flash disk information:
  Drive A:
  2'039'545'856 bytes total
  1'553'858'560 bytes available

Time: 2009-02-10 15:15:03 (host time +0 seconds)
Now we try and trigger a remote capture.
(~/gphoto2) cholla $ /usr/local/bin/gphoto2 --capture-image
Detected a 'Canon:EOS 20D (normal mode)'.                                      
New file is in location /DCIM/154CANON/_MG_5472.CR2 on the camera
This command caused the shutter to click and an image to be placed on the flash card, perfect!

Now I try this new command I was just advised to try:

(~/gphoto2) cholla $ /usr/local/bin/gphoto2 --capture-image-and-download
Detected a 'Canon:EOS 20D (normal mode)'.                                      
New file is in location /DCIM/154CANON/_MG_5473.CR2 on the camera
ERROR: Could not get image.
ERROR: Buggy libcanon.so?
*** Error (-108: 'File not found') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list , please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image-and-download

Please make sure there is sufficient quoting around the arguments.
This command caused the shutter to click and an image to be placed on the flash card, but absolutely nothing written to disk.

Next I try the capture-preview command. I do it twice and get different results each time, as follows. The first time it sounds like the camera is focusing but no shutter click and I get the 113 error. The second time I hear the shutter click, but get the 114 error. There are now two empty files on disk:



Feedback? Questions? Drop me a line!

Tom's Digital Photography Info / tom@mmto.org