Re: Issue with gphoto and Sony a7r4 cameras

Marcus Meissner <[email protected]> Thu, 1 Jun 2023 08:52:54 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
Hi,


On Wed, May 31, 2023 at 02:35:26PM -0400, Jude Coelho wrote:
> Hello,
> 
> At the Internet Archive, we use gphoto2 in our book digitization software, and have for many years. We are currently using various Sony camera models, and we are having some trouble with the a7r4 model and its variants.
> 
> Following information in some bug reports, we have found that the camera requires calling capture-image-and-download with a wait-event like so: "gphoto2 --wait-event=3s --capture-image-and-download"
> 
> This allows us to capture from the camera, but even after finishing the command, the camera seems to remain in a not-ready steady for a few seconds afterward, so that if you call a second capture command, it will error, and the camera will become locked and require restarting it before it can capture again.
> 
> Yurii Didyk, a programmer working on the software, has filed a bug report here: https://github.com/gphoto/libgphoto2/issues/907
> 
> He has also just uploaded a log to the bug report demonstrating the issue, where a PTP timeout occurs and it believes the camera is in an unexpected state.
> 
> How can we help to debug and fix this issue? Is there any other information we can provide or tests we can run?
> 
> Thanks in advance for any help and for the continued development of the gphoto software in general.

I am currently not seeing a logfile in the issue.

We had an issue where we need to do initial waits before doing captures, but this fix should be present
for the 7RM4 in 2.5.28 already. (it waits 2.5 seconds currently)

If this is not sufficient we would need to extend the wait to be a bit longer.

A logfile will hopefully help already.

Ciao, Marcus