[Pkg-phototools-devel] Bug#620941: libgphoto2-2: permissions not set correctly on USB devices

David Paleino dapal at debian.org
Tue Apr 5 09:09:17 UTC 2011

tags 620941 confirmed

Hello again,

On Tue, 05 Apr 2011 00:20:13 -0700, Jameson Graef Rollins wrote:

> It seems that the permissions on my camera's USB device is not being
> set correctly.  When trying to access the camera I get the following
> error:
> servo:~ 0$ gphoto2 -L
> *** Error ***              
> An error occurred in the io-library ('Could not claim the USB device'): Could
> not claim interface 0 (Operation not permitted). Make sure no other program
> 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 at lists.sourceforge.net>, please run
> gphoto2 as follows:
>     env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L
> Please make sure there is sufficient quoting around the arguments.
> servo:~ 1$ 

Ok, it was a while I didn't use my camera via PTP, so this completely slipped
off my radar ("mass storage"++ :D).
I'm not sure what can cause it, but at least I can reproduce the same problem
on my system. I'll try to find a solution, and fix the package/post it here.

Just one more information from you: can you please say what vendorid+productid
your camera is? You can find it from lsusb (it's the two strings "ID:
xxxx:yyyy"), or from dmesg when you attach your camera to the computer.


 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20110405/4203ef2f/attachment.pgp>

More information about the Pkg-phototools-devel mailing list