gphoto / gphoto2

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

Capture image not working on Fujifilm X-T3 (and X-T4) #367

Closed dantz closed 4 years ago

dantz commented 4 years ago

Describe the bug

I installed gphoto2, it can see my camera with gphoto --auto-detect

Model                          Port
----------------------------------------------------------
Fuji Fujifilm X-T3             usb:001,013

But when I'm trying to run gphoto2 --capture-image I get

Sorry, your camera does not support generic capture
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***

Name the camera Fujifilm X-T3 (and X-T4 for that matter but there seem to be even more problems with detecting the right camera)

libgphoto2 and gphoto2 version gphoto2 2.5.20 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.22 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

To Reproduce

0.000061 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000139 main                        (2): gphoto2 2.5.20
0.000172 main                        (2): gphoto2 has been compiled with the following options:
0.000204 main                        (2):  + gcc (C compiler used)
0.000228 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000253 main                        (2):  + exif (for displaying EXIF information)
0.000276 main                        (2):  + cdk (for accessing configuration options)
0.000298 main                        (2):  + aa (for displaying live previews)
0.000320 main                        (2):  + jpeg (for displaying live previews in JPEG format)
0.000344 main                        (2):  + readline (for easy navigation in the shell)
0.000372 main                        (2): libgphoto2 2.5.22
0.000400 main                        (2): libgphoto2 has been compiled with the following options:
0.000423 main                        (2):  + all camlibs
0.000444 main                        (2):  + gcc (C compiler used)
0.000467 main                        (2):  + ltdl (for portable loading of camlibs)
0.000488 main                        (2):  + EXIF (for special handling of EXIF files)
0.000512 main                        (2): libgphoto2_port 0.12.0
0.000537 main                        (2): libgphoto2_port has been compiled with the following options:
0.000561 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000583 main                        (2):  + gcc (C compiler used)
0.000605 main                        (2):  + ltdl (for portable loading of iolibs)
0.000628 main                        (2):  + USB (libusb1, for USB cameras)
0.000649 main                        (2):  + serial (for serial cameras)
0.000673 main                        (2):  + no resmgr (serial port access and locking)
0.000698 main                        (2):  + no ttylock (serial port locking)
0.000721 main                        (2):  + no lockdev (serial port locking)
0.000746 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000769 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000790 main                        (2): invoked with following arguments:
0.000812 main                        (2):   --capture-image
0.000837 main                        (2):   --debug
0.000926 load_settings               (2): Creating gphoto config directory ('/home/pi/.gphoto')
0.001105 load_settings               (2): Loading settings from file '/home/pi/.gphoto/settings'.
0.001268 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.001316 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'...
0.001791 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'.
0.002911 gp_port_library_list        (2): found fstab fsname proc
0.002980 gp_port_library_list        (2): found fstab fsname PARTUUID=6c586e13-01
0.003067 gp_port_library_list        (2): found fstab fsname PARTUUID=6c586e13-02
0.003450 gp_port_library_list        (2): found mtab fsname /dev/root
0.003524 gp_port_library_list        (2): found mtab fsname devtmpfs
0.003571 gp_port_library_list        (2): found mtab fsname sysfs
0.003615 gp_port_library_list        (2): found mtab fsname proc
0.003656 gp_port_library_list        (2): found mtab fsname tmpfs
0.003749 gp_port_library_list        (2): found mtab fsname devpts
0.003793 gp_port_library_list        (2): found mtab fsname tmpfs
0.003879 gp_port_library_list        (2): found mtab fsname tmpfs
0.003965 gp_port_library_list        (2): found mtab fsname tmpfs
0.004068 gp_port_library_list        (2): found mtab fsname cgroup2
0.004112 gp_port_library_list        (2): found mtab fsname cgroup
0.004153 gp_port_library_list        (2): found mtab fsname cgroup
0.004193 gp_port_library_list        (2): found mtab fsname cgroup
0.004235 gp_port_library_list        (2): found mtab fsname cgroup
0.004274 gp_port_library_list        (2): found mtab fsname cgroup
0.004432 gp_port_library_list        (2): found mtab fsname cgroup
0.004476 gp_port_library_list        (2): found mtab fsname cgroup
0.004517 gp_port_library_list        (2): found mtab fsname cgroup
0.004559 gp_port_library_list        (2): found mtab fsname cgroup
0.004601 gp_port_library_list        (2): found mtab fsname systemd-1
0.004642 gp_port_library_list        (2): found mtab fsname mqueue
0.004681 gp_port_library_list        (2): found mtab fsname sunrpc
0.004771 gp_port_library_list        (2): found mtab fsname debugfs
0.004860 gp_port_library_list        (2): found mtab fsname configfs
0.004971 gp_port_library_list        (2): found mtab fsname /dev/mmcblk0p1
0.005050 gp_port_library_list        (2): found mtab fsname tmpfs
0.005337 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'.
0.005377 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.006152 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.006191 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'.
0.006229 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.007521 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.007570 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'.
0.007605 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.034201 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.034270 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,014') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.034308 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,005') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'.
0.034345 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbdiskdirect'.
0.035568 foreach_func                (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbscsi'.
0.036512 gp_port_info_list_count     (2): Counting entries (8 available)...
0.036559 gp_port_info_list_count     (2): 4 regular entries available.
0.036638 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22'...
0.038050 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/adc65'.
0.038106 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/agfa_cl20'.
0.038138 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/aox'.
0.038167 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ax203'.
0.038196 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/barbie'.
0.038226 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/canon'.
0.038255 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/casio_qv'.
0.038285 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/clicksmart310'.
0.038312 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/digigr8'.
0.038344 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/digita'.
0.038373 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/dimagev'.
0.038405 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/dimera3500'.
0.038435 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/directory'.
0.038467 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/enigma13'.
0.038497 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/fuji'.
0.038526 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/gsmart300'.
0.038556 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/hp215'.
0.038585 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/iclick'.
0.038616 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jamcam'.
0.038643 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jd11'.
0.038673 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jl2005a'.
0.038699 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jl2005c'.
0.038733 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc120'.
0.038764 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc210'.
0.038794 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc240'.
0.038827 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc3200'.
0.038859 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_ez200'.
0.038889 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/konica'.
0.038917 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/konica_qm150'.
0.038943 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/largan'.
0.038969 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/lg_gsm'.
0.038996 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/mars'.
0.039019 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/mustek'.
0.039045 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_coolshot'.
0.039071 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_dc1000'.
0.039097 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_dc1580'.
0.039122 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_l859'.
0.039148 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pccam300'.
0.039174 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pccam600'.
0.039199 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pentax'.
0.039226 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc320'.
0.039252 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc640'.
0.039282 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc700'.
0.039309 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ptp2'.
0.039333 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ricoh'.
0.039364 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ricoh_g3'.
0.039391 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/samsung'.
0.039416 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sierra'.
0.039441 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sipix_blink2'.
0.039468 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sipix_web2'.
0.039495 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/smal'.
0.039519 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sonix'.
0.039544 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sony_dscf1'.
0.039569 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sony_dscf55'.
0.039596 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/soundvision'.
0.039623 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/spca50x'.
0.039648 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sq905'.
0.039673 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/st2205'.
0.039698 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/stv0674'.
0.039726 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/stv0680'.
0.039752 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sx330z'.
0.039777 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/topfield'.
0.039803 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/toshiba_pdrm11'.
0.039829 foreach_func                (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/tp6801'.
0.039884 gp_abilities_list_load_dir  (2): Found 64 camera drivers.
0.187440 gp_port_info_list_count     (2): Counting entries (8 available)...
0.187509 gp_port_info_list_count     (2): 4 regular entries available.
0.187523 gp_port_new                 (2): Creating new device...
0.187549 gp_port_info_list_get_info  (2): Getting info of entry 0 (8 available)...
0.188177 gp_port_set_settings        (2): Setting settings...
0.188199 gp_port_info_list_get_info  (2): Getting info of entry 1 (8 available)...
0.188621 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.188639 gp_port_set_settings        (2): Setting settings...
0.188655 gp_port_info_list_get_info  (2): Getting info of entry 2 (8 available)...
0.199912 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.199946 gp_port_set_settings        (2): Setting settings...
0.199968 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
0.199982 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.199997 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.201546 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x4cb, product 0x2dd)... found.
0.201784 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01
0.201805 gp_abilities_list_detect_usb(2): Found 'Fuji Fujifilm X-T3' (0x4cb,0x2dd)
0.201885 gp_port_info_list_get_info  (2): Getting info of entry 3 (8 available)...
0.213658 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.213691 gp_port_set_settings        (2): Setting settings...
0.213708 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,005, (new int=0, conf=-1, alt=-1) port usb:001,005
0.213726 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.213740 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.216329 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.218279 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.218429 gp_port_free                (2): Freeing port...
0.218443 gp_port_close               (2): Closing port...
0.219074 gp_camera_set_abilities     (2): Setting abilities ('Fuji Fujifilm X-T3')...
0.219102 gp_setting_set              (2): Setting key 'model' to value 'Fuji Fujifilm X-T3' (gphoto2)
0.219121 save_settings               (2): Saving 2 setting(s) to file "/home/pi/.gphoto/settings"
0.219688 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,014' (8 entries available)...
0.219712 gp_port_info_list_get_info  (2): Getting info of entry 2 (8 available)...
0.219731 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,014'...
0.231375 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.231412 gp_port_set_settings        (2): Setting settings...
0.231429 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,014, (new int=0, conf=-1, alt=-1) port usb:001,014
0.231491 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.231508 gp_setting_set              (2): Setting key 'port' to value 'usb:001,014' (gphoto2)
0.231526 save_settings               (2): Saving 2 setting(s) to file "/home/pi/.gphoto/settings"
0.232092 gp_camera_init              (2): Initializing camera...
0.232192 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x4cb, product 0x2dd)... found.
0.232405 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01
0.232422 gp_camera_init              (2): Loading '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ptp2'...
0.238865 gp_port_open                (2): Opening USB port...
0.238911 gp_libusb1_open             (2): ()
0.239012 gp_libusb1_open             (2): claiming interface 0
0.239469 camera_init                 (2): maxpacketsize 512
0.239499 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
0.239569 ptp                         (2): PTP: Opening session
0.239631 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
0.239645 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
0.239955 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................

