gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
703 stars 117 forks source link

Fuji X-T2 - Bulb mode not working / Exposure & Shutter times strange looking / Ekos exposure times out by factor of ~100 #340

Open ACMACMACM opened 4 years ago

ACMACMACM commented 4 years ago

Hi Marcus,

Ive had a chance to test GPhoto2 with my Fuji X-T2 and unfortunately theres some weird things happening, but hopefully nothing that cant be fixed.

Camera setup: My camera has a physical dial with 3 shooting modes: A (auto), B (bulb), T (timed), and also a way to shoot in either MS (mechanical shutter) or ES (electronic shutter), or MS&ES (both).

Testing method: I tested image capture from the command line, and then if that worked, also in Ekos capture module and noted the results.

PC Connection Modes: I tested all 3 camera tether modes on the Fuji X-T2 under 'PC Connection Mode' menu:

Saving the image: So using the PC Connection Method from here on in of 'USB Tether Shooting AUTO', in all cases the image was only stored on the Pi. I could not get an image to save to the card, but not a huge problem.

Data Indicator Lamp: Normal if using the '--capture-image-and-download', but if you simply use '--capture-image' then the 'indicator lamp' flashes orange and green continuously, as if data transfer was taking place, even long after images had been captured. It actually never stopped.
Even after I had turned power off to the camera (which didnt actually power off the camera) the indicator lamp went solid orange as if data transfer was even still taking place. Only when i removed the USB cable did the camera finally completely turn off.

Results: (B)ulb mode ONLY works with the ES shutter and it only shoots 1s images (which is a Fuji limitation on the BULB/ES combo anyway). However if MS shutter or MS&ES shutter is selected, BULB mode stops working altogether and wont capture an image. (logfile attached below). So i cant use this for astrophotography however this would be the top solution if this was working. (A)utomatic mode works (MS, ES, both) but cannot control the shutter speed at all (as the camera controls that for what it considers to be an optimal exposure). Again, cant use this for astrophotography. (T)imed mode (ES) works in the following way:

Logfiles: BULB Mode Mechanical Shutter not working I also created a logfile for BULB Mode with Electronic Shutter (that shot the 1s image successfully) but its 220MB in size. Let me know if you might want that for any comparison. KStars Timed mode out by a factor of 90 to 110

Additional info: Also, the 'Preset' time values on the Ekos tab:'Gphoto CCD' had very high & unusual looking values. Images attached below. Exposure times Shutter Speeds

Versions: GPhoto version: 2.5.23, libgphoto2: 2.5.24.1 (even though i did upgrade to 2.5.25 it still says 2.5.24.1), libgphoto2_port 0.12.0. The X-T2 camera was in the mentioned above modes, connected to a Raspian Raspberry Pi 4B.

In a perfect world 1) Hopefully, the BULB mode issue when set to MS / MS&ES can be fixed. 2) Alternatively, the TIMED mode working in Ekos with the correct exposure times (without the long wait time) would also work for Astrophotography.

Many thanks,

lfbmendes commented 4 years ago

I'm also very interested in a solution about this issue. If you need a tester, please let me know.

riccardolardi commented 3 years ago

Just wondering if there‘s any update on this? Wondering if a X-T1 or X-T2 could be used for astrophotography with Ekos.

sperho commented 3 years ago

I have an X-T3 and an X-T4, but many of the OP's described issues (except for the factor of 100 error) apply to these cameras, too. I would love to use my Fuji X cameras for astrophotography as well. Is there any progress on debugging the fuji INDI driver? Thanks.

msmeissn commented 3 years ago

I rented a Fuji XT-3 for the weekend, largely integrating other stuff.

Do you know a free (for download) windows app that allows bulb shooting where I could sniff traffic?

riccardolardi commented 3 years ago

@msmeissn hey I was trying to do te same. Are you going to use wireshark? I know there is a the official Fuji iOS app for wifi tethering

sperho commented 3 years ago

I rented a Fuji XT-3 for the weekend, largely integrating other stuff.

Do you know a free (for download) windows app that allows bulb shooting where I could sniff traffic?

I replied to you or other post on this issue, but I just remembered that you can tether via the free Fuji X-Aquire Windows application downloadable from the Fuji site. I can test this evening to see it can do bulb exposures.

riccardolardi commented 3 years ago

There is also this https://github.com/hkr/fuji-cam-wifi-tool where soneone already started reverse engineering the fuji remote system

sperho commented 3 years ago

I rented a Fuji XT-3 for the weekend, largely integrating other stuff. Do you know a free (for download) windows app that allows bulb shooting where I could sniff traffic?

I replied to you or other post on this issue, but I just remembered that you can tether via the free Fuji X-Aquire Windows application downloadable from the Fuji site. I can test this evening to see it can do bulb exposures.

I tested Fuji X-Acquire with the X-T3 and it can only read the state of the camera (including BULB), but it cannot release the shutter. Its function as it relates to tethering is to 1) offer the user the ability to review the camera's settings on the computer as they are set on the camera dials and 2) an automatic transfer of files after the shutter is released on the camera itself.

msmeissn commented 3 years ago

yes, i tried xacquie too and it only reads from the camera, it cannot control it. i tried also fuji webcam, but it dos not have remote capture mode (just live view streaming with some control)

I used USBpcap to capture .pcap files and read them with wireshark on linux

msmeissn commented 3 years ago

I used windows 10 ... not sure how to do it in Apple iOS

lfbmendes commented 3 years ago

There is also this https://github.com/hkr/fuji-cam-wifi-tool where soneone already started reverse engineering the fuji remote system

This uses the protocol between smartphone and camera, and does not work for more demanding work (studio photo, astrophoto, etc).

As soon as I can, I'll buy the Fuji tether plugin pro, that allows camera control from the PC. Too bad it costs 80 dollars.

riccardolardi commented 3 years ago

I would love to help if possible. What is your general approach, sniff the USB traffic to determine the protocol? I'm Linux savy and know my way around wireshark and I own a Fuji X-T10. Let me know how I can help

msmeissn commented 3 years ago

fuji-cam-wifi-tool ... i have the sources, but our current libgphoto2 implementation exceeds it already. Especially the capture code is not doing the special tricks we already do , and no bulb capture.

The xt10 does not support capture over USB I am afraid, it might over WLAN.

lfbmendes commented 3 years ago

The xt10 does not support capture over USB I am afraid, it might over WLAN.

Sort of. It shoots, and it transfers. But in two different modes, one to shoot and another to receive. And the camera keeps thinking between modes. And it only transfer a low resolution JPG. I suggest focusing on the cameras that support tethering.