gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
991 stars 317 forks source link

Could not claim the USB device #902

Open estatistics opened 1 year ago

estatistics commented 1 year ago

gphoto2 --camera "GoPro HERO5 Black" --list-files

Error
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Συσκευή ή πόροι είναι απασχολημένοι). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. Error (-53: 'Could not claim the USB device')

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 gphoto-devel@lists.sourceforge.net, please run gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --camera "GoPro HERO5 Black" --list-files

Please make sure there is sufficient quoting around the arguments.

estatistics commented 1 year ago

Note that running sudo krusader ... i can access, and copy files from my camera. (other browsers dont recognize GoPro!!!).

estatistics commented 1 year ago
0.000014 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000037 main                        (2): gphoto2 2.5.28
0.000041 main                        (2): gphoto2 has been compiled with the following options:
0.000043 main                        (2):  + gcc (C compiler used)
0.000046 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000048 main                        (2):  + exif (for displaying EXIF information)
0.000051 main                        (2):  + cdk (for accessing configuration options)
0.000053 main                        (2):  + aa (for displaying live previews)
0.000055 main                        (2):  + jpeg (for displaying live previews in JPEG format)
0.000058 main                        (2):  + readline (for easy navigation in the shell)
0.000062 main                        (2): libgphoto2 2.5.30
0.000065 main                        (2): libgphoto2 has been compiled with the following options:
0.000068 main                        (2):  + standard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801)
0.000071 main                        (2):  + gcc (C compiler used)
0.000073 main                        (2):  + no ltdl (for portable loading of camlibs)
0.000075 main                        (2):  + EXIF (for special handling of EXIF files)
0.000079 main                        (2): libgphoto2_port 0.12.1
0.000082 main                        (2): libgphoto2_port has been compiled with the following options:
0.000084 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000087 main                        (2):  + gcc (C compiler used)
0.000089 main                        (2):  + no ltdl (for portable loading of iolibs)
0.000091 main                        (2):  + EXIF (for vusb)
0.000094 main                        (2):  + USB (libusb1, for USB cameras)
0.000096 main                        (2):  + serial (for serial cameras)
0.000098 main                        (2):  + no resmgr (serial port access and locking)
0.000100 main                        (2):  + no ttylock (serial port locking)
0.000103 main                        (2):  + no lockdev (serial port locking)
0.000105 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000108 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000110 main                        (2): invoked with following arguments:
0.000113 main                        (2):   --debug
0.000115 main                        (2):   --debug-logfile=my-logfile.txt
0.000117 main                        (2):   --port
0.000120 main                        (2):   usb:003,022
0.000122 main                        (2):   --list-files
0.000132 main                        (2): Processing 'port' option ('usb:003,022')...
0.000138 gp_port_init_localedir      (2): localedir has been set to /usr/share/locale (compile-time default)
0.000141 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1'...
0.000183 foreach_func                (2): Called for filename '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/disk'.
0.000285 gp_port_library_list        (2): found fstab fsname UUID=C129-0B33
0.000297 gp_port_library_list        (2): found fstab fsname /swapfile
......
...........
.....
0.001083 foreach_func                (2): Loaded '' ('^serial:') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/serial'.
0.001085 foreach_func                (2): Called for filename '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011772 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011785 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,003') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011789 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,016') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011791 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,012') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011794 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,010') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011797 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,008') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011799 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,011') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011802 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,009') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011805 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,007') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011807 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,006') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011810 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:003,022') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011813 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:003,013') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usb1'.
0.011815 foreach_func                (2): Called for filename '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usbdiskdirect'
.....
0.012185 foreach_func                (2): Called for filename '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.1/usbscsi'.
......
0.012718 gp_port_info_list_count     (2): Counting entries (81 available)...
0.012722 gp_port_info_list_count     (2): 76 regular entries available.
0.012725 gp_port_info_list_lookup_path(2): Looking for path 'usb:003,022' (81 entries available)...
0.012728 gp_port_info_list_get_info  (2): Getting info of entry 45 (81 available)...
0.012732 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:003,022'...
0.023200 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.023228 gp_port_set_settings        (2): Setting settings...
0.023243 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,022, (new int=0, conf=-1, alt=-1) port usb:003,022
0.023246 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.023252 load_settings               (2): Creating gphoto config directory ('/home/elias/.gphoto')
0.023383 load_settings               (2): Loading settings from file '/home/elias/.gphoto/settings'.
0.023397 gp_setting_set              (2): Setting key 'port' to value 'usb:003,022' (gphoto2)
0.023401 save_settings               (2): Saving 2 setting(s) to file "/home/elias/.gphoto/settings"
0.023547 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.023566 gp_port_init_localedir      (2): ignoring late call (localedir value NULL)
0.023570 gp_init_localedir           (2): localedir has been set to /usr/share/locale (compile-time default)
0.023581 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30'...
0.023644 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/ax203'.
0.023650 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/canon'.
0.023652 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/digigr8'.
0.023667 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/dimagev'.
0.023669 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/directory'.
0.023682 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/docupen'.
0.023685 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/jl2005a'.
0.023687 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/jl2005c'.
0.023689 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/kodak_dc240'.
0.023727 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/lumix'.
0.023730 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/mars'.
0.023732 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/pentax'.
0.023747 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/ptp2'.
0.023750 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/ricoh_g3'.
0.023752 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/sierra'.
0.023766 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/sonix'.
0.023783 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/sq905'.
0.023786 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/st2205'.
0.023788 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/topfield'.
0.023791 foreach_func                (2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/tp6801'.

0.023806 gp_abilities_list_load_dir  (2): Found 20 camera drivers.
0.060391 gp_port_info_list_count     (2): Counting entries (81 available)...
0.060429 gp_port_info_list_count     (2): 76 regular entries available.
0.060443 gp_port_new                 (2): Creating new device...
0.060447 gp_port_info_list_get_info  (2): Getting info of entry 0 (81 available)...
0.060571 gp_port_set_settings        (2): Setting settings...
0.060579 gp_port_set_error [gphoto2-port.c:1177](0): The operation 'update' is not supported by this device
0.060597 gp_port_info_list_get_info  (2): Getting info of entry 1 (81 available)...
0.060671 gp_port_set_settings        (2): Setting settings...
0.060678 gp_port_info_list_get_info  (2): Getting info of entry 2 (81 available)...
0.060754 gp_port_set_settings        (2): Setting settings...
0.060760 gp_port_info_list_get_info  (2): Getting info of entry 3 (81 available)...
0.060849 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.060855 gp_port_set_settings        (2): Setting settings...
0.060858 gp_port_info_list_get_info  (2): Getting info of entry 4 (81 available)...
0.060938 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.060944 gp_port_set_settings        (2): Setting settings...
0.060947 gp_port_info_list_get_info  (2): Getting info of entry 5 (81 available)...
0.061023 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061029 gp_port_set_settings        (2): Setting settings...
0.061042 gp_port_info_list_get_info  (2): Getting info of entry 6 (81 available)...
0.061109 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061115 gp_port_set_settings        (2): Setting settings...
0.061128 gp_port_info_list_get_info  (2): Getting info of entry 7 (81 available)...
0.061192 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061198 gp_port_set_settings        (2): Setting settings...
0.061201 gp_port_info_list_get_info  (2): Getting info of entry 8 (81 available)...
0.061275 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061281 gp_port_set_settings        (2): Setting settings...
0.061284 gp_port_info_list_get_info  (2): Getting info of entry 9 (81 available)...
0.061359 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061365 gp_port_set_settings        (2): Setting settings...
0.061368 gp_port_info_list_get_info  (2): Getting info of entry 10 (81 available)...
0.061517 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061525 gp_port_set_settings        (2): Setting settings...
0.061528 gp_port_info_list_get_info  (2): Getting info of entry 11 (81 available)...
0.061583 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061589 gp_port_set_settings        (2): Setting settings...
0.061592 gp_port_info_list_get_info  (2): Getting info of entry 12 (81 available)...
0.061645 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061651 gp_port_set_settings        (2): Setting settings...
0.061654 gp_port_info_list_get_info  (2): Getting info of entry 13 (81 available)...
0.061707 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061713 gp_port_set_settings        (2): Setting settings...
0.061716 gp_port_info_list_get_info  (2): Getting info of entry 14 (81 available)...
0.061768 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061774 gp_port_set_settings        (2): Setting settings...
0.061777 gp_port_info_list_get_info  (2): Getting info of entry 15 (81 available)...
0.061829 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061836 gp_port_set_settings        (2): Setting settings...
0.061839 gp_port_info_list_get_info  (2): Getting info of entry 16 (81 available)...
0.061892 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061898 gp_port_set_settings        (2): Setting settings...
0.061901 gp_port_info_list_get_info  (2): Getting info of entry 17 (81 available)...
0.061953 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.061963 gp_port_set_settings        (2): Setting settings...
0.061966 gp_port_info_list_get_info  (2): Getting info of entry 18 (81 available)...
0.062020 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062026 gp_port_set_settings        (2): Setting settings...
0.062029 gp_port_info_list_get_info  (2): Getting info of entry 19 (81 available)...
0.062080 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062087 gp_port_set_settings        (2): Setting settings...
0.062089 gp_port_info_list_get_info  (2): Getting info of entry 20 (81 available)...
0.062153 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062159 gp_port_set_settings        (2): Setting settings...
0.062162 gp_port_info_list_get_info  (2): Getting info of entry 21 (81 available)...
0.062226 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062232 gp_port_set_settings        (2): Setting settings...
0.062235 gp_port_info_list_get_info  (2): Getting info of entry 22 (81 available)...
0.062287 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062293 gp_port_set_settings        (2): Setting settings...
0.062296 gp_port_info_list_get_info  (2): Getting info of entry 23 (81 available)...
0.062348 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062354 gp_port_set_settings        (2): Setting settings...
0.062357 gp_port_info_list_get_info  (2): Getting info of entry 24 (81 available)...
0.062408 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062415 gp_port_set_settings        (2): Setting settings...
0.062417 gp_port_info_list_get_info  (2): Getting info of entry 25 (81 available)...
0.062480 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062487 gp_port_set_settings        (2): Setting settings...
0.062490 gp_port_info_list_get_info  (2): Getting info of entry 26 (81 available)...
0.062564 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062570 gp_port_set_settings        (2): Setting settings...
0.062573 gp_port_info_list_get_info  (2): Getting info of entry 27 (81 available)...
0.062636 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062642 gp_port_set_settings        (2): Setting settings...
0.062645 gp_port_info_list_get_info  (2): Getting info of entry 28 (81 available)...
0.062697 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062703 gp_port_set_settings        (2): Setting settings...
0.062706 gp_port_info_list_get_info  (2): Getting info of entry 29 (81 available)...
0.062758 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062764 gp_port_set_settings        (2): Setting settings...
0.062767 gp_port_info_list_get_info  (2): Getting info of entry 30 (81 available)...
0.062819 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062826 gp_port_set_settings        (2): Setting settings...
0.062828 gp_port_info_list_get_info  (2): Getting info of entry 31 (81 available)...
0.062880 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062887 gp_port_set_settings        (2): Setting settings...
0.062890 gp_port_info_list_get_info  (2): Getting info of entry 32 (81 available)...
0.062942 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.062948 gp_port_set_settings        (2): Setting settings...
0.062951 gp_port_info_list_get_info  (2): Getting info of entry 33 (81 available)...
0.063002 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.063009 gp_port_set_settings        (2): Setting settings...
0.063012 gp_port_info_list_get_info  (2): Getting info of entry 34 (81 available)...
0.063064 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.063070 gp_port_set_settings        (2): Setting settings...
0.063073 gp_port_info_list_get_info  (2): Getting info of entry 35 (81 available)...
0.063131 gp_port_set_timeout         (2): Setting port timeout to 500 milliseconds.
0.063137 gp_port_set_settings        (2): Setting settings...
0.063140 gp_port_info_list_get_info  (2): Getting info of entry 36 (81 available)...
0.072892 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.072904 gp_port_set_settings        (2): Setting settings...

.........
0.157520 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.157551 gp_port_info_list_get_info  (2): Getting info of entry 45 (81 available)...
0.167491 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.167502 gp_port_set_settings        (2): Setting settings...
0.167516 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,022, (new int=0, conf=-1, alt=-1) port usb:003,022
0.167519 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.167522 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.167743 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x2672, product 0x27)... found.
0.167784 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
0.167799 gp_abilities_list_detect_usb(2): Found 'GoPro HERO5 Black' (0x2672,0x27)
0.167817 gp_port_info_list_get_info  (2): Getting info of entry 46 (81 available)...
0.177677 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.177688 gp_port_set_settings        (2): Setting settings...
0.177702 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,013, (new int=0, conf=-1, alt=-1) port usb:003,013
0.177705 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.177708 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.178036 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.178348 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.178378 gp_port_info_list_get_info  (2): Getting info of entry 47 (81 available)...
0.178567 gp_port_set_settings        (2): Setting settings...
0.178575 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.178641 gp_port_info_list_get_info  (2): Getting info of entry 48 (81 available)...
0.178735 gp_port_set_settings        (2): Setting settings...
0.178742 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.178793 gp_port_info_list_get_info  (2): Getting info of entry 49 (81 available)...
0.178888 gp_port_set_settings        (2): Setting settings...
0.178895 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.178944 gp_port_info_list_get_info  (2): Getting info of entry 50 (81 available)...
0.179037 gp_port_set_settings        (2): Setting settings...
0.179043 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179093 gp_port_info_list_get_info  (2): Getting info of entry 51 (81 available)...
0.179156 gp_port_set_settings        (2): Setting settings...
0.179163 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179202 gp_port_info_list_get_info  (2): Getting info of entry 52 (81 available)...
0.179263 gp_port_set_settings        (2): Setting settings...
0.179270 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179309 gp_port_info_list_get_info  (2): Getting info of entry 53 (81 available)...
0.179370 gp_port_set_settings        (2): Setting settings...
0.179376 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179415 gp_port_info_list_get_info  (2): Getting info of entry 54 (81 available)...
0.179475 gp_port_set_settings        (2): Setting settings...
0.179482 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179520 gp_port_info_list_get_info  (2): Getting info of entry 55 (81 available)...
0.179580 gp_port_set_settings        (2): Setting settings...
0.179587 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179625 gp_port_info_list_get_info  (2): Getting info of entry 56 (81 available)...
0.179686 gp_port_set_settings        (2): Setting settings...
0.179692 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.179731 gp_port_info_list_get_info  (2): Getting info of entry 57 (81 available)...
0.179797 gp_port_set_settings        (2): Setting settings...
0.179804 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.180555 gp_port_info_list_get_info  (2): Getting info of entry 58 (81 available)...
0.180620 gp_port_set_settings        (2): Setting settings...
0.180627 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.181735 gp_port_info_list_get_info  (2): Getting info of entry 59 (81 available)...
0.181814 gp_port_set_settings        (2): Setting settings...
0.181821 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.182569 gp_port_info_list_get_info  (2): Getting info of entry 60 (81 available)...
0.182652 gp_port_set_settings        (2): Setting settings...
0.182659 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.183414 gp_port_info_list_get_info  (2): Getting info of entry 61 (81 available)...
0.183478 gp_port_set_settings        (2): Setting settings...
0.183484 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.184192 gp_port_info_list_get_info  (2): Getting info of entry 62 (81 available)...
0.184284 gp_port_set_settings        (2): Setting settings...
0.184291 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.185067 gp_port_info_list_get_info  (2): Getting info of entry 63 (81 available)...
0.185130 gp_port_set_settings        (2): Setting settings...
0.185137 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.185864 gp_port_info_list_get_info  (2): Getting info of entry 64 (81 available)...
0.185948 gp_port_set_settings        (2): Setting settings...
0.185954 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.186785 gp_port_info_list_get_info  (2): Getting info of entry 65 (81 available)...
0.186867 gp_port_set_settings        (2): Setting settings...
0.186873 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.187616 gp_port_info_list_get_info  (2): Getting info of entry 66 (81 available)...
0.187698 gp_port_set_settings        (2): Setting settings...
0.187705 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.188477 gp_port_info_list_get_info  (2): Getting info of entry 67 (81 available)...
0.188560 gp_port_set_settings        (2): Setting settings...
0.188567 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.189332 gp_port_info_list_get_info  (2): Getting info of entry 68 (81 available)...
0.189408 gp_port_set_settings        (2): Setting settings...
0.189415 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.190531 gp_port_info_list_get_info  (2): Getting info of entry 69 (81 available)...
0.190608 gp_port_set_settings        (2): Setting settings...
0.190615 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.191361 gp_port_info_list_get_info  (2): Getting info of entry 70 (81 available)...
0.191425 gp_port_set_settings        (2): Setting settings...
0.191432 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.192177 gp_port_info_list_get_info  (2): Getting info of entry 71 (81 available)...
0.192241 gp_port_set_settings        (2): Setting settings...
0.192247 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.193078 gp_port_info_list_get_info  (2): Getting info of entry 72 (81 available)...
0.193153 gp_port_set_settings        (2): Setting settings...
0.193160 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.193966 gp_port_info_list_get_info  (2): Getting info of entry 73 (81 available)...
0.194052 gp_port_set_settings        (2): Setting settings...
0.194059 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.194805 gp_port_info_list_get_info  (2): Getting info of entry 74 (81 available)...
0.194888 gp_port_set_settings        (2): Setting settings...
0.194894 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.195653 gp_port_info_list_get_info  (2): Getting info of entry 75 (81 available)...
0.195737 gp_port_set_settings        (2): Setting settings...
0.195743 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.196508 gp_port_free                (2): Freeing port...
0.196514 gp_port_close               (2): Closing port...
0.196540 gphoto2                     (2): Looking for port ...

