gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Canon EOS 5D mark IV would stuck at recording when turned off after using gphoto2 to capture an image

Open shaizohar opened this issue 2 years ago • 3 comments

Describe the bug

When setting capturetarget=1 (card) and turning the camera off camera would hang on recording screen (remaining images: number of taken images, although all images are already on the card when taken)

Name the camera Canon EOS 5D Mark IV usb:001,007

libgphoto2 and gphoto2 version gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline libgphoto2 2.5.28 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

To Reproduce gphoto2 --auto-detect --set-config capturetarget=1 --debug --debug-logfile=eos5dmk3-gphoto2.5.14.log --capture-image

I am attaching the log , however Gphoto is long not running but it seems as if because an image was taken while it was running, the camera is trying to do something still, the only way out of this would be to pull the USB cable outside eos5dmk3-gphoto2.5.14.log .

shaizohar avatar Feb 07 '22 19:02 shaizohar

if the camera reports that, usually it means a image left in the SDRAM capture buffer... e.g. as if capturetarget setting to card did not work.

msmeissn avatar Feb 08 '22 09:02 msmeissn

Hi marcus, but the image is being saved on the card, furthermore if i disconnect the cable the message would disapper and the image is still there.

Let me know if its possible to somehow debug this further?

Shai

Sent from my Galaxy

-------- Original message -------- From: Marcus Meissner @.> Date: 2/8/22 11:41 (GMT+02:00) To: gphoto/gphoto2 @.> Cc: Shai Zohar @.>, Author @.> Subject: Re: [gphoto/gphoto2] Canon EOS 5D mark IV would stuck at recording when turned off after using gphoto2 to capture an image (Issue #486)

if the camera reports that, usually it means a image left in the SDRAM capture buffer... e.g. as if capturetarget setting to card did not work.

— Reply to this email directly, view it on GitHubhttps://github.com/gphoto/gphoto2/issues/486#issuecomment-1032405527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXU5VQCI6FDGBBLC2U2VNE3U2DQLZANCNFSM5NYLEYWA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

shaizohar avatar Feb 08 '22 10:02 shaizohar

the capturetarget persists in the setting file usually... can you move setting it out of the commandline?

msmeissn avatar Feb 08 '22 10:02 msmeissn