gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
995 stars 318 forks source link

Focus issue with Nikon DSC D3500 #311

Open esavolle opened 5 years ago

esavolle commented 5 years ago

Hi,

I'm testing the new Nikon DSC D3500 with gphoto2 2.5.17 / libgphoto2 2.5.17

When using the focus mode AF-A or AF-S, the camera freezes with message on the display "Connected to smart device". It is working with the DSC D3400.

I have made several tests with capture-and-download and trigger-capture, varying the focus mode and the capture target (RAM or internal SDCard) for both the Nikon DSC D3500 and D3400.

The logs are quite big due to capture-and-download so i join them with links

d3500.zip d3400.zip

gphoto2-version.txt

If more tests are needed please just ask.

Btw the USB id for the Nikon DSC D3500 is:

Nikon DSC D3500

usb:v04B0p0445* GPHOTO2_DRIVER=PTP ID_GPHOTO2=1

cwester commented 5 years ago

Can Confirm this problem with the D3500. Any focus mode other than manual causes the camera to lockup.

May be the same issue as #350

First image capture fails to complete. Second image capture takes two images, and completes successfully

The fault alternates between those states. I've attached log files without image data.

D3500-FirstCapture.txt D3500-SecondCapture.txt

In shell mode, the fault only occurs on the first capture, subsequent captures behave correctly.

Craigson commented 5 years ago

Any resolution on this? I'm having the same issue running Raspbian Jessie Lite on a Raspberry Pi, except my camera is definitely on Manual Focus and I'm still experiencing the issue.

avisecag commented 5 years ago

Confirming the issue as well, just ran over it. Here's a fun little thing I found:

But here comes the really weird part: If the first command you run in the new console after closing the frozen one is --capture-image, The camera will immediately respond... and capture two images!

msmeissn commented 5 years ago

we are basically doing the exact same thing as on the D3400, just the cameras never goes "non busy". In current git I abort this busy wait after 5 seconds, but I dont think it will help much.

Mahmood-Hussain commented 5 years ago

@msmeissn is this problem fixed now? or still persists I'm facing same issue with my DSLR D3500 Camera.

Izzvoli commented 5 years ago

Facing the same issue (first no capture at all, then 2 at the same time), I found a method to capture photos correctly.

Reed920 commented 3 years ago

I have the same issue as mentioned above. Is this something I'm doing wrong, something gphoto can do or a problem on Nikon's end? Any updates on the progress of a fix for this or an alternative software I can use?

RaingodSpires commented 1 year ago

Try --trigger-capture command instead. It works on a D3500.

mloodberg commented 2 weeks ago

Try --trigger-capture command instead. It works on a D3500.

This actually seems to work with Nikon D3500, with continuous captures

gphoto2 --trigger-capture --wait-event-and-download=CAPTURECOMPLETE