Re: Issue with gphoto and Sony a7r4 cameras

Jude Coelho <[email protected]> Fri, 2 Jun 2023 17:14:21 -0400
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
--===============6775359554132392121==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_925A9A1F-F351-40E4-A10C-4BBECE331F44"


--Apple-Mail=_925A9A1F-F351-40E4-A10C-4BBECE331F44
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Weird, I thought that this was linked on the issue when I looked at it =
two days ago.


=
https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir2yv/view?usp=
=3Dshare_link=EF=BF=BC


Let me know if there's a better way to share it. It's long, so I didn't =
want to put it here in the email.

Thanks!

-Jude

> On Jun 1, 2023, at 2:52 AM, Marcus Meissner <[email protected]> =
wrote:
>=20
> Hi,
>=20
>=20
> On Wed, May 31, 2023 at 02:35:26PM -0400, Jude Coelho wrote:
>> Hello,
>>=20
>> 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.
>>=20
>> 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=3D3s --capture-image-and-download"
>>=20
>> 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.
>>=20
>> Yurii Didyk, a programmer working on the software, has filed a bug =
report here: https://github.com/gphoto/libgphoto2/issues/907
>>=20
>> 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.
>>=20
>> How can we help to debug and fix this issue? Is there any other =
information we can provide or tests we can run?
>>=20
>> Thanks in advance for any help and for the continued development of =
the gphoto software in general.
>=20
> I am currently not seeing a logfile in the issue.
>=20
> 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)
>=20
> If this is not sufficient we would need to extend the wait to be a bit =
longer.
>=20
> A logfile will hopefully help already.
>=20
> Ciao, Marcus


--Apple-Mail=_925A9A1F-F351-40E4-A10C-4BBECE331F44
Content-Type: multipart/related;
	type="text/html";
	boundary="Apple-Mail=_820D6EAD-87B1-44D9-AF29-E472274700CA"


--Apple-Mail=_820D6EAD-87B1-44D9-AF29-E472274700CA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">Weird, I =
thought that this was linked on the issue when I looked at it two days =
ago.<div><br></div><div><br></div><div><div><div class=3D"apple-rich-link"=
 draggable=3D"true" role=3D"link" =
data-url=3D"https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir=
2yv/view?usp=3Dshare_link" style=3D"-webkit-user-select: all; =
-webkit-user-drag: element; display: inline-block;"><a =
class=3D"lp-rich-link" rel=3D"nofollow" =
href=3D"https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir2yv/=
view?usp=3Dshare_link" dir=3D"ltr" role=3D"button" draggable=3D"false" =
width=3D"300" style=3D"border-radius: 10px; font-family: -apple-system, =
Helvetica, Arial, sans-serif; display: block; -webkit-user-select: none; =
width: 300px; -webkit-user-modify: read-only; overflow: hidden; =
text-decoration: none;"><table class=3D"lp-rich-link-emailBaseTable" =
cellpadding=3D"0" cellspacing=3D"0" border=3D"0" width=3D"300" =
style=3D"table-layout: fixed; border-collapse: collapse; width: 300px; =
background-color: rgb(229, 230, 233);"><tbody><tr><td =
vertical-align=3D"center"><table bgcolor=3D"#E5E6E9" cellpadding=3D"0" =
cellspacing=3D"0" width=3D"300" class=3D"lp-rich-link-captionBar" =
style=3D"table-layout: fixed;"><tbody><tr><td =
class=3D"lp-rich-link-captionBar-textStackItem" style=3D"padding: 8px =
0px;"><div class=3D"lp-rich-link-captionBar-textStack" style=3D"max-width:=
 100%; margin: 0px 16px; overflow: hidden;"><div =