0.239998 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
0.240019 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.240181 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 1e 20-00 00 00 00              ....... ....

0.240210 ptp_usb_getresp [usb.c:514] (0): PTP_OC 0x1002 receiving resp failed: PTP Session Already Opened (0x201e)
0.240230 camera_init [library.c:8314](0): 'ptp_opensession (params, sessionid)' failed: PTP Session Already Opened (0x201e)
0.240243 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
0.240262 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
0.240275 gp_port_write               (3): Writing 12 = 0xc bytes to port...
0.240398 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............

0.240424 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
0.240437 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.240605 gp_port_read                (3): Read    267 = 0x10b out of 1024 bytes from port: (hexdump of 267 bytes)
0000  0b 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  ............d...
0010  00 00 64 00 16 66 00 75-00 6a 00 69 00 66 00 69  ..d..f.u.j.i.f.i
0020  00 6c 00 6d 00 2e 00 63-00 6f 00 2e 00 6a 00 70  .l.m...c.o...j.p
0030  00 3a 00 20 00 31 00 2e-00 30 00 3b 00 20 00 00  .:. .1...0.;. ..
0040  00 00 00 19 00 00 00 01-10 02 10 03 10 04 10 05  ................
0050  10 06 10 07 10 08 10 09-10 0a 10 0b 10 0c 10 0d  ................
0060  10 0f 10 14 10 15 10 16-10 1b 10 0c 90 0d 90 1d  ................
0070  90 01 98 02 98 03 98 05-98 07 00 00 00 02 40 03  ..............@.
0080  40 04 40 05 40 06 40 08-40 09 40 04 00 00 00 01  @.@.@.@.@.@.....
0090  50 03 d3 06 d4 07 d4 00-00 00 00 02 00 00 00 01  P...............
00a0  38 08 38 09 46 00 55 00-4a 00 49 00 46 00 49 00  8.8.F.U.J.I.F.I.
00b0  4c 00 4d 00 00 00 05 58-00 2d 00 54 00 33 00 00  L.M....X.-.T.3..
00c0  00 05 33 00 2e 00 31 00-30 00 00 00 1f 35 00 39  ..3...1.0....5.9
00d0  00 33 00 35 00 33 00 34-00 33 00 37 00 33 00 37  .3.5.3.4.3.7.3.7
00e0  00 33 00 34 00 31 00 39-00 30 00 38 00 30 00 38  .3.4.1.9.0.8.0.8
00f0  00 41 00 38 00 39 00 33-00 33 00 30 00 32 00 31  .A.8.9.3.3.0.2.1
0100  00 38 00 33 00 33 00 37-00 00 00                 .8.3.3.7...

