0.000607 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000774 main (2): gphoto2 2.5.10.1 0.000843 main (2): gphoto2 has been compiled with the following options: 0.000875 main (2): + gcc (C compiler used) 0.000902 main (2): + popt (mandatory, for handling command-line parameters) 0.000928 main (2): + exif (for displaying EXIF information) 0.000954 main (2): + no cdk (for accessing configuration options) 0.000979 main (2): + no aa (for displaying live previews) 0.001005 main (2): + jpeg (for displaying live previews in JPEG format) 0.001030 main (2): + no readline (for easy navigation in the shell) 0.001084 main (2): libgphoto2 2.5.10.1 0.001125 main (2): libgphoto2 has been compiled with the following options: 0.001151 main (2): + all camlibs 0.001178 main (2): + gcc (C compiler used) 0.001203 main (2): + ltdl (for portable loading of camlibs) 0.001228 main (2): + EXIF (for special handling of EXIF files) 0.001261 main (2): libgphoto2_port 0.12.0 0.001298 main (2): libgphoto2_port has been compiled with the following options: 0.001327 main (2): + gcc (C compiler used) 0.001355 main (2): + ltdl (for portable loading of camlibs) 0.001381 main (2): + USB (libusb0, for USB cameras) 0.001406 main (2): + serial (for serial cameras) 0.001431 main (2): + no resmgr (serial port access and locking) 0.001457 main (2): + no ttylock (serial port locking) 0.001483 main (2): + no lockdev (serial port locking) 0.001509 main (2): CAMLIBS env var not set, using compile-time default instead 0.001535 main (2): IOLIBS env var not set, using compile-time default instead 0.001560 main (2): invoked with following arguments: 0.001585 main (2): --debug 0.001610 main (2): --capture-image-and-download 0.001732 load_settings (2): Creating gphoto config directory ('/home/pi/.gphoto') 0.001931 load_settings (2): Loading settings from file '/home/pi/.gphoto/settings'. 0.002169 main (2): The user has not specified both a model and a port. Try to figure them out. 0.002230 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.12.0'... 0.002720 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/disk'. 0.003647 gp_port_library_list (2): found fstab fsname proc 0.003705 gp_port_library_list (2): found fstab fsname /dev/mmcblk0p1 0.003794 gp_port_library_list (2): found fstab fsname /dev/mmcblk0p2 0.004176 gp_port_library_list (2): found mtab fsname /dev/root 0.004239 gp_port_library_list (2): found mtab fsname devtmpfs 0.004284 gp_port_library_list (2): found mtab fsname sysfs 0.004323 gp_port_library_list (2): found mtab fsname proc 0.004361 gp_port_library_list (2): found mtab fsname tmpfs 0.004436 gp_port_library_list (2): found mtab fsname devpts 0.004478 gp_port_library_list (2): found mtab fsname tmpfs 0.004550 gp_port_library_list (2): found mtab fsname tmpfs 0.004624 gp_port_library_list (2): found mtab fsname tmpfs 0.004716 gp_port_library_list (2): found mtab fsname cgroup 0.004757 gp_port_library_list (2): found mtab fsname cgroup 0.004795 gp_port_library_list (2): found mtab fsname cgroup 0.004832 gp_port_library_list (2): found mtab fsname cgroup 0.004869 gp_port_library_list (2): found mtab fsname cgroup 0.005047 gp_port_library_list (2): found mtab fsname cgroup 0.005090 gp_port_library_list (2): found mtab fsname cgroup 0.005129 gp_port_library_list (2): found mtab fsname systemd-1 0.005168 gp_port_library_list (2): found mtab fsname debugfs 0.005243 gp_port_library_list (2): found mtab fsname mqueue 0.005282 gp_port_library_list (2): found mtab fsname fusectl 0.005318 gp_port_library_list (2): found mtab fsname configfs 0.005408 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1 0.005480 gp_port_library_list (2): found mtab fsname tmpfs 0.005560 gp_port_library_list (2): found mtab fsname gvfsd-fuse 0.005727 foreach_func (2): Loaded '' ('^disk:') from '/usr/local/lib/libgphoto2_port/0.12.0/disk'. 0.005764 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.006489 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.006530 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.006563 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.007520 foreach_func (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.007562 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.007596 foreach_func (2): Loaded '' ('^serial:') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.007626 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.009351 foreach_func (2): Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.009399 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,006') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.009434 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.009467 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'. 0.010095 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'. 0.010637 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/vusb'. 0.011103 gp_port_library_type (2): () 0.011139 foreach_func (2): '/usr/local/lib/libgphoto2_port/0.12.0/vusb' already loaded 0.011277 gp_port_info_list_count (2): Counting entries (9 available)... 0.011311 gp_port_info_list_count (2): 5 regular entries available. 0.011404 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.10.1'... 0.013753 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/adc65'. 0.013818 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/agfa_cl20'. 0.013850 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/aox'. 0.013879 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/ax203'. 0.013908 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/barbie'. 0.013936 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/canon'. 0.013964 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/casio_qv'. 0.013991 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/clicksmart310'. 0.014020 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/digigr8'. 0.014048 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/digita'. 0.014076 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/dimagev'. 0.014103 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/dimera3500'. 0.014172 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/directory'. 0.014202 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/enigma13'. 0.014230 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/fuji'. 0.014257 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/gsmart300'. 0.014284 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/hp215'. 0.014313 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/iclick'. 0.014341 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/jamcam'. 0.014368 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/jd11'. 0.014396 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/jl2005a'. 0.014423 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/jl2005c'. 0.014451 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/kodak_dc120'. 0.014478 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/kodak_dc210'. 0.014505 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/kodak_dc240'. 0.014532 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/kodak_dc3200'. 0.014560 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/kodak_ez200'. 0.014588 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/konica'. 0.014615 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/konica_qm150'. 0.014642 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/largan'. 0.014670 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/lg_gsm'. 0.014697 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/mars'. 0.014724 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/mustek'. 0.014751 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/panasonic_coolshot'. 0.014781 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/panasonic_dc1000'. 0.014809 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/panasonic_dc1580'. 0.014837 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/panasonic_l859'. 0.014864 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/pccam300'. 0.014892 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/pccam600'. 0.014920 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/pentax'. 0.014947 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/polaroid_pdc320'. 0.014974 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/polaroid_pdc640'. 0.015002 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/polaroid_pdc700'. 0.015029 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/ptp2'. 0.015056 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/ricoh'. 0.015083 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/ricoh_g3'. 0.015111 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/samsung'. 0.015138 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sierra'. 0.015165 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sipix_blink2'. 0.015192 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sipix_web2'. 0.015219 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/smal'. 0.015247 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sonix'. 0.015274 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sony_dscf1'. 0.015301 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sony_dscf55'. 0.015329 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/soundvision'. 0.015380 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/spca50x'. 0.015408 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sq905'. 0.015436 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/st2205'. 0.015463 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/stv0674'. 0.015490 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/stv0680'. 0.015518 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/sx330z'. 0.015545 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/topfield'. 0.015572 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/toshiba_pdrm11'. 0.015600 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.10.1/tp6801'. 0.015652 gp_abilities_list_load_dir (2): Found 64 camera drivers. 0.083776 gp_port_info_list_count (2): Counting entries (9 available)... 0.083859 gp_port_info_list_count (2): 5 regular entries available. 0.083877 gp_port_new (2): Creating new device... 0.083908 gp_port_info_list_get_info (2): Getting info of entry 0 (9 available)... 0.084360 gp_port_set_settings (2): Setting settings... 0.084388 gp_port_info_list_get_info (2): Getting info of entry 1 (9 available)... 0.084665 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.084683 gp_port_set_settings (2): Setting settings... 0.084701 gp_port_info_list_get_info (2): Getting info of entry 2 (9 available)... 0.084952 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.084969 gp_port_set_settings (2): Setting settings... 0.084986 gp_port_info_list_get_info (2): Getting info of entry 3 (9 available)... 0.085866 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.085888 gp_port_set_settings (2): Setting settings... 0.085913 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,006, (new int=0, conf=-1, alt=-1), port usb:001,006 0.085929 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.086368 gp_port_usb_find_device_lib (2): Looking for USB device (vendor 0x4a9, product 0x3281)... found. 0.086385 gp_port_usb_find_device_lib (2): inep to look for is 81 0.086408 gp_port_usb_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 0.086424 gp_abilities_list_detect_usb(2): Found 'Canon EOS 5D Mark IV' (0x4a9,0x3281) 0.086442 gp_port_info_list_get_info (2): Getting info of entry 4 (9 available)... 0.087309 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.087332 gp_port_set_settings (2): Setting settings... 0.087356 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1), port usb:001,003 0.087372 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.088911 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.090057 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 0.090140 gp_port_free (2): Freeing port... 0.090157 gp_port_close (2): Closing port... 0.090186 gp_port_usb_close [libusb.c:321](0): Invalid parameters: 'port && port->pl->dh' is NULL/FALSE. 0.090388 gp_camera_set_abilities (2): Setting abilities ('Canon EOS 5D Mark IV')... 0.090414 gp_setting_set (2): Setting key 'model' to value 'Canon EOS 5D Mark IV' (gphoto2) 0.090434 save_settings (2): Saving 3 setting(s) to file "/home/pi/.gphoto/settings" 0.090751 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,006' (9 entries available)... 0.090779 gp_port_info_list_get_info (2): Getting info of entry 3 (9 available)... 0.090802 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,006'... 0.091740 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.091764 gp_port_set_settings (2): Setting settings... 0.091788 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,006, (new int=0, conf=-1, alt=-1), port usb:001,006 0.091809 gp_setting_set (2): Setting key 'port' to value 'usb:001,006' (gphoto2) 0.091828 save_settings (2): Saving 3 setting(s) to file "/home/pi/.gphoto/settings" 0.157808 gp_camera_init (2): Initializing camera... 0.157860 gp_port_usb_find_device_lib (2): Looking for USB device (vendor 0x4a9, product 0x3281)... found. 0.157878 gp_port_usb_find_device_lib (2): inep to look for is 81 0.157900 gp_port_usb_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 0.157915 gp_camera_init (2): Loading '/usr/local/lib/libgphoto2/2.5.10.1/ptp2'... 0.159683 gp_port_open (2): Opening USB port... 0.159735 gp_port_usb_open (2): gp_port_usb_open(0x5d4b70) 0.159828 gp_port_usb_open (2): claiming interface 0 0.160018 camera_init (2): maxpacketsize 512 0.160067 gp_port_set_timeout (2): Setting port timeout to 1500 milliseconds. 0.160109 ptp (2): PTP: Opening session 0.160226 ptp_usb_sendreq (2): Sending PTP_OC 0x1002 (Open session) (0x1) request... 0.160246 gp_port_write (3): Writing 16 = 0x10 bytes to port... 0.160380 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.160406 ptp_usb_getresp (2): Reading PTP_OC 0x1002 (Open session) response... 0.160424 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.160703 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 05 20-00 00 00 00 ....... .... 0.160729 ptp_usb_getresp [usb.c:454] (0): PTP_OC 0x1002 receiving resp failed: PTP Operation Not Supported (0x2005) 0.160749 camera_init [library.c:7791](0): 'ptp_opensession (params, sessionid)' failed: PTP Operation Not Supported (0x2005) 0.160762 ptp (2): PTP: Opening session 0.160783 ptp_usb_sendreq (2): Sending PTP_OC 0x1002 (Open session) (0x1) request... 0.160799 gp_port_write (3): Writing 16 = 0x10 bytes to port... 0.160879 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.160902 ptp_usb_getresp (2): Reading PTP_OC 0x1002 (Open session) response... 0.160917 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.161158 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 05 20-00 00 00 00 ....... .... 0.161179 ptp_usb_getresp [usb.c:454] (0): PTP_OC 0x1002 receiving resp failed: PTP Operation Not Supported (0x2005) 0.161197 camera_init [library.c:7791](0): 'ptp_opensession (params, sessionid)' failed: PTP Operation Not Supported (0x2005) 0.161210 ptp (2): PTP: Opening session 0.161229 ptp_usb_sendreq (2): Sending PTP_OC 0x1002 (Open session) (0x1) request... 0.161244 gp_port_write (3): Writing 16 = 0x10 bytes to port... 0.161304 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.161326 ptp_usb_getresp (2): Reading PTP_OC 0x1002 (Open session) response... 0.161342 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.161622 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 05 20-00 00 00 00 ....... .... 0.161670 ptp_usb_getresp [usb.c:454] (0): PTP_OC 0x1002 receiving resp failed: PTP Operation Not Supported (0x2005) 0.161690 camera_init [library.c:7791](0): 'ptp_opensession (params, sessionid)' failed: PTP Operation Not Supported (0x2005) 0.161707 camera_init [library.c:7819](0): 'ret' failed: 'PTP Operation Not Supported' (0x2005) 0.161758 gp_context_error (0): PTP Operation Not Supported *** Error *** PTP Operation Not Supported 0.161823 gp_port_close (2): Closing port... 0.162224 gp_context_error (0): An error occurred in the io-library ('Unsupported operation'): No error description available *** Error *** An error occurred in the io-library ('Unsupported operation'): No error description available ERROR: Could not capture image. ERROR: Could not capture. *** Error (-6: 'Unsupported operation') *** 0.164123 gp_camera_free (2): Freeing camera... 0.164165 gp_port_free (2): Freeing port... 0.164191 gp_port_close (2): Closing port... 0.164229 gp_port_usb_close [libusb.c:321](0): Invalid parameters: 'port && port->pl->dh' is NULL/FALSE. 0.164413 gp_filesystem_reset (2): resetting filesystem 0.164444 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.164471 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.164499 delete_all_folders (2): Internally deleting all folders from '/'... 0.164526 lookup_folder (2): Lookup folder '/'... 0.164554 lookup_folder (2): Found! / is 0x5d4b40 0.164581 recurse_delete_folder (2): Recurse delete folder 0x5d4b40//