gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
1.05k stars 325 forks source link

Canon EOS 750D capture image failure #403

Open dhamp opened 5 years ago

dhamp commented 5 years ago

Camera on trigger capture not return image.

Canon EOS 750D usb id 04a9:32a1 Firmware: 1.0.0 Lenses: 1) EF50mm f/1.8 II 2) EF28mm f/1.8 USM Manual Focus in infinite on all lenses.

output of: gphoto2 --version gphoto2 2.5.20.1

Copyright (c) 2000-2019 Lutz Mueller 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.20.1 gcc, popt(m), exif, no cdk, aa, jpeg, readline libgphoto2 2.5.22.1 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

builded commit libgphoto2 - https://github.com/gphoto/libgphoto2/commit/be9b616822e02814eb19e86f94a43bf41abd6ef7 builded commit gphoto2 - https://github.com/gphoto/gphoto2/commit/7a48ea37832bcd19e17b80afef2f7f2d426419f3

To Reproduce Power on camera. Cover lens. Try capture image by gphoto2

With 50mm lens is most hard reproduce(more randomly). With 28 mm lens may break on first capture after power on camera. Without lens - all work fine. Capture using EOS Utility on Windows - all work fine. Capture via hardware capture button - all work fine.

log_gphoto2.fail_canon_eos_750D_1.txt log_gphoto2.nice_canon_eos_750D.txt

May be my ticket equal to this https://github.com/gphoto/gphoto2/issues/199

dhamp commented 5 years ago

log_gphoto2.fail_canon_eos_750D_30.txt log_gphoto2.fail_canon_eos_750D_31.txt

more logs.. 30 - nice 31 - bad

dhamp commented 5 years ago

gphoto2 --filename capt$i.jpg --set-config eosremoterelease=2 --wait-event-and-download="FILEADDED" --set-config eosremoterelease=4 --wait-event="CAPTURECOMPLETE" --wait-event=1s --debug --debug-logfile=log_gphoto2.canon_eos750D$i.txt --force-overwrite

via this command work stable

I rewrite my code which using libgphoto2. on change eosremoterelease via gp_widget_set_value instead of gp_camera_trigger_capture(or gp_camera_capture), it also work stable on first test...