gphoto / gphoto2

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

Gphoto2 Error 7 with Coolpix S2600 #135

Open RBub opened 6 years ago

RBub commented 6 years ago

Hello Sirs ! After installing and compiling gphoto2 2.5.17 + lib, I get an error 7 for most instructions with my S2600. Some instructions works one time and then I should restart the camera. Surprisingly it works perfectly with an old sony DSC-P9 after setting PTP mode in the device (with of course few functions).
As far as I understand the log in line 357 the device lock from this instruction witch is not supported Any suggestion ? [Roland@portable-bub ~]$ gphoto2 --debug --summary 0.000402 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000490 main (2): gphoto2 2.5.17 0.000516 main (2): gphoto2 has been compiled with the following options: 0.000536 main (2): + gcc (C compiler used) 0.000555 main (2): + popt (mandatory, for handling command-line parameters) 0.000572 main (2): + exif (for displaying EXIF information) 0.000592 main (2): + no cdk (for accessing configuration options) 0.000612 main (2): + no aa (for displaying live previews) 0.000632 main (2): + jpeg (for displaying live previews in JPEG format) 0.000652 main (2): + readline (for easy navigation in the shell) 0.000686 main (2): libgphoto2 2.5.17 0.000710 main (2): libgphoto2 has been compiled with the following options: 0.000730 main (2): + all camlibs 0.000748 main (2): + gcc (C compiler used) 0.000767 main (2): + ltdl (for portable loading of camlibs) 0.000786 main (2): + EXIF (for special handling of EXIF files) 0.000815 main (2): libgphoto2_port 0.12.0 0.000839 main (2): libgphoto2_port has been compiled with the following options: 0.000860 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi 0.000879 main (2): + gcc (C compiler used) 0.000897 main (2): + ltdl (for portable loading of iolibs) 0.000916 main (2): + USB (libusb1, for USB cameras) 0.000935 main (2): + serial (for serial cameras) 0.000953 main (2): + no resmgr (serial port access and locking) 0.000972 main (2): + no ttylock (serial port locking) 0.000991 main (2): + no lockdev (serial port locking) 0.001004 main (2): CAMLIBS env var not set, using compile-time default instead 0.001017 main (2): IOLIBS env var not set, using compile-time default instead 0.001037 main (2): invoked with following arguments: 0.001051 main (2): --debug 0.001064 main (2): --summary 0.001128 load_settings (2): Creating gphoto config directory ('/home/Roland/.gphoto') 0.001417 load_settings (2): Loading settings from file '/home/Roland/.gphoto/settings'. 0.001735 main (2): The user has not specified both a model and a port. Try to figure them out. 0.001758 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.12.0'... 0.001868 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/disk'. 0.002086 gp_port_library_list (2): found fstab fsname /dev/mapper/vg_portablebub-lv_root 0.002108 gp_port_library_list (2): found fstab fsname UUID=a1fac1a4-38d2-481b-a21e-31c5cf8de0e8 0.002126 gp_port_library_list (2): found fstab fsname /dev/mapper/vg_portablebub-lv_home 0.002146 gp_port_library_list (2): found fstab fsname /dev/mapper/vg_portablebub-lv_swap 0.002162 gp_port_library_list (2): found fstab fsname tmpfs 0.002192 gp_port_library_list (2): found fstab fsname devpts 0.002206 gp_port_library_list (2): found fstab fsname sysfs 0.002219 gp_port_library_list (2): found fstab fsname proc 0.002300 gp_port_library_list (2): found mtab fsname /dev/mapper/vg_portablebub-lv_root 0.002322 gp_port_library_list (2): found mtab fsname proc 0.002336 gp_port_library_list (2): found mtab fsname sysfs 0.002349 gp_port_library_list (2): found mtab fsname devpts 0.002363 gp_port_library_list (2): found mtab fsname tmpfs 0.002385 gp_port_library_list (2): found mtab fsname /dev/sda2 0.002406 gp_port_library_list (2): found mtab fsname /dev/mapper/vg_portablebub-lv_home 0.002426 gp_port_library_list (2): found mtab fsname none 0.002465 gp_port_library_list (2): found mtab fsname gvfs-fuse-daemon 0.002480 gp_port_library_list (2): found mtab fsname Roland@cent1://bmidata/vol0/Turc 0.002519 foreach_func (2): Loaded '' ('^disk:') from '/usr/local/lib/libgphoto2_port/0.12.0/disk'. 0.002528 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.002684 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.002699 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'. 0.002711 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.002952 foreach_func (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.002965 foreach_func (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.002978 foreach_func (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.002990 foreach_func (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.002997 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.003004 foreach_func (2): Loaded '' ('^serial:') from '/usr/local/lib/libgphoto2_port/0.12.0/serial'. 0.003010 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.003899 foreach_func (2): Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.003915 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:005,003') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.003928 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:004,002') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.003940 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:002,085') from '/usr/local/lib/libgphoto2_port/0.12.0/usb'. 0.003952 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usb1'. 0.004194 foreach_func (2): '/usr/local/lib/libgphoto2_port/0.12.0/usb1' already loaded 0.004225 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'. 0.004475 foreach_func (2): Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'. 0.004735 gp_port_info_list_count (2): Counting entries (13 available)... 0.004749 gp_port_info_list_count (2): 9 regular entries available. 0.004773 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.17'... 0.005033 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/adc65'. 0.005047 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/agfa_cl20'. 0.005054 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/aox'. 0.005060 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/ax203'. 0.005066 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/barbie'. 0.005072 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/canon'. 0.005077 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/casio_qv'. 0.005083 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/clicksmart310'. 0.005089 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/digigr8'. 0.005095 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/digita'. 0.005100 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/dimagev'. 0.005106 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/dimera3500'. 0.005111 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/directory'. 0.005117 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/enigma13'. 0.005122 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/fuji'. 0.005128 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/gsmart300'. 0.005134 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/hp215'. 0.005139 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/iclick'. 0.005145 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/jamcam'. 0.005150 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/jd11'. 0.005156 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/jl2005a'. 0.005162 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/jl2005c'. 0.005167 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/kodak_dc120'. 0.005179 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/kodak_dc210'. 0.005190 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/kodak_dc240'. 0.005202 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/kodak_dc3200'. 0.005213 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/kodak_ez200'. 0.005225 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/konica'. 0.005236 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/konica_qm150'. 0.005247 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/largan'. 0.005299 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/lg_gsm'. 0.005311 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/mars'. 0.005323 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/mustek'. 0.005335 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/panasonic_coolshot'. 0.005347 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/panasonic_dc1000'. 0.005355 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/panasonic_dc1580'. 0.005367 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/panasonic_l859'. 0.005379 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/pccam300'. 0.005389 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/pccam600'. 0.005400 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/pentax'. 0.005412 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/polaroid_pdc320'. 0.005422 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/polaroid_pdc640'. 0.005434 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/polaroid_pdc700'. 0.005442 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/ptp2'. 0.005454 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/ricoh'. 0.005462 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/ricoh_g3'. 0.005474 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/samsung'. 0.005486 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sierra'. 0.005495 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sipix_blink2'. 0.005507 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sipix_web2'. 0.005519 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/smal'. 0.005529 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sonix'. 0.005537 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sony_dscf1'. 0.005549 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sony_dscf55'. 0.005559 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/soundvision'. 0.005571 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/spca50x'. 0.005583 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sq905'. 0.005592 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/st2205'. 0.005603 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/stv0674'. 0.005615 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/stv0680'. 0.005625 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/sx330z'. 0.005637 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/topfield'. 0.005648 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/toshiba_pdrm11'. 0.005658 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.17/tp6801'. 0.005672 gp_abilities_list_load_dir (2): Found 64 camera drivers. 0.028584 gp_port_info_list_count (2): Counting entries (13 available)...
0.028621 gp_port_info_list_count (2): 9 regular entries available. 0.028633 gp_port_new (2): Creating new device... 0.028662 gp_port_info_list_get_info (2): Getting info of entry 0 (13 available)... 0.028885 gp_port_set_settings (2): Setting settings... 0.028923 gp_port_info_list_get_info (2): Getting info of entry 1 (13 available)... 0.029051 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.029059 gp_port_set_settings (2): Setting settings... 0.029065 gp_port_info_list_get_info (2): Getting info of entry 2 (13 available)... 0.029168 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.029186 gp_port_set_settings (2): Setting settings... 0.029198 gp_port_info_list_get_info (2): Getting info of entry 3 (13 available)... 0.029354 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.029368 gp_port_set_settings (2): Setting settings... 0.029377 gp_port_info_list_get_info (2): Getting info of entry 4 (13 available)... 0.029486 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.029499 gp_port_set_settings (2): Setting settings... 0.029511 gp_port_info_list_get_info (2): Getting info of entry 5 (13 available)... 0.029619 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.029632 gp_port_set_settings (2): Setting settings... 0.029643 gp_port_info_list_get_info (2): Getting info of entry 6 (13 available)... 0.030533 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.030547 gp_port_set_settings (2): Setting settings... 0.030564 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:005,003, (new int=0, conf=-1, alt=-1), port usb:005,003 0.030577 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.031044 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.031468 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 0.031504 gp_port_info_list_get_info (2): Getting info of entry 7 (13 available)... 0.032379 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.032392 gp_port_set_settings (2): Setting settings... 0.032408 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:004,002, (new int=0, conf=-1, alt=-1), port usb:004,002 0.032421 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.032736 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.032956 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 0.032980 gp_port_info_list_get_info (2): Getting info of entry 8 (13 available)... 0.033813 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.033826 gp_port_set_settings (2): Setting settings... 0.033842 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:002,085, (new int=0, conf=-1, alt=-1), port usb:002,085 0.033854 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.034091 gp_port_usb_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.034114 gp_port_usb_find_device_lib (2): Looking for USB device (vendor 0x4b0, product 0x32d)... found. 0.034120 gp_port_usb_find_device_lib (2): inep to look for is 81 0.034127 gp_port_usb_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01 0.034133 gp_abilities_list_detect_usb(2): Found 'Nikon Coolpix S2600 (PTP mode)' (0x4b0,0x32d) 0.034141 gp_port_free (2): Freeing port... 0.034147 gp_port_close (2): Closing port... 0.034158 gp_port_usb_close libusb.c:325: Invalid parameters: 'port && port->pl->dh' is NULL/FALSE. 0.034342 gp_camera_set_abilities (2): Setting abilities ('Nikon Coolpix S2600 (PTP mode)')... 0.034357 gp_setting_set (2): Setting key 'model' to value 'Nikon Coolpix S2600 (PTP mode)' (gphoto2) 0.034371 save_settings (2): Saving 2 setting(s) to file "/home/Roland/.gphoto/settings" 0.034544 gp_port_info_list_lookup_path(2): Looking for path 'usb:002,085' (13 entries available)... 0.034560 gp_port_info_list_get_info (2): Getting info of entry 8 (13 available)... 0.034579 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:002,085'... 0.035359 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.035369 gp_port_set_settings (2): Setting settings... 0.035385 gp_port_usb_update (2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:002,085, (new int=0, conf=-1, alt=-1), port usb:002,085 0.035400 gp_setting_set (2): Setting key 'port' to value 'usb:002,085' (gphoto2) 0.035408 save_settings (2): Saving 2 setting(s) to file "/home/Roland/.gphoto/settings" 0.035865 gp_camera_init (2): Initializing camera... 0.035888 gp_port_usb_find_device_lib (2): Looking for USB device (vendor 0x4b0, product 0x32d)... found. 0.035900 gp_port_usb_find_device_lib (2): inep to look for is 81 0.035913 gp_port_usb_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01 0.035925 gp_camera_init (2): Loading '/usr/local/lib/libgphoto2/2.5.17/ptp2'... 0.036620 gp_port_open (2): Opening USB port... 0.036635 gp_port_usb_open (2): gp_port_usb_open(0x1785460) 0.036678 gp_port_usb_open (2): claiming interface 0 0.036769 camera_init (2): maxpacketsize 512 0.036789 gp_port_set_timeout (2): Setting port timeout to 8000 milliseconds. 0.036808 ptp (2): PTP: Opening session 0.036870 ptp_usb_sendreq (2): Sending PTP_OC 0x1002 (Open session) (0x1) request... 0.036886 gp_port_write (3): Writing 16 = 0x10 bytes to port... 0.037080 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.037097 ptp_usb_getresp (2): Reading PTP_OC 0x1002 (Open session) response... 0.037108 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.105070 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.105114 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 0.105188 ptp_usb_sendreq (2): Sending PTP_OC 0x1001 (Get device info) request... 0.105208 gp_port_write (3): Writing 12 = 0xc bytes to port... 0.105384 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.105421 ptp_usb_getdata (2): Reading PTP_OC 0x1001 (Get device info) data... 0.105446 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.105788 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 06 00 /...........d... 0010 00 00 64 00 14 6d 00 69-00 63 00 72 00 6f 00 73 ..d..m.i.c.r.o.s 0020 00 6f 00 66 00 74 00 2e-00 63 00 6f 00 6d 00 3a .o.f.t...c.o.m.: 0030 00 20 00 31 00 2e 00 30-00 3b 00 00 00 00 00 23 . .1...0.;.....# 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 0c-10 0d 10 1b 10 0b 10 0f ................ 0060 10 05 90 06 90 23 10 0e-10 14 10 15 10 16 10 21 .....#.........! 0070 10 22 10 24 10 25 10 26-10 27 10 00 92 02 90 03 .".$.%.&.'...... 0080 90 01 98 02 98 03 98 05-98 0d 00 00 00 01 40 02 ..............@. 0090 40 03 40 04 40 05 40 06-40 07 40 08 40 09 40 0a @.@.@.@.@.@.@.@. 00a0 40 0c 40 0d 40 01 c0 09-00 00 00 07 d4 06 d4 02 @.@.@........... 00b0 d0 11 50 0c 50 0a 50 08-50 01 50 03 d3 01 00 00 ..P.P.P.P.P..... 00c0 00 01 38 07 00 00 00 01-30 00 38 01 38 06 30 0a ..8.....0.8.8.0. 00d0 30 0d 30 08 30 12 4e 00-69 00 6b 00 6f 00 6e 00 0.0.0.N.i.k.o.n. 00e0 20 00 43 00 6f 00 72 00-70 00 6f 00 72 00 61 00 .C.o.r.p.o.r.a. 00f0 74 00 69 00 6f 00 6e 00-00 00 06 53 00 32 00 36 t.i.o.n....S.2.6 0100 00 30 00 30 00 00 00 13-43 00 4f 00 4f 00 4c 00 .0.0....C.O.O.L. 0110 50 00 49 00 58 00 20 00-53 00 32 00 36 00 30 00 P.I.X. .S.2.6.0. 0120 30 00 20 00 56 00 31 00-2e 00 31 00 00 00 00 0. .V.1...1....

