> pi@raspberrypi:~ $ gphoto2 --auto-detect
> Model                          Port
> ----------------------------------------------------------
> Canon PowerShot G9 (PTP mode)  usb:001,004
>
> pi@raspberrypi:~ $ gphoto2 --capture-image
> *** Error ***
>
> An error occurred in the io-library ('Could not claim the USB device'): Could 
> no
> t 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 
> us
> ing 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.

There really is a process already using the camera, gvfs very likely
on the raspberry.

try:
        gio mount -s gphoto2

and replugging in the camera to see if this helps.

Or 
        ps auxw|grep gvfs.*gphoto2

and kill -9 these processes listed, then replugin and try again.

CIao, Marcus


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

Reply via email to