0.240691 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
0.240704 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.240852 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-01 00 00 00              ....... ....

0.240914 print_debug_deviceinfo      (2): Device info:
0.240935 print_debug_deviceinfo      (2): Manufacturer: FUJIFILM
0.240952 print_debug_deviceinfo      (2):   Model: X-T3
0.240971 print_debug_deviceinfo      (2):   device version: 3.10
0.240987 print_debug_deviceinfo      (2):   serial number: '593534373734190808A89330218337'
0.241008 print_debug_deviceinfo      (2): Vendor extension ID: 0x0000000e
0.241029 print_debug_deviceinfo      (2): Vendor extension version: 100
0.241043 print_debug_deviceinfo      (2): Vendor extension description: fujifilm.co.jp: 1.0;
0.241066 print_debug_deviceinfo      (2): Functional Mode: 0x0000
0.241085 print_debug_deviceinfo      (2): PTP Standard Version: 100
0.241106 print_debug_deviceinfo      (2): Supported operations:
0.241129 print_debug_deviceinfo      (2):   0x1001 (Get device info)
0.241149 print_debug_deviceinfo      (2):   0x1002 (Open session)
0.241168 print_debug_deviceinfo      (2):   0x1003 (Close session)
0.241183 print_debug_deviceinfo      (2):   0x1004 (Get storage IDs)
0.241194 print_debug_deviceinfo      (2):   0x1005 (Get storage info)
0.241206 print_debug_deviceinfo      (2):   0x1006 (Get number of objects)
0.241224 print_debug_deviceinfo      (2):   0x1007 (Get object handles)
0.241236 print_debug_deviceinfo      (2):   0x1008 (Get object info)
0.241253 print_debug_deviceinfo      (2):   0x1009 (Get object)
0.241272 print_debug_deviceinfo      (2):   0x100a (Get thumbnail)
0.241283 print_debug_deviceinfo      (2):   0x100b (Delete object)
0.241295 print_debug_deviceinfo      (2):   0x100c (Send object info)
0.241318 print_debug_deviceinfo      (2):   0x100d (Send object)
0.241335 print_debug_deviceinfo      (2):   0x100f (Format storage)
0.241350 print_debug_deviceinfo      (2):   0x1014 (Get device property description)
0.241363 print_debug_deviceinfo      (2):   0x1015 (Get device property value)
0.241375 print_debug_deviceinfo      (2):   0x1016 (Set device property value)
0.241388 print_debug_deviceinfo      (2):   0x101b (Get partial object)
0.241402 print_debug_deviceinfo      (2):   0x900c (Unknown VendorExtensionID)
0.241413 print_debug_deviceinfo      (2):   0x900d (Unknown VendorExtensionID)
0.241425 print_debug_deviceinfo      (2):   0x901d (Unknown VendorExtensionID)
0.241447 print_debug_deviceinfo      (2):   0x9801 (Unknown VendorExtensionID)
0.241465 print_debug_deviceinfo      (2):   0x9802 (Unknown VendorExtensionID)
0.241478 print_debug_deviceinfo      (2):   0x9803 (Unknown VendorExtensionID)
0.241490 print_debug_deviceinfo      (2):   0x9805 (Unknown VendorExtensionID)
0.241499 print_debug_deviceinfo      (2): Events Supported:
0.241512 print_debug_deviceinfo      (2):   0x4002 (ObjectAdded)
0.241523 print_debug_deviceinfo      (2):   0x4003 (ObjectRemoved)
0.241534 print_debug_deviceinfo      (2):   0x4004 (StoreAdded)
0.241546 print_debug_deviceinfo      (2):   0x4005 (StoreRemoved)
0.241558 print_debug_deviceinfo      (2):   0x4006 (DevicePropChanged)
0.241572 print_debug_deviceinfo      (2):   0x4008 (DeviceInfoChanged)
0.241585 print_debug_deviceinfo      (2):   0x4009 (RequestObjectTransfer)
0.241595 print_debug_deviceinfo      (2): Device Properties Supported:
0.241613 print_debug_deviceinfo      (2):   0x5001 (Battery Level)
0.241627 print_debug_deviceinfo      (2):   0xd303 (Unknown DPC code)
0.241641 print_debug_deviceinfo      (2):   0xd406 (Unknown DPC code)
0.241653 print_debug_deviceinfo      (2):   0xd407 (Unknown DPC code)
0.241667 print_debug_deviceinfo      (2):   0x500d (Exposure Time)
0.241680 print_debug_deviceinfo      (2):   0x5007 (F-Number)
0.241692 print_debug_deviceinfo      (2):   0xd38c (Unknown DPC code)
0.241704 print_debug_deviceinfo      (2):   0xd171 (Unknown DPC code)
0.241717 print_debug_deviceinfo      (2):   0xd21c (Unknown DPC code)
0.241757 camera_prepare_capture      (2): prepare_capture
0.241778 ptp_usb_sendreq             (2): Sending PTP_OC 0x1004 (Get storage IDs) request...
0.241792 gp_port_write               (3): Writing 12 = 0xc bytes to port...
0.241984 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
0000  0c 00 00 00 01 00 04 10-02 00 00 00              ............