0.196544 gphoto2                     (2): info.type = 4

0.196546 gphoto2                     (2): info.name = Universal Serial Bus

0.196549 gphoto2                     (2): info.path = usb:003,022

0.196585 gp_camera_set_abilities     (2): Setting abilities ('GoPro HERO5 Black')...
0.196591 gp_setting_set              (2): Setting key 'model' to value 'GoPro HERO5 Black' (gphoto2)
0.196605 save_settings               (2): Saving 2 setting(s) to file "/home/elias/.gphoto/settings"
0.196699 gp_port_info_list_lookup_path(2): Looking for path 'usb:003,022' (81 entries available)...
0.196706 gp_port_info_list_get_info  (2): Getting info of entry 45 (81 available)...
0.196719 gp_camera_set_port_info     (2): Setting port info for port 'Universal Serial Bus' at 'usb:003,022'...
0.207477 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.207494 gp_port_set_settings        (2): Setting settings...
0.207509 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:003,022, (new int=0, conf=-1, alt=-1) port usb:003,022
0.207512 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.207516 gp_setting_set              (2): Setting key 'port' to value 'usb:003,022' (gphoto2)
0.207519 save_settings               (2): Saving 2 setting(s) to file "/home/elias/.gphoto/settings"
0.207656 gphoto2                     (2): found port, was entry 1

