How do I keep the camera active between commands like wait-event?

Dalton Hornor <[email protected]> Sun, 17 Aug 2025 18:55:17 -0700
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAJrP8g_7=WCBNWVOBvi=pf=apBivmt=9D=_b4yf7OZW9PVV0qw@mail.gmail.com>
--===============2543499686957337759==
Content-Type: multipart/alternative; boundary="000000000000b017d6063c9a08bf"

--000000000000b017d6063c9a08bf
Content-Type: text/plain; charset="UTF-8"

Perhaps this belongs in the dev list but this isn't related to the
development of libgphoto2 but I am developing with it.
That being said, I have an Olympus E-M1 MII and when ptp is connected the
rest of the camera is unresponsive when no commands are sent for a few
seconds until the next command is sent.

I assume there is some sort of timeout where if nothing is sent to the
camera it goes inactive. So I'm trying to control my camera with a custom
program I'm writing but I want it to be always active.
When using --wait-event command it stays active so I've tried looking at
what wait-event does but I was unable to find it. I tried looking at the
usb traffic and it doesn't look like there is anything from the client
being sent regularly to keep it active.

--000000000000b017d6063c9a08bf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Perhaps this belongs in the dev list but this isn&#39=
;t related to the development of libgphoto2 but I am developing with it.=C2=
=A0</div><div>That being said, I have an Olympus E-M1 MII and when ptp is c=
onnected the rest of the camera is unresponsive when no commands are sent f=
or a few seconds until the next command is sent.<br></div><div><br></div><d=
iv>I assume there is some sort of timeout where if nothing is sent to the c=
amera it goes inactive. So I&#39;m trying to control my camera with a custo=
m program I&#39;m writing but I want it to be always active.</div><div>When=
 using --wait-event command it stays active so I&#39;ve tried looking at wh=
at wait-event does but I was unable to find it. I tried looking at the usb =
traffic and it doesn&#39;t look like there is anything from the client bein=
g sent regularly to keep it active.=C2=A0</div></div>

--000000000000b017d6063c9a08bf--


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


--===============2543499686957337759==
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

--===============2543499686957337759==--