0.242010 ptp_usb_getdata             (2): Reading PTP_OC 0x1004 (Get storage IDs) data...
0.242026 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.242148 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
0000  14 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00  ................
0010  01 00 00 10            -                         ....

0.242179 ptp_usb_getresp             (2): Reading PTP_OC 0x1004 (Get storage IDs) response...
0.242194 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.242299 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-02 00 00 00              ....... ....

0.242331 ptp                         (2): (storage=0xffffffff, handle=0xffffffff)
0.242345 ptp                         (2): Listing ...
0.242364 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request...
0.242380 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
0.242470 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
0000  18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff  ................
0010  00 00 00 00 ff ff ff ff-                         ........

0.242494 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
0.242510 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.242601 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
0000  14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00  ................
0010  01 00 00 00            -                         ....

0.242626 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
0.242640 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.242725 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-03 00 00 00              ....... ....

0.242748 ptp                         (2): adding new objectid 0x00000001 (nrofobs=0,j=0)
0.242772 ptp                         (2): (storage=0x10000001, handle=0xffffffff)
0.242786 ptp                         (2): Listing ...
0.242802 ptp_usb_sendreq             (2): Sending PTP_OC 0x1007 (Get object handles) (0x10000001,0x0,0xffffffff) request...
0.242815 gp_port_write               (3): Writing 24 = 0x18 bytes to port...
0.242921 gp_port_write               (3): Wrote   24 = 0x18 bytes to port: (hexdump of 24 bytes)
0000  18 00 00 00 01 00 07 10-04 00 00 00 01 00 00 10  ................
0010  00 00 00 00 ff ff ff ff-                         ........

