ETTR trigger

Started by jnordberg, July 29, 2015, 05:15:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jnordberg

Hi, I'm trying to use the ETTR module for long duration timelapses that i shoot via a raspberry pi using the libgphoto2 library.

But I noticed that it is not triggered after i take a photo via gphoto and i tracked it down to this piece of code (i think, I'm brand new to the Magic Lantern codebase)


PROP_HANDLER(PROP_GUI_STATE)
{
    if (buf[0] == GUISTATE_QR)
    {
        if (AUTO_ETTR_TRIGGER_PHOTO)
            auto_ettr_step();
    }
}


The problem is that when a photo is taken over USB with gphoto the quick review is not triggered. Would it be possible to hook in somewhere else for the "always on" ETTR mode?

dmilligan

You can't trigger it another way, because AETTR needs the QR data as well (during QR, Canon firmware has raw image data in a buffer that is "interceptable", this data is not available outside QR). So the solution would be figuring out how to get gphoto to trigger QR (maybe use an IO pin to 'physically' trigger the shutter via the remote port, rather than using gphoto)