Discussion:
[gphoto-devel] help for use darktable.app
Javier Ramp
2017-01-07 00:35:51 UTC
Permalink
hi, guys,
i’m trying to use my canon eos 550D but i have some promise with this.

when run:
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --port usb: --capture-image-and-download

i have the next log:
0.000032 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.001027 main (2): gphoto2 2.5.11
0.001041 main (2): gphoto2 has been compiled with the following options:
0.001047 main (2): + clang (C compiler used)
0.001052 main (2): + popt (mandatory, for handling command-line parameters)
0.001057 main (2): + no exif (for displaying EXIF information)
0.001061 main (2): + no cdk (for accessing configuration options)
0.001067 main (2): + no aa (for displaying live previews)
0.001071 main (2): + jpeg (for displaying live previews in JPEG format)
0.001076 main (2): + readline (for easy navigation in the shell)
0.001091 main (2): libgphoto2 2.5.11
0.001101 main (2): libgphoto2 has been compiled with the following options:
0.001105 main (2): + all camlibs
0.001108 main (2): + clang (C compiler used)
0.001112 main (2): + ltdl (for portable loading of camlibs)
0.001116 main (2): + no EXIF (for special handling of EXIF files)
0.001120 main (2): libgphoto2_port 0.12.0
0.001124 main (2): libgphoto2_port has been compiled with the following options:
0.001128 main (2): + clang (C compiler used)
0.001132 main (2): + ltdl (for portable loading of camlibs)
0.001137 main (2): + USB (libusb1, for USB cameras)
0.001141 main (2): + serial (for serial cameras)
0.001147 main (2): + no resmgr (serial port access and locking)
0.001151 main (2): + no ttylock (serial port locking)
0.001154 main (2): + no lockdev (serial port locking)
0.001160 main (2): CAMLIBS env var not set, using compile-time default instead
0.001163 main (2): IOLIBS env var not set, using compile-time default instead
0.001168 main (2): invoked with following arguments:
0.001176 main (2): --debug
0.001181 main (2): --debug-logfile=my-logfile.txt
0.001202 main (2): --port
0.001206 main (2): usb:
0.001210 main (2): --capture-image-and-download
0.001245 main (2): Processing 'port' option ('usb:')...
0.001296 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0'...
0.001748 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/disk'.
0.002396 foreach_func (2): Loaded '' ('^disk:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/disk'.
0.002418 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/ptpip'.
0.002871 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/ptpip'.
0.002884 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/ptpip'.
0.002890 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/serial'.
0.005389 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/serial'.
0.005400 foreach_func (2): Loaded '' ('^serial:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/serial'.
0.005404 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043363 foreach_func (2): Loaded '' ('^usb:') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043391 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:250,005') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043397 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:250,007') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043402 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:250,003') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043406 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:253,002') from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usb1'.
0.043411 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
0.043894 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/usbscsi'.
0.044271 foreach_func (2): Called for filename '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/vusb'.
0.044573 gp_port_library_type (2): ()
0.044583 foreach_func (2): '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2_port/0.12.0/vusb' already loaded
0.044633 gp_port_info_list_count (2): Counting entries (10 available)...
0.044641 gp_port_info_list_count (2): 6 regular entries available.
0.044648 gp_port_info_list_lookup_path(2): Looking for path 'usb:' (10 entries available)...
0.044673 gp_port_info_list_lookup_path(2): Starting regex search for 'usb:'...
0.044677 gp_port_info_list_lookup_path(2): Trying '^disk:'...
0.044765 gp_port_info_list_lookup_path(2): regexec failed
0.044774 gp_port_info_list_lookup_path(2): Trying '^ptpip:'...
0.044830 gp_port_info_list_lookup_path(2): regexec failed
0.044835 gp_port_info_list_lookup_path(2): Trying '^serial:'...
0.044857 gp_port_info_list_lookup_path(2): regexec failed
0.044861 gp_port_info_list_lookup_path(2): Trying '^usb:'...
0.044901 gp_port_info_list_get_info (2): Getting info of entry 6 (11 available)...
0.044953 gp_camera_set_port_info (2): Setting port info for port 'Generic Port' at 'usb:'...
0.096715 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.096744 gp_port_set_settings (2): Setting settings...
0.096762 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.096769 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.096799 load_settings (2): Creating gphoto config directory ('/Users/javi/.gphoto')
0.096932 load_settings (2): Loading settings from file '/Users/javi/.gphoto/settings'.
0.096975 gp_setting_set (2): Setting key 'port' to value 'usb:' (gphoto2)
0.096997 save_settings (2): Saving 2 setting(s) to file "/Users/javi/.gphoto/settings"
0.097284 main (2): The user has not specified both a model and a port. Try to figure them out.
0.097309 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11'...
0.097515 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/adc65'.
0.097539 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/agfa_cl20'.
0.097545 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/aox'.
0.097548 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/ax203'.
0.097552 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/barbie'.
0.097555 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/canon'.
0.097558 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/casio_qv'.
0.097561 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/clicksmart310'.
0.097565 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/digigr8'.
0.097568 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/digita'.
0.097619 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/dimagev'.
0.097626 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/dimera3500'.
0.097631 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/directory'.
0.097635 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/enigma13'.
0.097638 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/fuji'.
0.097642 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/gsmart300'.
0.097647 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/hp215'.
0.097652 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/iclick'.
0.097657 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/jamcam'.
0.097680 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/jd11'.
0.097686 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/jl2005a'.
0.097690 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/jl2005c'.
0.097693 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/kodak_dc120'.
0.097696 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/kodak_dc210'.
0.097699 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/kodak_dc240'.
0.097703 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/kodak_dc3200'.
0.097706 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/kodak_ez200'.
0.097709 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/konica'.
0.097752 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/konica_qm150'.
0.097757 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/largan'.
0.097762 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/lg_gsm'.
0.097768 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/mars'.
0.097772 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/mustek'.
0.097775 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/panasonic_coolshot'.
0.097778 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/panasonic_dc1000'.
0.097781 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/panasonic_dc1580'.
0.097897 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/panasonic_l859'.
0.097904 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/pccam300'.
0.097907 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/pccam600'.
0.097911 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/pentax'.
0.097914 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/polaroid_pdc320'.
0.097922 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/polaroid_pdc640'.
0.097927 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/polaroid_pdc700'.
0.097933 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/ptp2'.
0.097957 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/ricoh'.
0.097965 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/ricoh_g3'.
0.097971 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/samsung'.
0.097976 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sierra'.
0.097980 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sipix_blink2'.
0.097985 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sipix_web2'.
0.097990 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/smal'.
0.097994 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sonix'.
0.097997 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sony_dscf1'.
0.098107 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sony_dscf55'.
0.098113 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/soundvision'.
0.098117 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/spca50x'.
0.098120 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sq905'.
0.098123 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/st2205'.
0.098130 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/stv0674'.
0.098133 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/stv0680'.
0.098135 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/sx330z'.
0.098138 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/topfield'.
0.098166 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/toshiba_pdrm11'.
0.098173 foreach_func (2): Found '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/tp6801'.
0.098181 gp_abilities_list_load_dir (2): Found 64 camera drivers.
0.142273 gp_port_info_list_count (2): Counting entries (11 available)...
0.142302 gp_port_info_list_count (2): 7 regular entries available.
0.142305 gp_port_new (2): Creating new device...
0.142317 gp_port_info_list_get_info (2): Getting info of entry 0 (11 available)...
0.142750 gp_port_set_settings (2): Setting settings...
0.142762 gp_port_info_list_get_info (2): Getting info of entry 1 (11 available)...
0.143091 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.143100 gp_port_set_settings (2): Setting settings...
0.143109 gp_port_info_list_get_info (2): Getting info of entry 2 (11 available)...
0.144443 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.144451 gp_port_set_settings (2): Setting settings...
0.144457 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:250,005, (new int=0, conf=-1, alt=-1) port usb:250,005
0.144460 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.144467 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.144837 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x4a9, product 0x31ea)... found.
0.144888 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.144893 gp_abilities_list_detect_usb(2): Found 'Canon EOS 550D' (0x4a9,0x31ea)
0.144899 gp_port_info_list_get_info (2): Getting info of entry 3 (11 available)...
0.146059 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.146091 gp_port_set_settings (2): Setting settings...
0.146106 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:250,007, (new int=0, conf=-1, alt=-1) port usb:250,007
0.146114 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.146121 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.147113 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.148074 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.148185 gp_port_info_list_get_info (2): Getting info of entry 4 (11 available)...
0.149501 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.149512 gp_port_set_settings (2): Setting settings...
0.149520 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:250,003, (new int=0, conf=-1, alt=-1) port usb:250,003
0.149525 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.149530 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.150719 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.151470 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.151531 gp_port_info_list_get_info (2): Getting info of entry 5 (11 available)...
0.152810 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.152817 gp_port_set_settings (2): Setting settings...
0.152822 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:253,002, (new int=0, conf=-1, alt=-1) port usb:253,002
0.152825 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.152832 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.153714 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.154358 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.154415 gp_port_info_list_get_info (2): Getting info of entry 6 (11 available)...
0.155529 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.155537 gp_port_set_settings (2): Setting settings...
0.155542 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.155548 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.155552 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.155744 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x4a9, product 0x31ea)... found.
0.155766 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.155771 gp_abilities_list_detect_usb(2): Found 'Canon EOS 550D' (0x4a9,0x31ea)
0.155778 gp_port_free (2): Freeing port...
0.155781 gp_port_close (2): Closing port...
0.155808 gphoto2 (2): Looking for port ...