class=3D"lp-rich-link-captionBar-textStack-topCaption-leading" =
style=3D"overflow-wrap: break-word; font-size: 12px; overflow: hidden; =
text-overflow: ellipsis;"><a rel=3D"nofollow" =
href=3D"https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir2yv/=
view?usp=3Dshare_link" draggable=3D"false" style=3D"text-decoration: =
none;"><font style=3D"color: rgba(0, 0, 0, 0.847);">gphoto =
2.log</font></a></div><div =
class=3D"lp-rich-link-captionBar-textStack-bottomCaption-leading" =
style=3D"overflow-wrap: break-word; font-size: 11px; overflow: hidden; =
text-overflow: ellipsis;"><a rel=3D"nofollow" =
href=3D"https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir2yv/=
view?usp=3Dshare_link" draggable=3D"false" style=3D"text-decoration: =
none;"><font style=3D"color: rgba(0, 0, 0, =
0.498);">drive.google.com</font></a></div></div></td><td =
class=3D"lp-rich-link-captionBar-rightIconItem" width=3D"36" =
style=3D"padding: 6px 12px 6px 0px;"><a rel=3D"nofollow" =
href=3D"https://drive.google.com/file/d/18sOsZuONH83wYgBXm8OKGrKXZdfir2yv/=
view?usp=3Dshare_link" draggable=3D"false"><img height=3D"36" =
draggable=3D"false" class=3D"lp-rich-link-captionBar-rightIcon" =
alt=3D"drive_2020q4_32dp.png" =
src=3D"cid:CD31E582-3D37-4E3C-92FA-02EE4F901B78" style=3D"display: =
inline-block; width: 36px; height: 36px; border-radius: 3px; =
pointer-events: none =
!important;"></a></td></tr></tbody></table></td></tr></tbody></table></a><=
/div></div><div><br></div><div><br></div><div>Let me know if there's a =
better way to share it. It's long, so I didn't want to put it here in =
the =
email.</div><div><br></div><div>Thanks!</div><div><br></div><div>-Jude</di=
v></div><div><br><blockquote type=3D"cite"><div>On Jun 1, 2023, at 2:52 =
AM, Marcus Meissner &lt;[email protected]&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><span style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">Hi,</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">On Wed, =
May 31, 2023 at 02:35:26PM -0400, Jude Coelho wrote:</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><blockquote =
type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;">Hello,<br><br>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.<br><br>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=3D3s =
--capture-image-and-download"<br><br>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.<br><br>Yurii =
Didyk, a programmer working on the software, has filed a bug report =
here: https://github.com/gphoto/libgphoto2/issues/907<br><br>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.<br><br>How can we help to debug and fix this issue? Is there any =
other information we can provide or tests we can run?<br><br>Thanks in =
advance for any help and for the continued development of the gphoto =
software in general.<br></blockquote><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">I am =
currently not seeing a logfile in the issue.</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">We had an issue where we need to do initial =
waits before doing captures, but this fix should be present</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">for the 7RM4 in 2.5.28 already. (it waits =
2.5 seconds currently)</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">If this =
is not sufficient we would need to extend the wait to be a bit =
longer.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">A logfile will hopefully =
help already.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">Ciao, =
Marcus</span></div></blockquote></div><br></body></html>=

--Apple-Mail=_820D6EAD-87B1-44D9-AF29-E472274700CA
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename=drive_2020q4_32dp.png
Content-Type: image/png;
	x-unix-mode=0666;
	name="drive_2020q4_32dp.png"
Content-Id: <CD31E582-3D37-4E3C-92FA-02EE4F901B78>

iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADBklEQVR4AWIgFYwC8QYrHYkGCwcA
beUAZFcMQNHMdG3btlmu7fe3tm3btu32o7Zt27ZtpslMs3z5yerOnPF758ZimA6KdAEVleCVgofX
3OQ9SASVcXSt/la4D1iUqzxqUWONEJlwC/HbZmRVqlwyyQv+2q2COVS+o5dKeiE5xPguTPspJrcZ
Eg7vbtH6hgtgfu+uVK9c5KGKXAsk/oSABIdxUcUK9JrjTEZPeAT3AY2yj14mLCJiQsDSTGg5JF/u
NjwEvtmuQcT57FEZVCZ5kCwnAgvFcJ0an1dg8TKLP1gowrdv+zQcSj/9MuEYrUCwNOe79fAqsMZY
f/hjlwqtAPy5W1VaSrmkHk1O8F2Qeun2Zu0bREZll0rVEsm9Fbk6IXLhEZYwWIcEpxCQwSm4D6jw
j14qGcYh/xakyHXBo2PIyVI045JHSLMc8M9ZBdD+GEW+wevMUeIZ3AcMACshshwpx+if4WUi36Af
2+AdzyyxR2WUcrlUEsUhh8FyoREoEnzmOWbh1/d96i7i9/2+KBX083McBU4BkeBbD99+HCU2UUaf
04xn9PhyApSg+78WQ06OZSIomIB1WQZo7V8xC0iFZYAR/BJy7IVrhY4lXlOeYxe+PMcGMPJzp2oI
5yxEARKXwQsGuwxd+Mp58DIoyrAFT0PHb1wTM+LzIh6WD+2/6WN3h6cfOjvBYnRx+vmxp/3ddz2c
GwMSi5aXUi1bXYQ07Npdg+jHPxCQh6Shb97fS4yGL2NDqTxPCPEBeRm8TwWJrtEKhPR7wS0nTG45
7w9N/io2dBcoGsvW5xPF5C4db4pLGCQOf/fnYnqWWIFfZPTFgoTbCsqtWl2CVQa9pYsYdO+yq/jo
40JmAVps2l52QeJfpIBnt3tsEYO9klYFC7x7FxWg/D2wanVhHJZbt7kMawz/+KOsBWr1v/P1WVzE
/wIh7QArpm2v6Fi2unQoqM/zx9wiBvOaTXr0MjZsFYyK+jdY4UPYEY4tn6qcWr5sdmz7sp8S7NT6
eX147b0csOWDEYwCAJuJN71tqVZWAAAAAElFTkSuQmCC
--Apple-Mail=_820D6EAD-87B1-44D9-AF29-E472274700CA--

--Apple-Mail=_925A9A1F-F351-40E4-A10C-4BBECE331F44--


--===============6775359554132392121==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6775359554132392121==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user

--===============6775359554132392121==--