Can't Import Photos

Asked by Jeff Felberbaum on 2007-05-22

...Using FSpot Photo Manager or digiKam. With either one
I get the same error box with the following text:

"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."

I thought the problem might have something to do with the fact that
I have a USB ext. drive connected to my machine so I ejected/disconnected it,
but the same thing happened.

Running edgy.

thx

JF

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2007-05-22
Last reply:
2007-05-22
Massimo Forti (slackwarelife) said : #1

Thanks for your question. To solve your problem you can see this link:

https://launchpad.net/ubuntu/+source/libgphoto2/+bug/64146

It's a bug report about your problem, but there is also the solution. Thanks

Jeff Felberbaum (jmf2060) said : #2

Hi Massimo, I am using a Canon Powershot A80
and what I found at the link you provided was too
technical for me to understand--seems like there's
obviously useful code there but I'm not sure where to begin.

Would appreciate a more explicit fix.

Thx

JF

On 5/22/07, Massimo Forti <email address hidden> wrote:
>
> Your question #7005 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/7005
>
> Status: Open => Answered
>
> Massimo Forti proposed the following answer:
> Thanks for your question. To solve your problem you can see this link:
>
> https://launchpad.net/ubuntu/+source/libgphoto2/+bug/64146
>
> It's a bug report about your problem, but there is also the solution.
> Thanks
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/7005/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/7005
>

Massimo Forti (slackwarelife) said : #3

Ok, to solve your problem do:

1) plugin your camera

2) open a shell and do

$: lsusb

3) Post the result of this command. Thanks

Jeff Felberbaum (jmf2060) said : #4

Thanks Massimo. Here it is:

jmf2060@Slab-O-Dell:~$ lsusb
Bus 005 Device 007: ID 1058:0901 Western Digital Technologies, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 004: ID 06b9:4062 Alcatel Telecom
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 04a9:309a Canon, Inc. PowerShot A80
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
jmf2060@Slab-O-Dell:~$

JF

On 5/22/07, Massimo Forti <email address hidden> wrote:
>
> Your question #7005 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/7005
>
> Status: Open => Answered
>
> Massimo Forti proposed the following answer:
> Ok, to solve your problem do:
>
> 1) plugin your camera
>
> 2) open a shell and do
>
> $: lsusb
>
> 3) Post the result of this command. Thanks
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/7005/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/7005
>

Massimo Forti (slackwarelife) said : #5

Now, open a shell and do:

$: sudo gedit /etc/udev/rules.d/45-libgphoto2.rules

and add this line:

SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="309a", MODE="0660", GROUP="plugdev"

Save and exit to the editor and after i a shell do:

$: sudo /etc/init.d/udev restart

Plugin the camera. Let me know thanks

Jeff Felberbaum (jmf2060) said : #6

Hi M....

Not sure if I did what you asked in the right order because I didn't
understand:

"Save and exit to the editor and after i a shell do:"

1. What do you mean by "save" - how do you save a terminal session?
     Isn't it automatically just part of working in the command line?

2. I don't know what this means at all:
    "and exit to the editor"

3. Does this: "and after i a shell do"
    mean to open a new terminal and
    then add... something else?

Check the attachments and you'll see what my results were.
At one point, a "Gedit" text editor window opened up and
gave me a lot (!) of text.

Thx

J

On 5/22/07, Massimo Forti <email address hidden> wrote:
>
> Your question #7005 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/7005
>
> Status: Open => Answered
>
> Massimo Forti proposed the following answer:
> Now, open a shell and do:
>
> $: sudo gedit /etc/udev/rules.d/45-libgphoto2.rules
>
> and add this line:
>
> SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="309a", MODE="0660",
> GROUP="plugdev"
>
> Save and exit to the editor and after i a shell do:
>
> $: sudo /etc/init.d/udev restart
>
> Plugin the camera. Let me know thanks
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/7005/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/7005
>

Massimo Forti (slackwarelife) said : #7

Ok.

1) open a shell and do this command

2) $: sudo gedit /etc/udev/rules.d/45-libgphoto2.rules

3) this command open a file in which there are some info. Go to the end and add this line (you can copy it into yhe end of your file)

4) SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="309a", MODE="0660", GROUP="plugdev"

5) now click on file --> save this overwrite your old file with the new we have changed. Now you cna close the gedit program (this a text editor)

6) you are now in a shell and you can do this other command:

7) $: sudo /etc/init.d/udev restart

8) this command restart the udev daemon. After you are able to disconect and riconect your camera. Thanks

Can you help with this problem?

Provide an answer of your own, or ask Jeff Felberbaum for more information if necessary.

To post a message you must log in.