gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Fuji GFX 50 R incorrect work of "capture-tethered" mode

Open NovoMar opened this issue 2 years ago • 5 comments

Describe the bug

Hi everyone. I use Fujifilm GFX50R camera and try capture-tathered mode.

I'm trying from console sudo gphoto2 --capture-tethered --force-overwrite - it works only if I take one or more photo before. Then I get in console:

sudo gphoto2 --capture-tethered --force-overwrite

Waiting for events from camera. Press Ctrl-C to abort.                         
Saving file as DSCF0002.jpg

*** Error ***              
PTP Access Denied
*** Error (-1: 'Unspecified error') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <[email protected]>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-tethered --force-overwrite

Please make sure there is sufficient quoting around the arguments.

If I try other command gphoto2 -I 20 -F 1000 --capture-image-and-download --filename "%Y%m%d%H%M%S.jpg - it works fine

If I try capture-tethered mode from shell and put release button every second I get in console:

*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/lebedov} /store_10000001> capture-tethered 
Waiting for events from camera. Press Ctrl-C to abort.
Saving file as DSCF0098.jpg
Saving file as DSCF0099.jpg
Saving file as DSCF0100.jpg
Saving file as DSCF0101.jpg
Saving file as DSCF0102.jpg

*** Error ***              
PTP Access Denied
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/lebedov} /store_10000001> capture-tethered 
Waiting for events from camera. Press Ctrl-C to abort.
Saving file as DSCF0103.jpg
Saving file as DSCF0104.jpg
Saving file as DSCF0105.jpg
Saving file as DSCF0106.jpg

*** Error ***              
PTP Access Denied
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/lebedov} /store_10000001> capture-tethered 
Waiting for events from camera. Press Ctrl-C to abort.
Saving file as DSCF0108.jpg
Saving file as DSCF0107.jpg
Saving file as DSCF0109.jpg
Saving file as DSCF0110.jpg

*** Error ***              
PTP Access Denied
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/lebedov} /store_10000001> capture-tethered 
Waiting for events from camera. Press Ctrl-C to abort.
Saving file as DSCF0111.jpg
Saving file as DSCF0112.jpg
Saving file as DSCF0113.jpg
Saving file as DSCF0114.jpg

*** Error ***              
PTP Access Denied
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/lebedov} /store_10000001> ^C
Cancelling...
^C
Aborting...
Aborted.

I'm shutting every second and when I get this error I simply restart capture-tethered command it works for me, but I'm looking for right solution. Can you help?

Name the camera Fuji GFX 50 R

libgphoto2 and gphoto2 version

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

NovoMar avatar Sep 20 '21 14:09 NovoMar

my-logs.txt

NovoMar avatar Sep 20 '21 15:09 NovoMar

i did a safety fix for this for testing

msmeissn avatar Sep 21 '21 14:09 msmeissn

msmeissn, thank you so much

I rebuild with changes from your commit and I get next results. When I take one photo and then run --capture-tethered --force-overwrite and then put release button - I get the same error (like in my issue) If I run --capture-tethered --force-overwrite and put release button simultaneously - it works fine. If I run --capture-tethered --force-overwrite before release button - Fuji doesn't respond on button.

My log file is very long. How can i share for you?

NovoMar avatar Sep 23 '21 09:09 NovoMar

i think big file sharing can be done via drive.google.com :/

msmeissn avatar Sep 26 '21 11:09 msmeissn