0.105927 ptp_usb_getresp (2): Reading PTP_OC 0x1001 (Get device info) response... 0.105947 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.106095 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.106211 print_debug_deviceinfo (2): Device info: 0.106232 print_debug_deviceinfo (2): Manufacturer: Nikon Corporation 0.106252 print_debug_deviceinfo (2): Model: S2600 0.106354 print_debug_deviceinfo (2): device version: COOLPIX S2600 V1.1 0.106370 print_debug_deviceinfo (2): serial number: '(null)' 0.106386 print_debug_deviceinfo (2): Vendor extension ID: 0x0000000a 0.106405 print_debug_deviceinfo (2): Vendor extension version: 100 0.106426 print_debug_deviceinfo (2): Vendor extension description: microsoft.com: 1.0; 0.106449 print_debug_deviceinfo (2): Functional Mode: 0x0000 0.106463 print_debug_deviceinfo (2): PTP Standard Version: 100 0.106482 print_debug_deviceinfo (2): Supported operations: 0.106504 print_debug_deviceinfo (2): 0x1001 (Get device info) 0.106529 print_debug_deviceinfo (2): 0x1002 (Open session) 0.106551 print_debug_deviceinfo (2): 0x1003 (Close session) 0.106576 print_debug_deviceinfo (2): 0x1004 (Get storage IDs) 0.106594 print_debug_deviceinfo (2): 0x1005 (Get storage info) 0.106612 print_debug_deviceinfo (2): 0x1006 (Get number of objects) 0.106632 print_debug_deviceinfo (2): 0x1007 (Get object handles) 0.106653 print_debug_deviceinfo (2): 0x1008 (Get object info) 0.106673 print_debug_deviceinfo (2): 0x1009 (Get object) 0.106697 print_debug_deviceinfo (2): 0x100a (Get thumbnail) 0.106717 print_debug_deviceinfo (2): 0x100c (Send object info) 0.106737 print_debug_deviceinfo (2): 0x100d (Send object) 0.106759 print_debug_deviceinfo (2): 0x101b (Get partial object) 0.106779 print_debug_deviceinfo (2): 0x100b (Delete object) 0.106800 print_debug_deviceinfo (2): 0x100f (Format storage) 0.106825 print_debug_deviceinfo (2): 0x9005 (Unknown PTP_OC) 0.106850 print_debug_deviceinfo (2): 0x9006 (PTP_OC_NIKON_GetProfileAllData) 0.106870 print_debug_deviceinfo (2): 0x1023 (Get Filesystem Manifest) 0.106889 print_debug_deviceinfo (2): 0x100e (Initiate capture) 0.106908 print_debug_deviceinfo (2): 0x1014 (Get device property description) 0.106928 print_debug_deviceinfo (2): 0x1015 (Get device property value) 0.106951 print_debug_deviceinfo (2): 0x1016 (Set device property value) 0.106972 print_debug_deviceinfo (2): 0x1021 (Get Vendor Device Info) 0.106992 print_debug_deviceinfo (2): 0x1022 (Get Resized Image Object) 0.107012 print_debug_deviceinfo (2): 0x1024 (Get Stream Info) 0.107030 print_debug_deviceinfo (2): 0x1025 (Get Stream) 0.107049 print_debug_deviceinfo (2): 0x1026 (Unknown PTP_OC) 0.107068 print_debug_deviceinfo (2): 0x1027 (Unknown PTP_OC) 0.107093 print_debug_deviceinfo (2): 0x9200 (PTP_OC_NIKON_GetPreviewImg) 0.107114 print_debug_deviceinfo (2): 0x9002 (Unknown PTP_OC) 0.107132 print_debug_deviceinfo (2): 0x9003 (Unknown PTP_OC) 0.107151 print_debug_deviceinfo (2): 0x9801 (Unknown PTP_OC) 0.107169 print_debug_deviceinfo (2): 0x9802 (Unknown PTP_OC) 0.107191 print_debug_deviceinfo (2): 0x9803 (Unknown PTP_OC) 0.107211 print_debug_deviceinfo (2): 0x9805 (Unknown PTP_OC) 0.107229 print_debug_deviceinfo (2): Events Supported: 0.107248 print_debug_deviceinfo (2): 0x4001 (CancelTransaction) 0.107302 print_debug_deviceinfo (2): 0x4002 (ObjectAdded) 0.107322 print_debug_deviceinfo (2): 0x4003 (ObjectRemoved) 0.107340 print_debug_deviceinfo (2): 0x4004 (StoreAdded) 0.107371 print_debug_deviceinfo (2): 0x4005 (StoreRemoved) 0.107391 print_debug_deviceinfo (2): 0x4006 (DevicePropChanged) 0.107414 print_debug_deviceinfo (2): 0x4007 (ObjectInfoChanged) 0.107438 print_debug_deviceinfo (2): 0x4008 (DeviceInfoChanged) 0.107463 print_debug_deviceinfo (2): 0x4009 (RequestObjectTransfer) 0.107483 print_debug_deviceinfo (2): 0x400a (StoreFull) 0.107502 print_debug_deviceinfo (2): 0x400c (StorageInfoChanged) 0.107523 print_debug_deviceinfo (2): 0x400d (CaptureComplete) 0.107544 print_debug_deviceinfo (2): 0xc001 (Unknown Event) 0.107561 print_debug_deviceinfo (2): Device Properties Supported: 0.107583 print_debug_deviceinfo (2): 0xd407 (Unknown DPC code) 0.107606 print_debug_deviceinfo (2): 0xd406 (Unknown DPC code) 0.107625 print_debug_deviceinfo (2): 0xd002 (Unknown DPC code) 0.107649 print_debug_deviceinfo (2): 0x5011 (Date & Time) 0.107674 print_debug_deviceinfo (2): 0x500c (Flash Mode) 0.107692 print_debug_deviceinfo (2): 0x500a (Focus Mode) 0.107713 print_debug_deviceinfo (2): 0x5008 (Focal Length) 0.107734 print_debug_deviceinfo (2): 0x5001 (Battery Level) 0.107755 print_debug_deviceinfo (2): 0xd303 (Unknown DPC code) 0.107800 ptp_usb_sendreq (2): Sending PTP_OC 0x1004 (Get storage IDs) request... 0.107823 gp_port_write (3): Writing 12 = 0xc bytes to port... 0.107991 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.108022 ptp_usb_getdata (2): Reading PTP_OC 0x1004 (Get storage IDs) data... 0.108039 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.108239 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 01 00 - ....