0.242943 ptp_usb_getdata             (2): Reading PTP_OC 0x1007 (Get object handles) data...
0.242958 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.243069 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
0000  14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00  ................
0010  01 00 00 00            -                         ....

0.243098 ptp_usb_getresp             (2): Reading PTP_OC 0x1007 (Get object handles) response...
0.243112 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.243248 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-04 00 00 00              ....... ....

0.243273 ptp                         (2): adding old objectid 0x00000001 (nrofobs=1,j=0)
0.243296 gp_context_error            (0): Sorry, your camera does not support generic capture

*** Error ***
Sorry, your camera does not support generic capture
0.243336 gp_camera_capture [gphoto2-camera.c:1340](0): 'camera->functions->capture (camera, type, path, context)' failed: -6
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***

0.244988 gp_camera_free              (2): Freeing camera...
0.245021 gp_camera_exit              (2): Exiting camera ('Fuji Fujifilm X-T3')...
0.245037 camera_unprepare_capture    (2): Unprepare_capture
0.245064 ptp_usb_sendreq             (2): Sending PTP_OC 0x1016 (Set device property value) (0xd207) request...
0.245080 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
0.245246 gp_port_write               (3): Wrote   16 = 0x10 bytes to port: (hexdump of 16 bytes)
0000  10 00 00 00 01 00 16 10-05 00 00 00 07 d2 00 00  ................

0.245274 ptp_usb_senddata            (2): Sending PTP_OC 0x1016 (Set device property value) data...
0.245291 gp_port_write               (3): Writing 14 = 0xe bytes to port...
0.245393 gp_port_write               (3): Wrote   14 = 0xe bytes to port: (hexdump of 14 bytes)
0000  0e 00 00 00 02 00 16 10-05 00 00 00 01 00        ..............

0.245418 ptp_usb_getresp             (2): Reading PTP_OC 0x1016 (Set device property value) response...
0.245435 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.245537 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 0a 20-05 00 00 00              ....... ....

