Re: FILE_ADDED events getting lost

Marcus Meissner <[email protected]> Sun, 11 Oct 2020 17:12:12 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
On Thu, Oct 08, 2020 at 08:57:27AM -0700, Dave Taylor wrote:
,...
> > > Agreed.  I'm guessing it doesn't sound familiar to you, which tells me
> > > maybe I'm doing something wrong on my end to upset libgphoto2?  Is
> > > there anything I should be calling besides gp_camera_wait_for_event()
> > > to keep libgphoto2 in a happy state while waiting for the FILE_ADDED
> > > event to come in from an external shutter press?
> >
> > No, this should be sufficient.
> >
> > The Nikon uses 2 different event get methods, one with usb interrupts
> > and one over a ptp command, we could probably experiment with forcing
> > the more reliable command method :/
> 
> I'm up for that.  Is it pretty straightforward to toggle?

I looked at the code and we currently do that already. :/

Ciao, Marcus