Dear developer:
         I encountered a problem while using gphoto2 to control the camera. 
When I unplugged the camera from usb and connected it again, it would report an 
error and display 'An error occurred in the io-library ('Could not claim the 
USB device'): Could not claim interface 0 (Device or resource busy). 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'. My debug file is e-mailed as the appendix below. 
       I'm looking forward to your reply about the resolution. Thank you very 
much!




0.000028 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES 
WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000065 main                        (2): gphoto2 2.5.27
0.000071 main                        (2): gphoto2 has been compiled with the 
following options:
0.000075 main                        (2):  + gcc (C compiler used)
0.000079 main                        (2):  + popt (mandatory, for handling 
command-line parameters)
0.000083 main                        (2):  + exif (for displaying EXIF 
information)
0.000087 main                        (2):  + cdk (for accessing configuration 
options)
0.000091 main                        (2):  + aa (for displaying live previews)
0.000122 main                        (2):  + jpeg (for displaying live previews 
in JPEG format)
0.000126 main                        (2):  + readline (for easy navigation in 
the shell)
0.000131 main                        (2): libgphoto2 2.5.27
0.000150 main                        (2): libgphoto2 has been compiled with the 
following options:
0.000154 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.000158 main                        (2):  + gcc (C compiler used)
0.000162 main                        (2):  + ltdl (for portable loading of 
camlibs)
0.000179 main                        (2):  + EXIF (for special handling of EXIF 
files)
0.000185 main                        (2): libgphoto2_port 0.12.0
0.000189 main                        (2): libgphoto2_port has been compiled 
with the following options:
0.000192 main                        (2):  + iolibs: disk ptpip serial usb1 
usbdiskdirect usbscsi
0.000196 main                        (2):  + gcc (C compiler used)
0.000200 main                        (2):  + ltdl (for portable loading of 
iolibs)
0.000204 main                        (2):  + EXIF (for vusb)
0.000208 main                        (2):  + USB (libusb1, for USB cameras)
0.000211 main                        (2):  + serial (for serial cameras)
0.000215 main                        (2):  + no resmgr (serial port access and 
locking)
0.000219 main                        (2):  + no ttylock (serial port locking)
0.000223 main                        (2):  + no lockdev (serial port locking)
0.000227 main                        (2): CAMLIBS env var not set, using 
compile-time default instead
0.000231 main                        (2): IOLIBS env var not set, using 
compile-time default instead
0.000234 main                        (2): invoked with following arguments:
0.000238 main                        (2):   --debug
0.000242 main                        (2):   --debug-logfile=my-logfile.txt
0.000246 main                        (2):   --config
0.000257 load_settings               (2): Creating gphoto config directory 
('/home/user/.gphoto')
0.000283 load_settings               (2): Loading settings from file 
'/home/user/.gphoto/settings'.
0.000313 main                        (2): The user has not specified both a 
model and a port. Try to figure them out.
0.000318 gp_port_info_list_load      (2): Using ltdl to load io-drivers from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0'...
0.000362 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/disk'.
0.000439 gp_port_library_list        (2): found fstab fsname 
UUID=59807002-6198-420d-8b62-aeff1e091eec
0.000448 gp_port_library_list        (2): found fstab fsname UUID=1672-01D0
0.000456 gp_port_library_list        (2): found fstab fsname 
UUID=c886e62d-bd81-46c6-b80e-1279787d397a
0.000463 gp_port_library_list        (2): found fstab fsname 
UUID=9d13a9c7-467e-4dda-b357-a9314553580e
0.000470 gp_port_library_list        (2): found fstab fsname 
UUID=0809ce3d-9aa8-48a3-8ec1-107cdb48f4b4
0.000517 gp_port_library_list        (2): found mtab fsname sysfs
0.000523 gp_port_library_list        (2): found mtab fsname proc
0.000527 gp_port_library_list        (2): found mtab fsname udev
0.000537 gp_port_library_list        (2): found mtab fsname devpts
0.000546 gp_port_library_list        (2): found mtab fsname tmpfs
0.000555 gp_port_library_list        (2): found mtab fsname /dev/sdb5
0.000561 gp_port_library_list        (2): found mtab fsname securityfs
0.000565 gp_port_library_list        (2): found mtab fsname tmpfs
0.000573 gp_port_library_list        (2): found mtab fsname tmpfs
0.000582 gp_port_library_list        (2): found mtab fsname cgroup2
0.000587 gp_port_library_list        (2): found mtab fsname pstore
0.000596 gp_port_library_list        (2): found mtab fsname efivarfs
0.000605 gp_port_library_list        (2): found mtab fsname bpf
0.000631 gp_port_library_list        (2): found mtab fsname systemd-1
0.000636 gp_port_library_list        (2): found mtab fsname mqueue
0.000640 gp_port_library_list        (2): found mtab fsname debugfs
0.000648 gp_port_library_list        (2): found mtab fsname hugetlbfs
0.000657 gp_port_library_list        (2): found mtab fsname tracefs
0.000664 gp_port_library_list        (2): found mtab fsname fusectl
0.000669 gp_port_library_list        (2): found mtab fsname configfs
0.000679 gp_port_library_list        (2): found mtab fsname none
0.000686 gp_port_library_list        (2): found mtab fsname /dev/loop0
0.000694 gp_port_library_list        (2): found mtab fsname /dev/loop8
0.000702 gp_port_library_list        (2): found mtab fsname /dev/loop5
0.000709 gp_port_library_list        (2): found mtab fsname /dev/loop1
0.000715 gp_port_library_list        (2): found mtab fsname /dev/loop4
0.000722 gp_port_library_list        (2): found mtab fsname /dev/loop3
0.000746 gp_port_library_list        (2): found mtab fsname /dev/loop9
0.000753 gp_port_library_list        (2): found mtab fsname /dev/loop7
0.000760 gp_port_library_list        (2): found mtab fsname /dev/loop11
0.000767 gp_port_library_list        (2): found mtab fsname /dev/loop10
0.000773 gp_port_library_list        (2): found mtab fsname /dev/loop12
0.000780 gp_port_library_list        (2): found mtab fsname /dev/loop6
0.000787 gp_port_library_list        (2): found mtab fsname /dev/loop2
0.000794 gp_port_library_list        (2): found mtab fsname /dev/sdb5
0.000802 gp_port_library_list        (2): found mtab fsname /dev/sda2
0.000809 gp_port_library_list        (2): found mtab fsname /dev/sdb8
0.000815 gp_port_library_list        (2): found mtab fsname /dev/sdb7
0.000821 gp_port_library_list        (2): found mtab fsname binfmt_misc
0.000841 gp_port_library_list        (2): found mtab fsname tmpfs
0.000854 gp_port_library_list        (2): found mtab fsname nsfs
0.000862 gp_port_library_list        (2): found mtab fsname tmpfs
0.000871 gp_port_library_list        (2): found mtab fsname gvfsd-fuse
0.000902 gp_port_library_list        (2): found mtab fsname portal
0.000908 gp_port_library_list        (2): found mtab fsname nsfs
0.000945 foreach_func                (2): Loaded '' ('^disk:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/disk'.
0.000951 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.001013 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') 
from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.001019 foreach_func                (2): Loaded '' ('^ptpip:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.001024 foreach_func                (2): Loaded 'IP Connection' ('ip:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.001028 foreach_func                (2): Loaded '' ('^ip:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/ptpip'.
0.001032 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001194 foreach_func                (2): Loaded 'Serial Port 0' 
('serial:/dev/ttyS0') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001201 foreach_func                (2): Loaded 'Serial Port 1' 
('serial:/dev/ttyS1') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001205 foreach_func                (2): Loaded 'Serial Port 2' 
('serial:/dev/ttyS2') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001214 foreach_func                (2): Loaded 'Serial Port 3' 
('serial:/dev/ttyS3') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001218 foreach_func                (2): Loaded 'Serial Port 4' 
('serial:/dev/ttyS4') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001239 foreach_func                (2): Loaded 'Serial Port 5' 
('serial:/dev/ttyS5') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001243 foreach_func                (2): Loaded 'Serial Port 6' 
('serial:/dev/ttyS6') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001247 foreach_func                (2): Loaded 'Serial Port 7' 
('serial:/dev/ttyS7') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001251 foreach_func                (2): Loaded 'Serial Port 8' 
('serial:/dev/ttyS8') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001255 foreach_func                (2): Loaded 'Serial Port 9' 
('serial:/dev/ttyS9') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001260 foreach_func                (2): Loaded 'Serial Port 10' 
('serial:/dev/ttyS10') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001264 foreach_func                (2): Loaded 'Serial Port 11' 
('serial:/dev/ttyS11') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001268 foreach_func                (2): Loaded 'Serial Port 12' 
('serial:/dev/ttyS12') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001272 foreach_func                (2): Loaded 'Serial Port 13' 
('serial:/dev/ttyS13') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001276 foreach_func                (2): Loaded 'Serial Port 14' 
('serial:/dev/ttyS14') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001280 foreach_func                (2): Loaded 'Serial Port 15' 
('serial:/dev/ttyS15') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001284 foreach_func                (2): Loaded 'Serial Port 16' 
('serial:/dev/ttyS16') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001288 foreach_func                (2): Loaded 'Serial Port 17' 
('serial:/dev/ttyS17') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001292 foreach_func                (2): Loaded 'Serial Port 18' 
('serial:/dev/ttyS18') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001296 foreach_func                (2): Loaded 'Serial Port 19' 
('serial:/dev/ttyS19') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001300 foreach_func                (2): Loaded 'Serial Port 20' 
('serial:/dev/ttyS20') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001305 foreach_func                (2): Loaded 'Serial Port 21' 
('serial:/dev/ttyS21') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001309 foreach_func                (2): Loaded 'Serial Port 22' 
('serial:/dev/ttyS22') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001313 foreach_func                (2): Loaded 'Serial Port 23' 
('serial:/dev/ttyS23') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001317 foreach_func                (2): Loaded 'Serial Port 24' 
('serial:/dev/ttyS24') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001321 foreach_func                (2): Loaded 'Serial Port 25' 
('serial:/dev/ttyS25') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001325 foreach_func                (2): Loaded 'Serial Port 26' 
('serial:/dev/ttyS26') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001329 foreach_func                (2): Loaded 'Serial Port 27' 
('serial:/dev/ttyS27') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001333 foreach_func                (2): Loaded 'Serial Port 28' 
('serial:/dev/ttyS28') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001338 foreach_func                (2): Loaded 'Serial Port 29' 
('serial:/dev/ttyS29') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001344 foreach_func                (2): Loaded 'Serial Port 30' 
('serial:/dev/ttyS30') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001348 foreach_func                (2): Loaded 'Serial Port 31' 
('serial:/dev/ttyS31') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001352 foreach_func                (2): Loaded 'Serial Port Device' 
('serial:') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001356 foreach_func                (2): Loaded '' ('^serial:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/serial'.
0.001360 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.004750 foreach_func                (2): Loaded '' ('^usb:') from 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.004761 foreach_func                (2): Loaded 'Universal Serial Bus' 
('usb:001,005') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.004766 foreach_func                (2): Loaded 'Universal Serial Bus' 
('usb:001,004') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.004771 foreach_func                (2): Loaded 'Universal Serial Bus' 
('usb:001,012') from '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1'.
0.004775 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usbdiskdirect'.
0.004918 foreach_func                (2): Called for filename 
'/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usbscsi'.
0.005046 gp_port_info_list_count     (2): Counting entries (43 available)...
0.005053 gp_port_info_list_count     (2): 38 regular entries available.
0.005067 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries 
from '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27'...
0.005102 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/ax203'.
0.005108 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/canon'.
0.005113 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/digigr8'.
0.005117 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/dimagev'.
0.005121 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/directory'.
0.005126 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/docupen'.
0.005130 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/jl2005a'.
0.005134 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/jl2005c'.
0.005139 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/kodak_dc240'.
0.005143 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/lumix'.
0.005147 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/mars'.
0.005151 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/pentax'.
0.005156 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/ptp2'.
0.005160 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/ricoh_g3'.
0.005164 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/sierra'.
0.005168 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/sonix'.
0.005173 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/sq905'.
0.005177 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/st2205'.
0.005181 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/topfield'.
0.005186 foreach_func                (2): Found 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/tp6801'.
0.005191 gp_abilities_list_load_dir  (2): Found 20 camera drivers.
0.020482 gp_port_info_list_count     (2): Counting entries (43 available)...
0.020513 gp_port_info_list_count     (2): 38 regular entries available.
0.020518 gp_port_new                 (2): Creating new device...
0.020523 gp_port_info_list_get_info  (2): Getting info of entry 0 (43 
available)...
0.020596 gp_port_set_settings        (2): Setting settings...
0.020603 gp_port_info_list_get_info  (2): Getting info of entry 1 (43 
available)...
0.020661 gp_port_set_settings        (2): Setting settings...
0.020668 gp_port_info_list_get_info  (2): Getting info of entry 2 (43 
available)...
0.020732 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.020738 gp_port_set_settings        (2): Setting settings...
0.020743 gp_port_info_list_get_info  (2): Getting info of entry 3 (43 
available)...
0.020799 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.020806 gp_port_set_settings        (2): Setting settings...
0.020810 gp_port_info_list_get_info  (2): Getting info of entry 4 (43 
available)...
0.020900 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.020907 gp_port_set_settings        (2): Setting settings...
0.020911 gp_port_info_list_get_info  (2): Getting info of entry 5 (43 
available)...
0.020988 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.020995 gp_port_set_settings        (2): Setting settings...
0.020999 gp_port_info_list_get_info  (2): Getting info of entry 6 (43 
available)...
0.021051 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021057 gp_port_set_settings        (2): Setting settings...
0.021061 gp_port_info_list_get_info  (2): Getting info of entry 7 (43 
available)...
0.021125 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021132 gp_port_set_settings        (2): Setting settings...
0.021136 gp_port_info_list_get_info  (2): Getting info of entry 8 (43 
available)...
0.021186 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021192 gp_port_set_settings        (2): Setting settings...
0.021196 gp_port_info_list_get_info  (2): Getting info of entry 9 (43 
available)...
0.021246 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021252 gp_port_set_settings        (2): Setting settings...
0.021256 gp_port_info_list_get_info  (2): Getting info of entry 10 (43 
available)...
0.021306 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021312 gp_port_set_settings        (2): Setting settings...
0.021316 gp_port_info_list_get_info  (2): Getting info of entry 11 (43 
available)...
0.021366 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021372 gp_port_set_settings        (2): Setting settings...
0.021376 gp_port_info_list_get_info  (2): Getting info of entry 12 (43 
available)...
0.021426 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021432 gp_port_set_settings        (2): Setting settings...
0.021436 gp_port_info_list_get_info  (2): Getting info of entry 13 (43 
available)...
0.021486 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021492 gp_port_set_settings        (2): Setting settings...
0.021496 gp_port_info_list_get_info  (2): Getting info of entry 14 (43 
available)...
0.021546 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021552 gp_port_set_settings        (2): Setting settings...
0.021556 gp_port_info_list_get_info  (2): Getting info of entry 15 (43 
available)...
0.021606 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021612 gp_port_set_settings        (2): Setting settings...
0.021616 gp_port_info_list_get_info  (2): Getting info of entry 16 (43 
available)...
0.021666 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021672 gp_port_set_settings        (2): Setting settings...
0.021676 gp_port_info_list_get_info  (2): Getting info of entry 17 (43 
available)...
0.021726 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021736 gp_port_set_settings        (2): Setting settings...
0.021741 gp_port_info_list_get_info  (2): Getting info of entry 18 (43 
available)...
0.021791 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021797 gp_port_set_settings        (2): Setting settings...
0.021801 gp_port_info_list_get_info  (2): Getting info of entry 19 (43 
available)...
0.021851 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021857 gp_port_set_settings        (2): Setting settings...
0.021861 gp_port_info_list_get_info  (2): Getting info of entry 20 (43 
available)...
0.021911 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021917 gp_port_set_settings        (2): Setting settings...
0.021921 gp_port_info_list_get_info  (2): Getting info of entry 21 (43 
available)...
0.021971 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.021977 gp_port_set_settings        (2): Setting settings...
0.021981 gp_port_info_list_get_info  (2): Getting info of entry 22 (43 
available)...
0.022031 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022037 gp_port_set_settings        (2): Setting settings...
0.022041 gp_port_info_list_get_info  (2): Getting info of entry 23 (43 
available)...
0.022091 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022097 gp_port_set_settings        (2): Setting settings...
0.022101 gp_port_info_list_get_info  (2): Getting info of entry 24 (43 
available)...
0.022150 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022156 gp_port_set_settings        (2): Setting settings...
0.022161 gp_port_info_list_get_info  (2): Getting info of entry 25 (43 
available)...
0.022210 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022216 gp_port_set_settings        (2): Setting settings...
0.022221 gp_port_info_list_get_info  (2): Getting info of entry 26 (43 
available)...
0.022270 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022276 gp_port_set_settings        (2): Setting settings...
0.022280 gp_port_info_list_get_info  (2): Getting info of entry 27 (43 
available)...
0.022330 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022336 gp_port_set_settings        (2): Setting settings...
0.022340 gp_port_info_list_get_info  (2): Getting info of entry 28 (43 
available)...
0.022390 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022396 gp_port_set_settings        (2): Setting settings...
0.022400 gp_port_info_list_get_info  (2): Getting info of entry 29 (43 
available)...
0.022449 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022455 gp_port_set_settings        (2): Setting settings...
0.022459 gp_port_info_list_get_info  (2): Getting info of entry 30 (43 
available)...
0.022509 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022515 gp_port_set_settings        (2): Setting settings...
0.022519 gp_port_info_list_get_info  (2): Getting info of entry 31 (43 
available)...
0.022568 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022574 gp_port_set_settings        (2): Setting settings...
0.022578 gp_port_info_list_get_info  (2): Getting info of entry 32 (43 
available)...
0.022628 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022634 gp_port_set_settings        (2): Setting settings...
0.022638 gp_port_info_list_get_info  (2): Getting info of entry 33 (43 
available)...
0.022687 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022693 gp_port_set_settings        (2): Setting settings...
0.022698 gp_port_info_list_get_info  (2): Getting info of entry 34 (43 
available)...
0.022747 gp_port_set_timeout         (2): Setting port timeout to 500 
milliseconds.
0.022753 gp_port_set_settings        (2): Setting settings...
0.022757 gp_port_info_list_get_info  (2): Getting info of entry 35 (43 
available)...
0.025754 gp_port_set_timeout         (2): Setting port timeout to 5000 
milliseconds.
0.025767 gp_port_set_settings        (2): Setting settings...
0.025776 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
usb:001,005, (new int=0, conf=-1, alt=-1) port usb:001,005
0.025780 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, 
no need for libusb changes
0.025784 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.026043 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 
0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.026237 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 
0x6, subclass, 0x1, protocol 0x1)...
0.026257 gp_port_info_list_get_info  (2): Getting info of entry 36 (43 
available)...
0.029186 gp_port_set_timeout         (2): Setting port timeout to 5000 
milliseconds.
0.029195 gp_port_set_settings        (2): Setting settings...
0.029204 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004
0.029224 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, 
no need for libusb changes
0.029229 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.029468 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 
0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.029637 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 
0x6, subclass, 0x1, protocol 0x1)...
0.029654 gp_port_info_list_get_info  (2): Getting info of entry 37 (43 
available)...
0.032618 gp_port_set_timeout         (2): Setting port timeout to 5000 
milliseconds.
0.032627 gp_port_set_settings        (2): Setting settings...
0.032636 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
usb:001,012, (new int=0, conf=-1, alt=-1) port usb:001,012
0.032640 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, 
no need for libusb changes
0.032644 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.032837 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 
0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.032869 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x4b0, 
product 0x439)... found.
0.032934 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.032941 gp_abilities_list_detect_usb(2): Found 'Nikon DSC D7200' (0x4b0,0x439)
0.032956 gp_port_free                (2): Freeing port...
0.032960 gp_port_close               (2): Closing port...
0.033107 gp_camera_set_abilities     (2): Setting abilities ('Nikon DSC 
D7200')...
0.033118 gp_setting_set              (2): Setting key 'model' to value 'Nikon 
DSC D7200' (gphoto2)
0.033124 save_settings               (2): Saving 3 setting(s) to file 
"/home/user/.gphoto/settings"
0.033198 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,012' (43 
entries available)...
0.033205 gp_port_info_list_get_info  (2): Getting info of entry 37 (43 
available)...
0.033210 gp_camera_set_port_info     (2): Setting port info for port 'Universal 
Serial Bus' at 'usb:001,012'...
0.035821 gp_port_set_timeout         (2): Setting port timeout to 5000 
milliseconds.
0.035830 gp_port_set_settings        (2): Setting settings...
0.035838 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port 
usb:001,012, (new int=0, conf=-1, alt=-1) port usb:001,012
0.035843 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, 
no need for libusb changes
0.035848 gp_setting_set              (2): Setting key 'port' to value 
'usb:001,012' (gphoto2)
0.035852 save_settings               (2): Saving 3 setting(s) to file 
"/home/user/.gphoto/settings"
0.035918 gp_camera_init              (2): Initializing camera...
0.035930 gp_libusb1_find_device_lib  (2): Looking for USB device (vendor 0x4b0, 
product 0x439)... found.
0.035956 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.035965 gp_camera_init              (2): Loading 
'/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.27/ptp2'...
0.036602 gp_port_open                (2): Opening USB port...
0.036610 gp_libusb1_open             (2): ()
0.036626 gp_libusb1_open             (2): claiming interface 0
0.036634 gp_libusb1_open [libusb1.c:437](0): 'libusb_claim_interface 
(port->pl->dh, port->settings.usb.interface)' failed: Resource busy (-6)
0.036640 gp_port_set_error [gphoto2-port.c:1190](0): Could not claim interface 
0 (Device or resource busy). 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.036732 gp_context_error            (0): An error occurred in the io-library 
('Could not claim the USB device'): Could not claim interface 0 (Device or 
resource busy). 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.037109 gp_camera_free              (2): Freeing camera...
0.037116 gp_port_free                (2): Freeing port...
0.037121 gp_port_close               (2): Closing port...
0.038188 gp_port_set_error [gphoto2-port.c:1190](0): Could not release 
interface 0 (Device or resource busy).
0.038322 gp_filesystem_reset         (2): resetting filesystem
0.038331 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.038336 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.038340 delete_all_folders          (2): Internally deleting all folders from 
'/'...
0.038344 lookup_folder               (2): Lookup folder '/'...
0.038349 lookup_folder               (2): Found! / is 0x55d7452386b0
0.038353 recurse_delete_folder       (2): Recurse delete folder 0x55d7452386b0//
0.038357 delete_all_files            (2): Delete all files in folder 
0x55d7452386b0//
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to