gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

wait-event-and-download not downloading all files

Open iliesaya opened this issue 2 years ago • 4 comments

Describe the bug

I am using a Sony ILCE-7RM4A (PC Control)

I need to shoot 5 second of Continuous Low Speed and download the pictures on the PC . At this speed that shoud give me 17 images , i can hear the camera shoot 17 times.

I am using this command to do that :

gphoto2 --wait-event=3s --set-config capture=1 --wait-event=5s --set-config capture=0 --wait-event-and-download=10s

jetson@ubuntu:~/git/Jetson/canonR5$ env LANG=C gphoto2 --debug --debug-logfile=10secOfLowContinuous.txt  --wait-event=3s --set-config capture=1 --wait-event=5s --set-config capture=0 --wait-event-and-download=10s
Waiting for 3 seconds for events from camera. Press Ctrl-C to abort.           
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Waiting for 5 seconds for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0000.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
FILEADDED capt0001.jpg /                                                       
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0002.jpg /                                                       
FILEADDED capt0003.jpg /                                                       
UNKNOWN PTP Event c206, Param1 00000000
FILEADDED capt0004.jpg /                                                       
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0005.jpg /                                                       
Waiting for 10 seconds for events from camera. Press Ctrl-C to abort.
Saving file as capt0006.jpg                                                    
Saving file as capt0007.jpg                                                    
Saving file as capt0008.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
Saving file as capt0009.jpg                                                    
Saving file as capt0010.jpg                                                    
UNKNOWN PTP Event c206, Param1 00000000
Saving file as capt0011.jpg                                                    
UNKNOWN PTP Event c206, Param1 00000000
Saving file as capt0012.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0013.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
Saving file as capt0014.jpg                                                    
Saving file as capt0015.jpg                                                    
Saving file as capt0016.jpg                                                    
UNKNOWN PTP Event c206, Param1 00000000
Saving file as capt0017.jpg                                                    
CAPTURECOMPLETE
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"

Please note that the camera is a Sony and in PC Mode it doesn't show any file or folder with the command gphoto2 -L or -l , so i can't download the images with the command --get-all-files --new , and in Mass storage or MTP it doesn't allow capturing images

You can see above we should get the file from capt0000.jpg to capt0017.jpg , but it downloaded only the file from capt0006.jpg to capt0017.jpg

The log trace file is 960Mb here (the camera shoots 60Mp images )

Please find here the beginning of the file :

