gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Canon camera only takes picture first time

Open michilehr opened this issue 1 year ago • 3 comments

Describe the bug

I am not able to take a picture after the first one. When I try to take a second picture by running gphoto2 --capture-image, I get following error:

*** Error ***
Canon EOS Full-Press failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***

Name the camera

Model                          Port
----------------------------------------------------------
Canon EOS 1500D                usb:001,006

libgphoto2 and gphoto2 version

gphoto2 2.5.27

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.27         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.27         standard camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

To Reproduce Please see description

michilehr avatar Sep 07 '22 09:09 michilehr

Now I have following error:

*** Error ***
Canon EOS Full-Press failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-110: 'I/O in progress') ***

When I run --debug, I have following error in the log:

2.698714 camera_trigger_canon_eos_capture [library.c:5924](0): no focus info?

I have updated gphoto2 to the lastest version:

gphoto2 2.5.28

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.28         gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2      2.5.30         standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

michilehr avatar Sep 07 '22 10:09 michilehr

I also have this issue, Ubuntu 20.04 gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, jpeg, readline libgphoto2 2.5.30 standard camlibs (SKIPPING docupen), gcc, no ltdl, EXIF libgphoto2_port 0.12.1 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

Canon EOS 1500D

Happens after first photo, even when using --debug:

*** Error ***
PTP Timeout

*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): No error description available ERROR: Could not capture image. ERROR: Could not capture.

*** Error ***
PTP Timeout

*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): No error description available

jesswhyte avatar Sep 07 '22 16:09 jesswhyte

This might be a timing / delay issue :/

@michilehr can you capture a debug trace of this success full run and attach it here?

Does it also happen when you save to logfile directly via --debug --debug-logfile=debug.log ?

msmeissn avatar Sep 17 '22 11:09 msmeissn