gphoto / gphoto2

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

Nikon d7500 --trigger-capture and --capture-image fail #656

Closed spydazcomputers closed 3 weeks ago

spydazcomputers commented 3 weeks ago

I can currently --capture-image-and-download and a file is created that I can view.

calling gphoto2 --trigger-capture will trigger the camera however no file is recorded on the camera calling gphoto2 --capture-image will trigger the camera and report that a file is stored on the camera but the file is not actually created.

Additional testing shows that if I open the shell and then triggered the camera, it appears as if the file is stored on the camera. However, when exiting the shell, the file is deleted.

USING the following on Window Subsystem for Linux

gphoto2 2.5.27 Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of gphoto2 under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options: gphoto2 2.5.27 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.27 standard camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

spydazcomputers commented 3 weeks ago

solved gphoto2 --set-config capturetarget=1