0.000027 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000147 main                        (2): gphoto2 2.5.28.1
0.000170 main                        (2): gphoto2 has been compiled with the following options:
0.000182 main                        (2):  + gcc (C compiler used)
0.000227 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000236 main                        (2):  + no exif (for displaying EXIF information)
0.000245 main                        (2):  + no cdk (for accessing configuration options)
0.000253 main                        (2):  + no aa (for displaying live previews)
0.000261 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
0.000269 main                        (2):  + no readline (for easy navigation in the shell)
0.000278 main                        (2): libgphoto2 2.5.29.1
0.000288 main                        (2): libgphoto2 has been compiled with the following options:
0.000297 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING docupen lumix)
0.000320 main                        (2):  + gcc (C compiler used)
0.000360 main                        (2):  + no ltdl (for portable loading of camlibs)
0.000368 main                        (2):  + no EXIF (for special handling of EXIF files)
0.000377 main                        (2): libgphoto2_port 0.12.0
0.000387 main                        (2): libgphoto2_port has been compiled with the following options:
0.000395 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000403 main                        (2):  + gcc (C compiler used)
0.000410 main                        (2):  + ltdl (for portable loading of iolibs)
0.000418 main                        (2):  + USB (libusb1, for USB cameras)
0.000426 main                        (2):  + serial (for serial cameras)
0.000433 main                        (2):  + no resmgr (serial port access and locking)
0.000441 main                        (2):  + no ttylock (serial port locking)
0.000449 main                        (2):  + no lockdev (serial port locking)
0.000457 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000465 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000473 main                        (2): invoked with following arguments:
0.000481 main                        (2):   --debug
0.000489 main                        (2):   --debug-logfile=10secOfLowContinuous.txt
0.000497 main                        (2):   --wait-event=3s
0.000505 main                        (2):   --set-config
0.000512 main                        (2):   capture=1
0.000520 main                        (2):   --wait-event=5s
0.000528 main                        (2):   --set-config
0.000536 main                        (2):   capture=0
0.000543 main                        (2):   --wait-event-and-download=10s
0.000687 load_settings               (2): Creating gphoto config directory ('/home/jetson/.gphoto')
0.000809 load_settings               (2): Loading settings from file '/home/jetson/.gphoto/settings'.
0.001266 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.001288 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0'...
0.001407 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/disk'.
0.001659 gp_port_library_list        (2): found fstab fsname /dev/root
0.001904 gp_port_library_list        (2): found mtab fsname /dev/nvme0n1p1
0.001936 gp_port_library_list        (2): found mtab fsname proc
0.001948 gp_port_library_list        (2): found mtab fsname sysfs
0.001989 gp_port_library_list        (2): found mtab fsname none
0.002050 gp_port_library_list        (2): found mtab fsname tmpfs
0.002073 gp_port_library_list        (2): found mtab fsname devpts
0.002119 gp_port_library_list        (2): found mtab fsname tmpfs
0.002143 gp_port_library_list        (2): found mtab fsname tmpfs
0.002166 gp_port_library_list        (2): found mtab fsname tmpfs
0.002222 gp_port_library_list        (2): found mtab fsname cgroup
0.002234 gp_port_library_list        (2): found mtab fsname cgroup
0.002245 gp_port_library_list        (2): found mtab fsname pstore
0.002270 gp_port_library_list        (2): found mtab fsname cgroup
0.002281 gp_port_library_list        (2): found mtab fsname cgroup
0.002292 gp_port_library_list        (2): found mtab fsname cgroup
0.002374 gp_port_library_list        (2): found mtab fsname cgroup
0.002386 gp_port_library_list        (2): found mtab fsname cgroup
0.002396 gp_port_library_list        (2): found mtab fsname cgroup
0.002405 gp_port_library_list        (2): found mtab fsname cgroup
0.002415 gp_port_library_list        (2): found mtab fsname cgroup
0.002425 gp_port_library_list        (2): found mtab fsname cgroup
0.002434 gp_port_library_list        (2): found mtab fsname cgroup
0.002443 gp_port_library_list        (2): found mtab fsname cgroup
0.002454 gp_port_library_list        (2): found mtab fsname systemd-1
0.002463 gp_port_library_list        (2): found mtab fsname hugetlbfs
0.002485 gp_port_library_list        (2): found mtab fsname sunrpc
0.002509 gp_port_library_list        (2): found mtab fsname mqueue
0.002520 gp_port_library_list        (2): found mtab fsname debugfs
0.002544 gp_port_library_list        (2): found mtab fsname configfs
0.002633 gp_port_library_list        (2): found mtab fsname tmpfs
0.002684 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
0.002700 gp_port_library_list        (2): found mtab fsname fusectl
0.002711 gp_port_library_list        (2): found mtab fsname /dev/mmcblk0p1
0.002788 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/disk'.
0.002798 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.003004 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.003017 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.003025 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003328 foreach_func                (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003341 foreach_func                (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003348 foreach_func                (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003355 foreach_func                (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003361 foreach_func                (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003368 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.003375 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.009360 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.009397 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:002,015') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.009405 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:001,020') from '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.009411 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usbdiskdirect'.
0.009729 foreach_func                (2): Called for filename '/usr/lib/aarch64-linux-gnu/libgphoto2_port/0.12.0/usbscsi'.
0.009945 gp_port_info_list_count     (2): Counting entries (12 available)...
0.009956 gp_port_info_list_count     (2): 8 regular entries available.
0.009987 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.29.1'...
0.010110 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/ax203'.
0.010123 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/canon'.
0.010130 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/digigr8'.
0.010136 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/dimagev'.
0.010141 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/directory'.
0.010146 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/jl2005a'.
0.010151 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/jl2005c'.
0.010157 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/kodak_dc240'.
0.010162 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/mars'.
0.010167 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/pentax'.
0.010172 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/ptp2'.
0.010177 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/ricoh_g3'.
0.010183 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/sierra'.
0.010188 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/sonix'.
0.010194 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/sq905'.
0.010199 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/st2205'.
0.010205 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/topfield'.
0.010210 foreach_func                (2): Found '/usr/local/lib/libgphoto2/2.5.29.1/tp6801'.
0.010220 gp_abilities_list_load_dir  (2): Found 18 camera drivers.
0.031284 gp_port_info_list_count     (2): Counting entries (12 available)...
0.031348 gp_port_info_list_count     (2): 8 regular entries available.
0.031360 gp_port_new                 (2): Creating new device...
0.031381 gp_port_info_list_get_info  (2): Getting info of entry 0 (12 available)...
0.031762 gp_port_set_settings        (2): Setting settings...
0.031782 gp_port_info_list_get_info  (2): Getting info of entry 1 (12 available)...
0.032022 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.032035 gp_port_set_settings        (2): Setting settings...
0.032043 gp_port_info_list_get_info  (2): Getting info of entry 2 (12 available)...
0.032198 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.032207 gp_port_set_settings        (2): Setting settings...
0.032212 gp_port_info_list_get_info  (2): Getting info of entry 3 (12 available)...
0.032334 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.032343 gp_port_set_settings        (2): Setting settings...
0.032349 gp_port_info_list_get_info  (2): Getting info of entry 4 (12 available)...
0.032462 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.032470 gp_port_set_settings        (2): Setting settings...
0.032476 gp_port_info_list_get_info  (2): Getting info of entry 5 (12 available)...
0.032587 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.032595 gp_port_set_settings        (2): Setting settings...
0.032601 gp_port_info_list_get_info  (2): Getting info of entry 6 (12 available)...
0.037681 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.037716 gp_port_set_settings        (2): Setting settings...
0.037759 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:002,015, (new int=0, conf=-1, alt=-1) port usb:002,015
0.037766 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.037805 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.038941 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.039504 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x54c, product 0xd9f)... found.
0.039583 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.039593 gp_abilities_list_detect_usb(2): Found 'Sony ILCE-7RM4A (PC Control)' (0x54c,0xd9f)
0.039605 gp_port_info_list_get_info  (2): Getting info of entry 7 (12 available)...
0.044371 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.044393 gp_port_set_settings        (2): Setting settings...
0.044426 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:001,020, (new int=0, conf=-1, alt=-1) port usb:001,020
0.044433 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.044459 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.045377 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.046034 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.046098 gp_port_free                (2): Freeing port...
0.046106 gp_port_close               (2): Closing port...
0.046524 gp_camera_set_abilities     (2): Setting abilities ('Sony ILCE-7RM4A (PC Control)')...
0.046541 gp_setting_set              (2): Setting key 'model' to value 'Sony ILCE-7RM4A (PC Control)' (gphoto2)
0.046551 save_settings               (2): Saving 3 setting(s) to file "/home/jetson/.gphoto/settings"
0.046893 gp_port_info_list_lookup_path(2): Looking for path 'usb:002,015' (12 entries available)...
0.046902 gp_port_info_list_get_info  (2): Getting info of entry 6 (12 available)...
0.046911 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:002,015'...
0.051253 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.051272 gp_port_set_settings        (2): Setting settings...
0.051305 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:002,015, (new int=0, conf=-1, alt=-1) port usb:002,015
0.051312 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.051319 gp_setting_set              (2): Setting key 'port' to value 'usb:002,015' (gphoto2)
0.051325 save_settings               (2): Saving 3 setting(s) to file "/home/jetson/.gphoto/settings"
0.051705 gp_camera_init              (2): Initializing camera...
0.051738 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x54c, product 0xd9f)... found.
0.051803 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.051812 gp_camera_init              (2): Loading '/usr/local/lib/libgphoto2/2.5.29.1/ptp2'...
0.053303 gp_port_open                (2): Opening USB port...
0.053326 gp_libusb1_open             (2): ()
0.053387 gp_libusb1_open             (2): claiming interface 0
0.053660 camera_init                 (2): maxpacketsize 1024
0.053674 gp_port_set_timeout         (2): Setting port timeout to 8000 milliseconds.
0.053706 ptp                         (2): PTP: Opening session
0.053728 ptp_usb_sendreq             (2): Sending PTP_OC 0x1002 (Open session) (0x1) request...
0.053736 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
0.053961 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.053982 ptp_usb_getresp             (2): Reading PTP_OC 0x1002 (Open session) response...
0.053995 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.055518 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-00 00 00 00              ....... ....    

0.055553 gp_port_set_timeout         (2): Setting port timeout to 20000 milliseconds.
0.055567 ptp_usb_sendreq             (2): Sending PTP_OC 0x1001 (Get device info) request...
0.055573 gp_port_write               (3): Writing 12 = 0xc bytes to port...
0.055642 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.055653 ptp_usb_getdata             (2): Reading PTP_OC 0x1001 (Get device info) data...
0.055660 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.056571 gp_port_read                (3): Read    303 = 0x12f out of 1024 bytes from port: (hexdump of 303 bytes)
0000  2f 01 00 00 02 00 01 10-01 00 00 00 64 00 11 00  /...........d...
0010  00 00 64 00 14 53 00 6f-00 6e 00 79 00 20 00 50  ..d..S.o.n.y. .P
0020  00 54 00 50 00 20 00 45-00 78 00 74 00 65 00 6e  .T.P. .E.x.t.e.n
0030  00 73 00 69 00 6f 00 6e-00 73 00 00 00 00 00 1b  .s.i.o.n.s......
0040  00 00 00 01 10 02 10 03-10 04 10 05 10 06 10 07  ................
0050  10 08 10 09 10 0a 10 0d-10 1b 10 01 92 02 92 05  ................
0060  92 07 92 09 92 0a 92 0b-92 0c 92 0d 92 0e 92 0f  ................
0070  92 01 98 02 98 03 98 05-98 0c 00 00 00 01 c2 02  ................
0080  c2 03 c2 04 c2 05 c2 06-c2 07 c2 08 c2 09 c2 0a  ................
0090  c2 0b c2 0c c2 00 00 00-00 00 00 00 00 03 00 00  ................
00a0  00 01 38 01 b3 01 b1 11-53 00 6f 00 6e 00 79 00  ..8.....S.o.n.y.
00b0  20 00 43 00 6f 00 72 00-70 00 6f 00 72 00 61 00   .C.o.r.p.o.r.a.
00c0  74 00 69 00 6f 00 6e 00-00 00 0b 49 00 4c 00 43  t.i.o.n....I.L.C
00d0  00 45 00 2d 00 37 00 52-00 4d 00 34 00 41 00 00  .E.-.7.R.M.4.A..
00e0  00 05 31 00 2e 00 30 00-30 00 00 00 21 30 00 30  ..1...0.0...!0.0
00f0  00 30 00 30 00 30 00 30-00 30 00 30 00 30 00 30  .0.0.0.0.0.0.0.0
0100  00 30 00 30 00 30 00 30-00 30 00 30 00 33 00 32  .0.0.0.0.0.0.3.2
0110  00 38 00 35 00 33 00 30-00 34 00 35 00 30 00 34  .8.5.3.0.4.5.0.4
0120  00 38 00 37 00 30 00 32-00 36 00 39 00 00 00     .8.7.0.2.6.9... 

0.056594 ptp_usb_getresp             (2): Reading PTP_OC 0x1001 (Get device info) response...
0.056602 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.056842 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              ....... ....    

and here a part of the log where the filename capt0000.jpg appear :

5.626796 ptp_usb_getresp             (2): Reading PTP_OC 0x1009 (Get object) response...
5.626814 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
5.650298 _cb_irq                     (2): 0x55bbe53528 with status 0
5.650326 _cb_irq                     (3): interrupt (hexdump of 16 bytes)
0000  10 00 00 00 04 00 02 c2-ff ff ff ff 01 c0 ff ff  ................

5.650335 _cb_irq                     (2): Requeuing completed transfer 0x55bbe53528
5.658286 _cb_irq                     (2): 0x55bbe368f8 with status 0
5.658305 _cb_irq                     (3): interrupt (hexdump of 16 bytes)
0000  10 00 00 00 04 00 03 c2-ff ff ff ff 00 00 00 00  ................

5.658325 _cb_irq                     (2): Requeuing completed transfer 0x55bbe368f8
5.666281 _cb_irq                     (2): 0x55bbe36a18 with status 0
5.666304 _cb_irq                     (3): interrupt (hexdump of 12 bytes)
0000  0c 00 00 00 04 00 06 c2-ff ff ff ff              ............    

5.666314 _cb_irq                     (2): Requeuing completed transfer 0x55bbe36a18
5.674105 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-29 00 00 00              ....... )...    

5.674131 gp_filesystem_append        (2): Append //capt0000.jpg to filesystem
5.674139 lookup_folder               (2): Lookup folder '/'...
5.674146 lookup_folder               (2): Found! / is 0x55bbe17690
5.674157 gp_filesystem_list_files    (2): Listing files in /
5.674164 lookup_folder               (2): Lookup folder '/'...
5.674187 lookup_folder               (2): Found! / is 0x55bbe17690
5.674259 gp_filesystem_list_files    (2): Querying folder /...
5.674267 delete_all_files            (2): Delete all files in folder 0x55bbe17690//
5.674273 file_list_func              (2): file_list_func(/)
5.674282 internal_append             (2): Internal append capt0000.jpg to folder /
5.674295 gp_filesystem_set_file_noop (2): Adding file 'capt0000.jpg' to folder '/' (type 1)...
5.674302 lookup_folder_file          (2): Lookup folder / file capt0000.jpg
5.674308 lookup_folder               (2): Lookup folder '/'...
5.674314 lookup_folder               (2): Found! / is 0x55bbe17690
5.674345 gp_filesystem_lru_update    (2): Adding file 'capt0000.jpg' from folder '/' to the fscache LRU list (type 1)...
5.674354 lookup_folder_file          (2): Lookup folder / file capt0000.jpg
5.674359 lookup_folder               (2): Lookup folder '/'...
5.674365 lookup_folder               (2): Found! / is 0x55bbe17690
5.674371 gp_filesystem_lru_update    (2): File 'capt0000.jpg' from folder '/' added in fscache LRU list.
5.674409 gp_filesystem_lru_check     (2): Checking fscache LRU list integrity...
5.674418 gp_filesystem_lru_check     (2): fscache LRU list ok with 1 items (11616732 bytes)
5.674473 camera_wait_for_event       (2): waiting for events timeout 1000 ms
5.674483 ptp                         (2): _ptp_sony_getalldevicepropdesc: opcode 9209
5.674501 ptp_usb_sendreq             (2): Sending PTP_OC 0x9209 (GetAllDevicePropData) request...
5.674508 gp_port_write               (3): Writing 12 = 0xc bytes to port...
5.682654 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
0000  0c 00 00 00 01 00 09 92-2a 00 00 00              ........*...    

5.682673 ptp_usb_getdata             (2): Reading PTP_OC 0x9209 (GetAllDevicePropData) data...
5.682683 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
5.770309 _cb_irq                     (2): 0x55bbe568f8 with status 0
5.770334 _cb_irq                     (3): interrupt (hexdump of 16 bytes)
0000  10 00 00 00 04 00 03 c2-ff ff ff ff 00 00 00 00  ................

5.770347 _cb_irq                     (2): Requeuing completed transfer 0x55bbe568f8
5.776030 gp_port_read                (3): Read    1024 = 0x400 bytes from port: (hexdump of 1024 bytes)

I also tried to use the bulb mode, like this :

jetson@ubuntu:~/git/Jetson/canonR5$ gphoto2 --set-config bulb=0 --wait-event=1s --set-config bulb=1 --wait-event=5s --set-config bulb=0 --wait-event-and-download=15s
Waiting for 1 seconds for events from camera. Press Ctrl-C to abort.           
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Waiting for 5 seconds for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c20c, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0000.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0001.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0002.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Waiting for 15 seconds for events from camera. Press Ctrl-C to abort.
Saving file as capt0003.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0004.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0005.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0006.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0007.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0008.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0009.jpg                                                    
CAPTURECOMPLETE
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"

jetson@ubuntu:~/git/Jetson/canonR5$ ls
capt0003.jpg  capt0004.jpg  capt0005.jpg  capt0006.jpg  capt0007.jpg  capt0008.jpg  capt0009.jpg

As you can see we are also missing the first 3 images.

Any idea ?

thx a lot !

Name the camera Sony ILCE-7RM4A

libgphoto2 and gphoto2 version gphoto2 2.5.28.1 gcc, popt(m), no exif, no cdk, no aa, no jpeg, no readline libgphoto2 2.5.29.1 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, no EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

To Reproduce gphoto2 --wait-event=3s --set-config capture=1 --wait-event=5s --set-config capture=0 --wait-event-and-download=10s

iliesaya avatar Mar 28 '22 14:03 iliesaya

the --wait-event=5s already drains the file addition events happening, and does not remember them.

perhaps --wait-event-and-download=5s perhaps there?

msmeissn avatar Apr 03 '22 08:04 msmeissn

or you can use -P at the end to download also the intermedia added files.

msmeissn avatar Apr 03 '22 09:04 msmeissn

If I remove --wait-event and replace it with --wait-event-and-download , it is missing the other half of the file , from 18 to 34 here :

(py3flask) jetson@ubuntu:~/git/Jetson/canonR5$ gphoto2 --wait-event=3s --set-config capture=1 --wait-event-and-download=10s --set-config capture=0
Waiting for 3 seconds for events from camera. Press Ctrl-C to abort.           
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Waiting for 10 seconds for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0000.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0001.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0002.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0003.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0004.jpg                                                    
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0005.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0006.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0007.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0008.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0009.jpg                                                    
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0010.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0011.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0012.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0013.jpg                                                    
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0014.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0015.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
Saving file as capt0016.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0017.jpg                                                    
(py3flask) jetson@ubuntu:~/git/Jetson/canonR5$ ls
capt0000.jpg  capt0002.jpg  capt0004.jpg  capt0006.jpg  capt0008.jpg  capt0010.jpg  capt0012.jpg  capt0014.jpg  capt0016.jpg
capt0001.jpg  capt0003.jpg  capt0005.jpg  capt0007.jpg  capt0009.jpg  capt0011.jpg  capt0013.jpg  capt0015.jpg  capt0017.jpg

during these 10 second the camera shot 34 images , but only the first 17 are downloaded.

the -P at the end gave same result , with only the first 17 images downloaded. gphoto2 --wait-event=3s --set-config capture=1 --wait-event-and-download=10s --set-config capture=0 -P

iliesaya avatar Apr 03 '22 09:04 iliesaya

Here is the output with the initial command (with --wait-event then --wait-event-and-download) and the -P option

jetson@ubuntu:~/git/Jetson/canonR5$ gphoto2 --wait-event=3s --set-config capture=1 --wait-event=10s --set-config capture=0 --wait-event-and-download=15s -P && ls
Waiting for 3 seconds for events from camera. Press Ctrl-C to abort.           
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Waiting for 10 seconds for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0000.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0001.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0002.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0003.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0004.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0005.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0006.jpg /                                                       
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0007.jpg /                                                       
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0008.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0009.jpg /                                                       
UNKNOWN PTP Event c201, Param1 ffffc001
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0010.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0011.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0012.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0013.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0014.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0015.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0016.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Event c206, Param1 00000000
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
FILEADDED capt0017.jpg /                                                       
UNKNOWN PTP Event c202, Param1 ffffc001
Waiting for 15 seconds for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c206, Param1 00000000
Saving file as capt0018.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0019.jpg                                                    
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0020.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0021.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0022.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0023.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0024.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0025.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0026.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0027.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0028.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0029.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0030.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0031.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0032.jpg                                                    
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"
Saving file as capt0033.jpg                                                    
CAPTURECOMPLETE
UNKNOWN PTP Event c202, Param1 ffffc001
UNKNOWN PTP Property 0000 changed, "PTP Property 0x0000" to "Unknown type 0x0000"

*** Error ***              
You need to specify a folder starting with /store_xxxxxxxxx/
*** 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 --wait-event=3s --set-config capture=1 --wait-event=10s --set-config capture=0 --wait-event-and-download=15s -P

Please make sure there is sufficient quoting around the arguments.

jetson@ubuntu:~/git/Jetson/canonR5$ ls
capt0018.jpg  capt0020.jpg  capt0022.jpg  capt0024.jpg  capt0026.jpg  capt0028.jpg  capt0030.jpg  capt0032.jpg
capt0019.jpg  capt0021.jpg  capt0023.jpg  capt0025.jpg  capt0027.jpg  capt0029.jpg  capt0031.jpg  capt0033.jpg

This is new : You need to specify a folder starting with /store_xxxxxxxxx/

Any idea ?

iliesaya avatar Apr 04 '22 07:04 iliesaya