0.207705 foreach                     (2): Executing action 'List Files' for folder '/'.
0.207719 gp_camera_folder_list_files (2): Listing files in '/'...
0.207721 gp_camera_init              (2): Initializing camera...
0.207743 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x2672, product 0x27)... found.
0.207791 gp_libusb1_find_device_lib  (2): Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
0.207796 gp_camera_init              (2): Loading '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.30/ptp2'...
0.208547 gp_port_open                (2): Opening USB port...
0.208556 gp_libusb1_open             (2): ()
0.208592 gp_libusb1_open             (2): claiming interface 0
0.208598 gp_libusb1_open [libusb1.c:422](0): 'libusb_claim_interface (port->pl->dh, port->settings.usb.interface)' failed: Resource busy (-6)
0.208609 gp_port_set_error [gphoto2-port.c:1177](0): Could not claim interface 0 (Συσκευή ή πόροι είναι απασχολημένοι). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
0.208701 gp_context_error            (0): An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Συσκευή ή πόροι είναι απασχολημένοι). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
0.209108 gp_camera_free              (2): Freeing camera...
0.209114 gp_port_free                (2): Freeing port...
0.209116 gp_port_close               (2): Closing port...
0.210230 gp_port_set_error [gphoto2-port.c:1177](0): Could not release interface 0 (Συσκευή ή πόροι είναι απασχολημένοι).
0.210403 gp_filesystem_reset         (2): resetting filesystem
0.210409 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.210412 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.210424 delete_all_folders          (2): Internally deleting all folders from '/'...
0.210427 lookup_folder               (2): Lookup folder '/'...
0.210430 lookup_folder               (2): Found! / is 0x55786b07c7f0
0.210432 recurse_delete_folder       (2): Recurse delete folder 0x55786b07c7f0//
0.210435 delete_all_files            (2): Delete all files in folder 0x55786b07c7f0//
estatistics commented 1 year ago

Also, plese note that your log files can contain sensitive information that i Deleted them.It is not need to list all devices of your pc.

msmeissn commented 1 year ago

no worries.

basically there is another tool blocking gphoto2 (as only 1 program can access the USB at a time).

it likely is either GVFS or the KDE device access framework. perhaps you can "eject" the camera from that before trying gphoto2.