indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
148 stars 64 forks source link

ccd_ptp: Support the FUJIFILM cameras #385

Closed tail-feather closed 3 years ago

tail-feather commented 3 years ago

The following cameras are now supported.

There are still a few more cameras that can be controlled by PTP and will be added in due course.

polakovic commented 2 years ago

Do you think it may work also with X-T2? I added PID to the list and the camera can be controlled to some extent, but the image is not received :

AstroDSLR-1634541101.log

tail-feather commented 2 years ago

I believe it also works with X-T2.

For reference, the FUJIFILM X-Acquire seems to support (Ver.1.6) shooting via PTP. https://fujifilm-x.com/en-us/support/download/software/x-acquire/

tail-feather commented 2 years ago

Please check the following 8-bytes response.

08:11:17.977 indigo_ccd_ptp[ptp_transaction:1027]: request GetDevicePropValue (1015) 000002e4 [0000d212]
08:11:17.977 indigo_ccd_ptp[ptp_transaction:1029]: libusb_bulk_transfer(16) -> OK
08:11:17.977 indigo_ccd_ptp[ptp_transaction:1069]: libusb_bulk_transfer() -> OK, 20
08:11:17.977 indigo_ccd_ptp[ptp_transaction:1079]: data 1015 000002e4 +8 bytes
08:11:17.977 indigo_ccd_ptp[ptp_transaction:1106]: libusb_bulk_transfer() -> OK, 12
08:11:17.977 indigo_ccd_ptp[ptp_transaction:1116]: response OK (2001) 000002e4 []

That value seems to be different for models. https://github.com/indigo-astronomy/indigo/blob/a25a475b134ea9c02b5d34c58faa53b54898c781/indigo_drivers/ccd_ptp/indigo_ptp_fuji.c#L335-L338

polakovic commented 2 years ago

OK, thank you, I'll try to show the returned data at this point...

polakovic commented 2 years ago

Fixed!