0.108328 ptp_usb_getresp (2): Reading PTP_OC 0x1004 (Get storage IDs) response... 0.108353 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.108487 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.108527 ptp (2): (storage=0xffffffff, handle=0xffffffff) 0.108566 ptp_usb_sendreq (2): Sending PTP_OC 0x1023 (Get Filesystem Manifest) (0x0,0x0,0x0) request... 0.108590 gp_port_write (3): Writing 24 = 0x18 bytes to port... 0.108732 gp_port_write (3): Wrote 24 = 0x18 bytes to port: (hexdump of 24 bytes) 0000 18 00 00 00 01 00 23 10-03 00 00 00 00 00 00 00 ......#......... 0010 00 00 00 00 00 00 00 00- ........

0.108771 ptp_usb_getdata (2): Reading PTP_OC 0x1023 (Get Filesystem Manifest) data... 0.108791 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.108994 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-03 00 00 00 ....... ....

0.109032 ptp_usb_getresp (2): Reading PTP_OC 0x1023 (Get Filesystem Manifest) response... 0.109048 ptp_usb_getpacket (2): Returning previously buffered response packet. 0.109072 ptp_usb_getresp [usb.c:482] (0): PTP_OC 0x1023 receiving resp failed: PTP Device Prop Not Supported (0x200a) 0.109088 ptp (2): Listing ... 0.109118 ptp_usb_sendreq (2): Sending PTP_OC 0x1007 (Get object handles) (0x0,0x0,0xffffffff) request... 0.109136 gp_port_write (3): Writing 24 = 0x18 bytes to port... 0.109387 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 00 00 00 00 ................ 0010 00 00 00 00 ff ff ff ff- ........

