Hello,
I have performed the operations to install gphoto2 on my brand new RPi3B+.
gphoto2 is able to detect my Canon EOS M50 but when I run the capture
command I get this error:
*** Error *** An error occurred in the library ('Could not claim the UDB
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.
ERROR: Could not capture image.
ERROR: Could not capture.
*** 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 --capture-image

Please make sure there is sufficient quoting around the arguments.

I ran the send error/debug command to gphoto developer mailing list but
then I get this same error:
*** Error *** An error occurred in the library ('Could not claim the UDB
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.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

I went ahead and ran the debug command and it is attached as a document
besides being copied and pasted below for which ever conveniences you
better. I look forward to resolving this issue. Thank you for your time.
- Benjamin

0.000643 main                        (2): ALWAYS INCLUDE THE FOLLOWING
LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000755 main                        (2): gphoto2 2.5.26.1
0.000807 main                        (2): gphoto2 has been compiled with
the following options:
0.000894 main                        (2):  + gcc (C compiler used)
0.000928 main                        (2):  + popt (mandatory, for handling
command-line parameters)
0.000967 main                        (2):  + exif (for displaying EXIF
information)
0.001006 main                        (2):  + no cdk (for accessing
configuration options)
0.001040 main                        (2):  + no aa (for displaying live
previews)
0.001075 main                        (2):  + jpeg (for displaying live
previews in JPEG format)
0.001112 main                        (2):  + no readline (for easy
navigation in the shell)
0.001152 main                        (2): libgphoto2 2.5.22
0.001194 main                        (2): libgphoto2 has been compiled with
the following options:
0.001234 main                        (2):  + all camlibs
0.001267 main                        (2):  + gcc (C compiler used)
0.001304 main                        (2):  + ltdl (for portable loading of
camlibs)
0.001341 main                        (2):  + EXIF (for special handling of
EXIF files)
0.001379 main                        (2): libgphoto2_port 0.12.0
0.001422 main                        (2): libgphoto2_port has been compiled
with the following options:
0.001461 main                        (2):  + iolibs: disk ptpip serial usb1
usbdiskdirect usbscsi
0.001496 main                        (2):  + gcc (C compiler used)
0.001529 main                        (2):  + ltdl (for portable loading of
iolibs)
0.001566 main                        (2):  + USB (libusb1, for USB cameras)
0.001600 main                        (2):  + serial (for serial cameras)
0.001636 main                        (2):  + no resmgr (serial port access
and locking)
0.001670 main                        (2):  + no ttylock (serial port
locking)
0.001708 main                        (2):  + no lockdev (serial port
locking)
0.001743 main                        (2): CAMLIBS env var not set, using
compile-time default instead
0.001780 main                        (2): IOLIBS env var not set, using
compile-time default instead
0.001815 main                        (2): invoked with following arguments:
0.001850 main                        (2):   --debug
0.001949 load_settings               (2): Creating gphoto config directory
('/home/pi/.gphoto')
0.002168 load_settings               (2): Loading settings from file
'/home/pi/.gphoto/settings'.
0.002751 gp_camera_free              (2): Freeing camera...
0.002790 gp_port_free                (2): Freeing port...
0.002833 gp_filesystem_reset         (2): resetting filesystem
0.002866 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.002902 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.002937 delete_all_folders          (2): Internally deleting all folders
from '/'...
0.002976 lookup_folder               (2): Lookup folder '/'...
0.003011 lookup_folder               (2): Found! / is 0x193ed60
0.003049 recurse_delete_folder       (2): Recurse delete folder 0x193ed60//

Attachment: Debug Log.pdf
Description: Adobe PDF document

_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to