0.155812 gphoto2 (2): info.type = 4

0.155814 gphoto2 (2): info.name = Generic Port

0.155817 gphoto2 (2): info.path = usb:

0.155882 gp_camera_set_abilities (2): Setting abilities ('Canon EOS 550D')...
0.155900 gp_setting_set (2): Setting key 'model' to value 'Canon EOS 550D' (gphoto2)
0.155911 save_settings (2): Saving 2 setting(s) to file "/Users/javi/.gphoto/settings"
0.156135 gp_port_info_list_lookup_path(2): Looking for path 'usb:' (11 entries available)...
0.156145 gp_port_info_list_get_info (2): Getting info of entry 6 (11 available)...
0.156151 gp_camera_set_port_info (2): Setting port info for port 'Generic Port' at 'usb:'...
0.161592 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.161603 gp_port_set_settings (2): Setting settings...
0.161612 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.161619 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.161624 gp_setting_set (2): Setting key 'port' to value 'usb:' (gphoto2)
0.161628 save_settings (2): Saving 2 setting(s) to file "/Users/javi/.gphoto/settings"
0.161777 gphoto2 (2): found port, was entry 1

0.161884 gp_camera_init (2): Initializing camera...
0.161983 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x4a9, product 0x31ea)... found.
0.162041 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.162050 gp_camera_init (2): Loading '/usr/local/Cellar/libgphoto2/2.5.11/lib/libgphoto2/2.5.11/ptp2'...
0.162545 gp_port_open (2): Opening USB port...
0.162555 gp_libusb1_open (2): ()
0.162767 gp_libusb1_open (2): claiming interface 0
0.163191 gp_libusb1_open [libusb1.c:414](0): 'libusb_claim_interface (port->pl->dh, port->settings.usb.interface)' failed: Access denied (insufficient permissions) (-3)
0.163218 gp_port_set_error [gphoto2-port.c:1190](0): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
0.163291 gp_context_error (0): An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

0.164189 gp_camera_free (2): Freeing camera...
0.164201 gp_port_free (2): Freeing port...
0.164204 gp_port_close (2): Closing port...
0.165526 gp_port_set_error [gphoto2-port.c:1190](0): Could not release interface 0 (No such file or directory).
0.166474 gp_filesystem_reset (2): resetting filesystem
0.166728 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.166738 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.166742 delete_all_folders (2): Internally deleting all folders from '/'...
0.166749 lookup_folder (2): Lookup folder '/'...
0.166752 lookup_folder (2): Found! / is 0x7fb239602860
0.166758 recurse_delete_folder (2): Recurse delete folder 0x7fb239602860//


Can you help me?
thanks in advance.
Hubert Figuière
2017-01-07 19:01:32 UTC
Permalink
Hi,

You forgot to mention you are on macOS.
Post by Javier Ramp
*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***
As it says, you need to kill the process PTPCamera that is keeping a
hold on the device.

A quick Google search located this:
https://github.com/mejedi/mac-gphoto-enabler
That could help, but I haven't used it,

Cheers,

Hub

Loading...