I'm having issues with accessing camera images from my (very old) Kodak EZ200. I receive the error message:
*** Error ***
An error occurred in the io-library ('Error updating the port settings'): Could not release interface 1 (Device or resource busy).
*** Error (-37: 'Error updating the port settings') **
Name the camera
Kodak EZ200
libgphoto2 and gphoto2 version
$ gphoto2 --version
gphoto2 2.5.23
Copyright (c) 2000-2019 Marcus Meissner and others
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.23 gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2 2.5.24 NON-STANDARD CAMLIB SET (adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm lumix mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801), gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking
To Reproduce
Steps to reproduce the behavior:
Run gphoto2 --list-files
I also receive the following error message in dmesg:
usb 1-2: usbfs: interface 0 claimed by usbfs while 'gphoto2' sets config #0
Full log file below:
0.000004 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000025 main (2): gphoto2 2.5.23
0.000029 main (2): gphoto2 has been compiled with the following options:
0.000031 main (2): + gcc (C compiler used)
0.000034 main (2): + popt (mandatory, for handling command-line parameters)
0.000036 main (2): + exif (for displaying EXIF information)
0.000038 main (2): + no cdk (for accessing configuration options)
0.000040 main (2): + no aa (for displaying live previews)
0.000042 main (2): + jpeg (for displaying live previews in JPEG format)
0.000044 main (2): + readline (for easy navigation in the shell)
0.000049 main (2): libgphoto2 2.5.24
0.000051 main (2): libgphoto2 has been compiled with the following options:
0.000055 main (2): + NON-STANDARD CAMLIB SET (adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm lumix mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801)
0.000058 main (2): + gcc (C compiler used)
0.000060 main (2): + ltdl (for portable loading of camlibs)
0.000062 main (2): + EXIF (for special handling of EXIF files)
0.000066 main (2): libgphoto2_port 0.12.0
0.000071 main (2): libgphoto2_port has been compiled with the following options:
0.000073 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000076 main (2): + gcc (C compiler used)
0.000078 main (2): + ltdl (for portable loading of iolibs)
0.000080 main (2): + EXIF (for vusb)
0.000082 main (2): + USB (libusb1, for USB cameras)
0.000084 main (2): + serial (for serial cameras)
0.000086 main (2): + no resmgr (serial port access and locking)
0.000089 main (2): + no ttylock (serial port locking)
0.000091 main (2): + no lockdev (serial port locking)
0.000093 main (2): CAMLIBS env var not set, using compile-time default instead
0.000095 main (2): IOLIBS env var not set, using compile-time default instead
0.000098 main (2): invoked with following arguments:
0.000100 main (2): --debug
0.000102 main (2): --debug-logfile=Kodak_log.txt
0.000104 main (2): --get-all-files
0.000117 load_settings (2): Creating gphoto config directory ('/home/james/.gphoto')
0.000139 load_settings (2): Loading settings from file '/home/james/.gphoto/settings'.
0.000174 main (2): The user has not specified both a model and a port. Try to figure them out.
0.000178 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.12.0'...
0.000203 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/disk'.
0.000267 gp_port_library_list (2): found fstab fsname UUID=d11542d6-9910-424b-aed9-850571db181f
0.000279 gp_port_library_list (2): found fstab fsname UUID=43e7f9e0-eea7-4741-8241-644113b2c4a0
0.000284 gp_port_library_list (2): found fstab fsname UUID=519B-EE3F
0.000297 gp_port_library_list (2): found fstab fsname UUID=658aaf06-1050-44ae-9a0b-a4b34e9fad4d
0.000344 gp_port_library_list (2): found mtab fsname proc
0.000349 gp_port_library_list (2): found mtab fsname sys
0.000352 gp_port_library_list (2): found mtab fsname dev
0.000359 gp_port_library_list (2): found mtab fsname run
0.000366 gp_port_library_list (2): found mtab fsname efivarfs
0.000374 gp_port_library_list (2): found mtab fsname /dev/sdb3
0.000379 gp_port_library_list (2): found mtab fsname securityfs
0.000382 gp_port_library_list (2): found mtab fsname tmpfs
0.000390 gp_port_library_list (2): found mtab fsname devpts
0.000393 gp_port_library_list (2): found mtab fsname tmpfs
0.000400 gp_port_library_list (2): found mtab fsname cgroup2
0.000404 gp_port_library_list (2): found mtab fsname cgroup
0.000407 gp_port_library_list (2): found mtab fsname pstore
0.000413 gp_port_library_list (2): found mtab fsname none
0.000420 gp_port_library_list (2): found mtab fsname cgroup
0.000442 gp_port_library_list (2): found mtab fsname cgroup
0.000446 gp_port_library_list (2): found mtab fsname cgroup
0.000449 gp_port_library_list (2): found mtab fsname cgroup
0.000451 gp_port_library_list (2): found mtab fsname cgroup
0.000454 gp_port_library_list (2): found mtab fsname cgroup
0.000457 gp_port_library_list (2): found mtab fsname cgroup
0.000460 gp_port_library_list (2): found mtab fsname cgroup
0.000462 gp_port_library_list (2): found mtab fsname cgroup
0.000465 gp_port_library_list (2): found mtab fsname cgroup
0.000468 gp_port_library_list (2): found mtab fsname cgroup
0.000473 gp_port_library_list (2): found mtab fsname systemd-1
0.000476 gp_port_library_list (2): found mtab fsname hugetlbfs
0.000496 gp_port_library_list (2): found mtab fsname mqueue
0.000501 gp_port_library_list (2): found mtab fsname debugfs
0.000507 gp_port_library_list (2): found mtab fsname tracefs
0.000513 gp_port_library_list (2): found mtab fsname binfmt_misc
0.000523 gp_port_library_list (2): found mtab fsname configfs
0.000531 gp_port_library_list (2): found mtab fsname tmpfs
0.000539 gp_port_library_list (2): found mtab fsname /dev/sda1
0.000544 gp_port_library_list (2): found mtab fsname /dev/sdb1
0.000549 gp_port_library_list (2): found mtab fsname tmpfs
0.000558 gp_port_library_list (2): found mtab fsname jetbrains-toolbox
0.000563 gp_port_library_list (2): found mtab fsname fusectl
0.000579 foreach_func (2): Loaded '' ('^disk:') from '/usr/lib/libgphoto2_port/0.12.0/disk'.
0.000583 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.000633 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.000639 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.000641 foreach_func (2): Loaded 'IP Connection' ('ip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.000643 foreach_func (2): Loaded '' ('^ip:') from '/usr/lib/libgphoto2_port/0.12.0/ptpip'.
0.000646 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000745 foreach_func (2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000750 foreach_func (2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000753 foreach_func (2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000755 foreach_func (2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000758 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000765 foreach_func (2): Loaded '' ('^serial:') from '/usr/lib/libgphoto2_port/0.12.0/serial'.
0.000767 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004144 foreach_func (2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004155 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,008') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004158 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,006') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004160 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,005') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004163 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004165 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,002') from '/usr/lib/libgphoto2_port/0.12.0/usb1'.
0.004167 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
0.004276 foreach_func (2): Called for filename '/usr/lib/libgphoto2_port/0.12.0/usbscsi'.
0.004387 gp_port_info_list_count (2): Counting entries (17 available)...
0.004392 gp_port_info_list_count (2): 12 regular entries available.
0.004398 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.5.24'...
0.004464 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/adc65'.
0.004470 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/agfa_cl20'.
0.004473 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/aox'.
0.004475 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/ax203'.
0.004477 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/barbie'.
0.004479 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/canon'.
0.004481 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/casio_qv'.
0.004484 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/clicksmart310'.
0.004486 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/digigr8'.
0.004488 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/digita'.
0.004490 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/dimagev'.
0.004493 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/dimera3500'.
0.004495 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/directory'.
0.004497 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/enigma13'.
0.004499 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/fuji'.
0.004501 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/gsmart300'.
0.004503 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/hp215'.
0.004506 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/iclick'.
0.004508 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/jamcam'.
0.004510 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/jd11'.
0.004513 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/jl2005a'.
0.004515 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/jl2005c'.
0.004517 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_dc120'.
0.004520 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_dc210'.
0.004522 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_dc240'.
0.004524 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_dc3200'.
0.004526 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/kodak_ez200'.
0.004529 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/konica'.
0.004531 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/konica_qm150'.
0.004533 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/largan'.
0.004542 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/lg_gsm'.
0.004544 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/lumix'.
0.004546 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/mars'.
0.004549 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/mustek'.
0.004551 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/panasonic_coolshot'.
0.004553 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/panasonic_dc1000'.
0.004555 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/panasonic_dc1580'.
0.004558 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/panasonic_l859'.
0.004560 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/pccam300'.
0.004562 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/pccam600'.
0.004564 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/pentax'.
0.004567 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/polaroid_pdc320'.
0.004569 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/polaroid_pdc640'.
0.004571 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/polaroid_pdc700'.
0.004573 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/ptp2'.
0.004576 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/ricoh'.
0.004578 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/ricoh_g3'.
0.004580 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/samsung'.
0.004583 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sierra'.
0.004585 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sipix_blink2'.
0.004587 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sipix_web2'.
0.004590 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/smal'.
0.004592 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sonix'.
0.004594 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sony_dscf1'.
0.004596 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sony_dscf55'.
0.004599 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/soundvision'.
0.004601 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/spca50x'.
0.004603 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sq905'.
0.004606 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/st2205'.
0.004608 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/stv0674'.
0.004610 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/stv0680'.
0.004612 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/sx330z'.
0.004615 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/topfield'.
0.004617 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/toshiba_pdrm11'.
0.004619 foreach_func (2): Found '/usr/lib/libgphoto2/2.5.24/tp6801'.
0.004622 gp_abilities_list_load_dir (2): Found 65 camera drivers.
0.024623 gp_port_info_list_count (2): Counting entries (17 available)...
0.024647 gp_port_info_list_count (2): 12 regular entries available.
0.024651 gp_port_new (2): Creating new device...
0.024655 gp_port_info_list_get_info (2): Getting info of entry 0 (17 available)...
0.024740 gp_port_set_settings (2): Setting settings...
0.024746 gp_port_info_list_get_info (2): Getting info of entry 1 (17 available)...
0.024797 gp_port_set_settings (2): Setting settings...
0.024803 gp_port_info_list_get_info (2): Getting info of entry 2 (17 available)...
0.024856 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.024861 gp_port_set_settings (2): Setting settings...
0.024864 gp_port_info_list_get_info (2): Getting info of entry 3 (17 available)...
0.024908 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.024913 gp_port_set_settings (2): Setting settings...
0.024923 gp_port_info_list_get_info (2): Getting info of entry 4 (17 available)...
0.024967 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.024972 gp_port_set_settings (2): Setting settings...
0.024975 gp_port_info_list_get_info (2): Getting info of entry 5 (17 available)...
0.025017 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.025021 gp_port_set_settings (2): Setting settings...
0.025024 gp_port_info_list_get_info (2): Getting info of entry 6 (17 available)...
0.025065 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds.
0.025070 gp_port_set_settings (2): Setting settings...
0.025073 gp_port_info_list_get_info (2): Getting info of entry 7 (17 available)...
0.028358 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.028371 gp_port_set_settings (2): Setting settings...
0.028378 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,008, (new int=0, conf=-1, alt=-1) port usb:001,008
0.028381 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.028384 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.028708 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.028957 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.028978 gp_port_info_list_get_info (2): Getting info of entry 8 (17 available)...
0.032225 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.032236 gp_port_set_settings (2): Setting settings...
0.032243 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,006, (new int=0, conf=-1, alt=-1) port usb:001,006
0.032245 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.032248 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.032569 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.032817 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.032842 gp_port_info_list_get_info (2): Getting info of entry 9 (17 available)...
0.036503 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.036521 gp_port_set_settings (2): Setting settings...
0.036529 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.036532 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.036535 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.036867 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.037119 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.037167 gp_port_info_list_get_info (2): Getting info of entry 10 (17 available)...
0.040496 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.040508 gp_port_set_settings (2): Setting settings...
0.040514 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.040517 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.040520 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.040848 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.041112 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.041135 gp_port_info_list_get_info (2): Getting info of entry 11 (17 available)...
0.044764 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.044782 gp_port_set_settings (2): Setting settings...
0.044796 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,002, (new int=0, conf=-1, alt=-1) port usb:001,002
0.044799 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.044802 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.045072 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x40a, product 0x300)... found.
0.045106 gp_libusb1_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep ffffffff, outep ffffffff, intep ffffffff, class ff, subclass 00
0.045110 gp_abilities_list_detect_usb(2): Found 'Kodak EZ200' (0x40a,0x300)
0.045129 gp_port_free (2): Freeing port...
0.045133 gp_port_close (2): Closing port...
0.045253 gp_camera_set_abilities (2): Setting abilities ('Kodak EZ200')...
0.045261 gp_setting_set (2): Setting key 'model' to value 'Kodak EZ200' (gphoto2)
0.045265 save_settings (2): Saving 4 setting(s) to file "/home/james/.gphoto/settings"
0.045335 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,002' (17 entries available)...
0.045341 gp_port_info_list_get_info (2): Getting info of entry 11 (17 available)...
0.045344 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,002'...
0.048529 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds.
0.048540 gp_port_set_settings (2): Setting settings...
0.048547 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,002, (new int=0, conf=-1, alt=-1) port usb:001,002
0.048550 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.048553 gp_setting_set (2): Setting key 'port' to value 'usb:001,002' (gphoto2)
0.048556 save_settings (2): Saving 4 setting(s) to file "/home/james/.gphoto/settings"
0.048632 gp_camera_folder_list_files (2): Listing files in '/'...
0.048638 gp_camera_init (2): Initializing camera...
0.048646 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x40a, product 0x300)... found.
0.048677 gp_libusb1_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep ffffffff, outep ffffffff, intep ffffffff, class ff, subclass 00
0.048681 gp_camera_init (2): Loading '/usr/lib/libgphoto2/2.5.24/kodak_ez200'...
0.048745 gp_port_open (2): Opening USB port...
0.048751 gp_libusb1_open (2): ()
0.048763 gp_libusb1_open (2): claiming interface 0
0.048777 ez200/kodak/ez200/ez200.c (2): Initializing Kodak EZ200
0.048780 gp_port_set_settings (2): Setting settings...
0.048783 gp_libusb1_update (2): (old int=0, conf=1, alt=0) port usb:001,002, (new int=1, conf=0, alt=0) port usb:001,002
0.048786 gp_libusb1_update (2): changing interface -1 -> 1
0.048790 gp_libusb1_update [libusb1.c:947](0): 'libusb_release_interface (port->pl->dh, port->pl->interface)' failed: Entity not found (-5)
0.048793 gp_libusb1_update (2): changing config -1 -> 0
0.048796 gp_libusb1_update [libusb1.c:962](0): 'libusb_release_interface (port->pl->dh, port->settings.usb.interface)' failed: Entity not found (-5)
0.048803 gp_libusb1_update [libusb1.c:967](0): 'libusb_set_configuration(port->pl->dh, port->settings.usb.config)' failed: Resource busy (-6)
0.048807 gp_libusb1_update [libusb1.c:977](0): setting configuration from -1 to 0 failed, but continuing...
0.048809 gp_libusb1_update (2): Changed usb.config from -1 to 0
0.048812 gp_libusb1_update [libusb1.c:996](0): 'libusb_set_interface_alt_setting (port->pl->dh, port->settings.usb.interface, port->settings.usb.altsetting)' failed: Entity not found (-5)
0.048818 gp_port_set_error [gphoto2-port.c:1190](0): Could not set altsetting from -1 to 0 (Device or resource busy)
0.048821 gp_port_close (2): Closing port...
0.049888 gp_port_set_error [gphoto2-port.c:1190](0): Could not release interface 1 (Device or resource busy).
0.049916 gp_context_error (0): An error occurred in the io-library ('Error updating the port settings'): Could not release interface 1 (Device or resource busy).
0.050227 gp_camera_free (2): Freeing camera...
0.050234 gp_port_free (2): Freeing port...
0.050237 gp_port_close (2): Closing port...
0.051389 gp_port_set_error [gphoto2-port.c:1190](0): Could not release interface 1 (Device or resource busy).
0.051474 gp_filesystem_reset (2): resetting filesystem
0.051481 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.051483 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.051486 delete_all_folders (2): Internally deleting all folders from '/'...
0.051488 lookup_folder (2): Lookup folder '/'...
0.051491 lookup_folder (2): Found! / is 0x55b97f0646b0
0.051494 recurse_delete_folder (2): Recurse delete folder 0x55b97f0646b0//
0.051496 delete_all_files (2): Delete all files in folder 0x55b97f0646b0//
Describe the bug
I'm having issues with accessing camera images from my (very old) Kodak EZ200. I receive the error message:
Name the camera Kodak EZ200
libgphoto2 and gphoto2 version
To Reproduce Steps to reproduce the behavior: Run
gphoto2 --list-files
I also receive the following error message in dmesg:usb 1-2: usbfs: interface 0 claimed by usbfs while 'gphoto2' sets config #0
Full log file below: