Hi,

I haven't tried the preview function yet, if I have time I'll try to have a look at it .

Read More...

Hi,

If you want to try it, it has been merged into the official repository ( github.com/gphoto/libgphoto2/pull/394 )

Berylius

Read More...

Hi,

You can try to download the source here github.com/berylius/libgphoto2.git
and compile it.

Have a look at the INSTALL file in the repository for instructions.

Regards,

Berylius

Read More...

Hi,

It's working so far. The only thing is you have to take the shots in "Native" format, in "Fits" it's not working the driver is crashing during the "subframing" process (I suppose).
I'll make a Pull Request on the libgphoto2.

Berylius

Read More...

Hi,

Work in progress! I have made some progress on the subject. For the moment I try to enable the Bulb mode for the Olympus, and it starts to work!
I successfully send shutter down at the beginning and shutter up at the end. I've some problems with downloading the results, the code changes have been made but I have to wait for this evening for the testing. (All modifications are made in libgphoto2 not Indi)
After that i will have a look into the pentax, a friend of mine has also a K70 and his also interested, so if needed i'll check with him.

Berylius

Read More...

I've analysed the usb trafic for the shutter fonction of the Olympus.

Here are my investigation for the camera in libgphoto2:

The variable for the camera trigger is:
```
/* Olympus OMD series commands */
#define PTP_OC_OLYMPUS_OMD_Capture 0x9481
```
In the function used for the image capture there is indeed

```
uint16_t
ptp_olympus_omd_capture (PTPParams* params)
{
/* these two trigger the capture ... one might be "shutter down", the other "shutter up"? */
PTP_CNT_INIT(ptp, PTP_OC_OLYMPUS_OMD_Capture, 0x3); // initiate capture
ret = ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL);

PTP_CNT_INIT(ptp, PTP_OC_OLYMPUS_OMD_Capture, 0x6); // initiate capture
ret = ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL);

}

```

In case of a normal capture the "ptp_olympus_omd_capture " function is correct but for the Bulb mode it's not because value 0x3 is shutter down
`PTP_CNT_INIT(ptp, PTP_OC_OLYMPUS_OMD_Capture, 0x3)`
and value 0x6 is shutter up
`PTP_CNT_INIT(ptp, PTP_OC_OLYMPUS_OMD_Capture, 0x6)`

so this initiate a short exposure.

We should made 2 differents function, so we could make the Bulb function operationnal.

I will try to make the changes in libgphoto2

Read More...

Hi,

I don't know if it's to be done in Indi or libgphoto, maybe a little in both.
The bulb sequence seems to be done in Indi. (gphoto_start_exposure() and stop_bulb() functions)

But for libgphoto2, it seems that the bulb mode is working only for canon cameras. (I might be wrong)
Now for the function we are talking about (LiveTime or Bulb2) we need a function in libgphoto to only trigger the shutter, but the function "trigger-capture" is also not supported yet in libgphoto for pentax or olympus.
If we could add this in libgphoto and then manage a 2 shutter release in Indi that would be great. (First Trigger-capture then wait x sec and finally capture_image with download)

I'm just starting in this so i have a lot to process, I hope i can be of some help. ;)

Berylius

Read More...