lunedì 11 giugno 2018

problemi con gphoto

Lanciando gphoto vi ritrovate il seguente errore

/etc/udev/rules.d $ gphoto2 --storage-info

*** Error ***
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.
*** 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 --storage-info

Please make sure there is sufficient quoting around the arguments.


Notere che:

/etc/udev/rules.d $ ps -ef |  grep gphoto
mikilin+   717     1  0 11:45 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
mikilin+  1128     1  0 11:45 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
mikilin+  1391     1  0 11:45 ?        00:00:00 /usr/lib/gvfs/gvfsd-gphoto2 --spawner :1.1 /org/gtk/gvfs/exec_spaw/1
mikilin+  1618  1440  0 11:54 pts/0    00:00:00 grep --color=auto gphoto

Personalmente ho risolto così:

cd /usr/lib/gvfs/
 sudo chmod a-x gvfs-gphoto2-volume-monito

e poi riavvio.

Nessun commento:

Posta un commento