0.245564 ptp_usb_getresp [usb.c:514] (0): PTP_OC 0x1016 receiving resp failed: PTP Device Prop Not Supported (0x200a)
0.245584 camera_unprepare_capture [config.c:586](0): 'ptp_setdevicepropvalue (params, 0xd207, &propval, PTP_DTC_UINT16)' failed: PTP Device Prop Not Supported (0x200a)
0.245608 camera_exit [library.c:2683](0): 'camera_unprepare_capture (camera, context)' failed: 'Unspecified error' (-1)
0.245629 gp_port_close               (2): Closing port...
0.246724 _close_async_interrupts     (2): canceling transfer 0:0x1a889e8 (status 0)
0.246767 _close_async_interrupts     (2): canceling transfer 1:0x1a6eeb8 (status 0)
0.246791 _close_async_interrupts     (2): canceling transfer 2:0x1a85cf0 (status 0)
0.246808 _close_async_interrupts     (2): canceling transfer 3:0x1a911a0 (status 0)
0.246825 _close_async_interrupts     (2): canceling transfer 4:0x1a732b0 (status 0)
0.246845 _close_async_interrupts     (2): canceling transfer 5:0x1a6bad8 (status 0)
0.246864 _close_async_interrupts     (2): canceling transfer 6:0x1a6f710 (status 0)
0.246881 _close_async_interrupts     (2): canceling transfer 7:0x1a73868 (status 0)
0.246899 _close_async_interrupts     (2): canceling transfer 8:0x1a6eca8 (status 0)
0.246917 _close_async_interrupts     (2): canceling transfer 9:0x1a8ff30 (status 0)
0.246951 _cb_irq                     (2): 0x1a889e8 with status 3
0.246965 _cb_irq                     (2): Transfer 0x1a889e8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.246983 _cb_irq                     (2): 0x1a6eeb8 with status 3
0.246994 _cb_irq                     (2): Transfer 0x1a6eeb8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247009 _cb_irq                     (2): 0x1a85cf0 with status 3
0.247019 _cb_irq                     (2): Transfer 0x1a85cf0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247037 _cb_irq                     (2): 0x1a911a0 with status 3
0.247048 _cb_irq                     (2): Transfer 0x1a911a0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247062 _cb_irq                     (2): 0x1a732b0 with status 3
0.247073 _cb_irq                     (2): Transfer 0x1a732b0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247092 _cb_irq                     (2): 0x1a6bad8 with status 3
0.247103 _cb_irq                     (2): Transfer 0x1a6bad8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247118 _cb_irq                     (2): 0x1a6f710 with status 3
0.247129 _cb_irq                     (2): Transfer 0x1a6f710 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247146 _cb_irq                     (2): 0x1a73868 with status 3
0.247157 _cb_irq                     (2): Transfer 0x1a73868 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247172 _cb_irq                     (2): 0x1a6eca8 with status 3
0.247182 _cb_irq                     (2): Transfer 0x1a6eca8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.247197 _cb_irq                     (2): 0x1a8ff30 with status 3
0.247210 _cb_irq                     (2): Transfer 0x1a8ff30 should be in LIBUSB_TRANSFER_COMPLETED, but is 3!
0.248329 gp_filesystem_reset         (2): resetting filesystem
0.248368 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.248381 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.248393 delete_all_folders          (2): Internally deleting all folders from '/'...
0.248406 lookup_folder               (2): Lookup folder '/'...
0.248419 lookup_folder               (2): Found! / is 0x1a68cb8
0.248432 recurse_delete_folder       (2): Recurse delete folder 0x1a68cb8//
0.248444 gp_port_free                (2): Freeing port...
0.248454 gp_port_close               (2): Closing port...
0.248950 gp_filesystem_reset         (2): resetting filesystem
0.248978 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.248991 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.249004 delete_all_folders          (2): Internally deleting all folders from '/'...
0.249019 lookup_folder               (2): Lookup folder '/'...
0.249031 lookup_folder               (2): Found! / is 0x1a68cb8
0.249044 recurse_delete_folder       (2): Recurse delete folder 0x1a68cb8//`
nah2015 commented 4 years ago

Hi, I don't contribute to this repo but I've used an X-T3 with gphoto2 before. Is the tether settings set to USB TETHER SHOOTING AUTO? See: http://fujifilm-dsc.com/en/manual/x-t3/connections/computer/index.html#tethered_shooting

msmeissn commented 4 years ago

Yes ... according to the debug trace, it does not seem to be in tether mode.

dantz commented 4 years ago

Ok, that was sloppy. But I definitely tried all tethering modes on the X-T4. But I'll make another ticket tailored to that if the problem persists. Thanks!