0.109426 ptp_usb_getdata (2): Reading PTP_OC 0x1007 (Get object handles) data... 0.109447 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.109619 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.109638 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.109851 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.109885 ptp_usb_getdata [usb.c:280] (0): Read short bulk packet in data phase 0 vs 0 vs min len 12 0.109906 ptp_usb_getdata [usb.c:447] (0): PTP_OC 0x1007 receiving data failed: PTP I/O Error (0x02ff) 0.109925 ptp (2): (storage=0x00010001, handle=0xffffffff) 0.109965 ptp_usb_sendreq (2): Sending PTP_OC 0x1023 (Get Filesystem Manifest) (0x10001,0x0,0x0) request... 0.109984 gp_port_write (3): Writing 24 = 0x18 bytes to port... 0.110093 gp_port_write (3): Wrote 0 = 0x0 out of 24 bytes to port: (empty hexdump of empty buffer) 0.110114 ptp_usb_sendreq [usb.c:117] (0): PTP_OC 0x1023 sending req failed: wrote only 0 of 24 bytes 0.110135 ptp_usb_getdata (2): Reading PTP_OC 0x1023 (Get Filesystem Manifest) data... 0.110151 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.110384 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.110403 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.110605 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.110630 ptp_usb_getdata [usb.c:447] (0): PTP_OC 0x1023 receiving data failed: PTP Data Expected (0x02fe) 0.110647 ptp (2): Listing ... 0.110676 ptp_usb_sendreq (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request... 0.110716 gp_port_write (3): Writing 24 = 0x18 bytes to port... 0.110871 gp_port_write (3): Wrote 0 = 0x0 out of 24 bytes to port: (empty hexdump of empty buffer) 0.110897 ptp_usb_sendreq [usb.c:117] (0): PTP_OC 0x1007 sending req failed: wrote only 0 of 24 bytes 0.110923 ptp_usb_getdata (2): Reading PTP_OC 0x1007 (Get object handles) data... 0.110955 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.111092 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.111111 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.111408 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.111445 ptp_usb_getdata [usb.c:280] (0): Read short bulk packet in data phase 0 vs 0 vs min len 12 0.111470 ptp_usb_getdata [usb.c:447] (0): PTP_OC 0x1007 receiving data failed: PTP I/O Error (0x02ff) 0.111625 ptp_usb_sendreq (2): Sending PTP_OC 0x1005 (Get storage info) (0x10001) request... 0.111650 gp_port_write (3): Writing 16 = 0x10 bytes to port... 0.111873 gp_port_write (3): Wrote 0 = 0x0 out of 16 bytes to port: (empty hexdump of empty buffer) 0.111900 ptp_usb_sendreq [usb.c:117] (0): PTP_OC 0x1005 sending req failed: wrote only 0 of 16 bytes 0.111926 ptp_usb_getdata (2): Reading PTP_OC 0x1005 (Get storage info) data... 0.111965 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.112093 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.112112 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.112396 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.112426 ptp_usb_getdata [usb.c:447] (0): PTP_OC 0x1005 receiving data failed: PTP Data Expected (0x02fe) 0.112471 camera_summary library.c:5794: 'ptp_getstorageinfo(params, params->storageids.Storage[i], &storageinfo)' failed: 'PTP I/O Error' (0x02ff) 0.112512 gp_context_error (0): PTP I/O Error

Error
PTP I/O Error 0.112578 gp_camera_get_summary gphoto2-camera.c:1244: 'camera->functions->summary (camera, summary, context)' failed: -7 Error (-7: 'I/O problem')

0.114475 gp_camera_free (2): Freeing camera... 0.114502 gp_camera_exit (2): Exiting camera ('Nikon Coolpix S2600 (PTP mode)')... 0.114537 ptp_usb_sendreq (2): Sending PTP_OC 0x1003 (Close session) request... 0.114560 gp_port_write (3): Writing 12 = 0xc bytes to port... 0.114760 gp_port_write (3): Wrote 0 = 0x0 out of 12 bytes to port: (empty hexdump of empty buffer) 0.114787 ptp_usb_sendreq [usb.c:117] (0): PTP_OC 0x1003 sending req failed: wrote only 0 of 12 bytes 0.114832 ptp_usb_getresp (2): Reading PTP_OC 0x1003 (Close session) response... 0.114850 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.115093 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.115112 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 0.115381 gp_port_read (3): Read 0 = 0x0 out of 1024 bytes from port: (empty hexdump of empty buffer) 0.115411 ptp_usb_getresp [usb.c:482] (0): PTP_OC 0x1003 receiving resp failed: PTP I/O Error (0x02ff) 0.115457 gp_port_close (2): Closing port... 0.115771 gp_filesystem_reset (2): resetting filesystem 0.115822 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.115841 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.115858 delete_all_folders (2): Internally deleting all folders from '/'... 0.115875 lookup_folder (2): Lookup folder '/'... 0.115892 lookup_folder (2): Found! / is 0x1785410 0.115909 recurse_delete_folder (2): Recurse delete folder 0x1785410// 0.115926 gp_port_free (2): Freeing port... 0.115945 gp_port_close (2): Closing port... 0.115971 gp_port_usb_close libusb.c:325: Invalid parameters: 'port && port->pl->dh' is NULL/FALSE. 0.116062 gp_filesystem_reset (2): resetting filesystem 0.116080 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.116093 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.116106 delete_all_folders (2): Internally deleting all folders from '/'... 0.116120 lookup_folder (2): Lookup folder '/'... 0.116134 lookup_folder (2): Found! / is 0x1785410 0.116148 recurse_delete_folder (2): Recurse delete folder 0x1785410// [Roland@portable-bub ~]$ ^C [Roland@portable-bub ~]$

RBub commented 6 years ago

Tried with a Nikon coolpix S9700 no problem :-) Everything is ok. Note that I had updated the firmware of the coolpix s2600 from 1.0 to 1.1 without any change. Case close the s2600 camera is probably the origin of that problem.