gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Cannon T7 PTP Device Busy

Open btmccord opened this issue 2 years ago • 1 comments

I am having a issue with controlling a Cannon T7

When the camera is powered on the it executes the first command (ex. --capture-image-and-download) without issue. However when I run the same or any other command subsequently I get the following error.

pi@raspberrypi:~/gphoto2 $ gphoto2 --capture-image-and-download

*** 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') ***

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 [email protected], 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.

The interesting thing is that if I run "gphoto2 --capture-image-and-download --debug" the command executes without issue.

The --reset command seems to have no effect

Version Info

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

btmccord avatar Mar 24 '22 01:03 btmccord

Having same issue, when I run subsequent capture-image-and-download or capture-image commands, e.g. gphoto2 --capture-image-and-download --filename=outputfile.jpeg, I get:

*** 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') ***       

But if I run, gphoto2 --capture-image-and-download --filename=outputfile.jpeg --debug --debug-logfile=my-logfile.txt, the command executes and I'm able to take a photo.

Running: gphoto2 2.5.23 gcc, popt(m), exif, cdk, 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

gphoto2 --auto-detect 
Model                          Port                                            
----------------------------------------------------------
Canon EOS 1500D                usb:001,013     

It's a Canon EOS Rebel T7

jesswhyte avatar Aug 30 '22 22:08 jesswhyte