You are not logged in.

#1 2008-04-20 19:32:18

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Canon Camera

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 get this error when I try to import pictures from my camera. I followed these instructions.
http://wiki.archlinux.org/index.php/Digital_Cameras
and installed gthumb, fspot and digikam.
I managed to get it to see the pictures once. How do I fix this?

Last edited by Raccoon1400 (2008-04-20 19:32:39)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#2 2008-04-21 20:07:06

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera

I have a similar problem with digikam. I go to "add camera" and it adds the camera, and when I try to import pictures, it can't find the camera.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#3 2008-04-21 20:49:24

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Canon Camera

You definatly added your user to the camera group?, and if you have, did you log out, and log back in (I'm pretty sure that that is necessary).

It does look look like a permissions error; maybe adding that udev rule suggested in the wiki too, or running gphoto2 as root (to make sure that the hardware actually works)...

Offline

#4 2008-04-21 22:09:29

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera

Yes. I did add my user to the camera group. I have able to get pictures a few times. Digikam was working yesterday.

Running gthumb worked once, now it says no images found.
It is not very consistent.

Last edited by Raccoon1400 (2008-04-21 22:12:26)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#5 2008-04-23 23:24:14

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera

Is it possible just to get the camera to mount as a usb drive?


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#6 2008-04-24 01:10:04

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Canon Camera

Probably caused by udev 119 bug.

Offline

#7 2008-04-24 02:26:45

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera

Doesn't sound quite like this. The camera is detected, but gthumb fails to grab it, and digikam sees it when I tell it to autodetect camera, but can't detect it when I try to import photos.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#8 2008-04-24 02:44:32

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Canon Camera

Detection requires reading, and importing photos will requiring writing (i.e. sending commands).

So how is it not a udev permissions problem? Track down the device in udev, using the usual udev debugging commands. Its permissions are probably:  644 root:root, instead of something you want like:  660 root:camera

This is why so many people complain that they can use a device as root, but not as a normal user, even though they've added their user to the appropriate group wink

Offline

#9 2008-04-24 10:26:33

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera

I'll give it a try.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#10 2008-04-25 01:31:28

pudgewacl
Member
Registered: 2007-06-08
Posts: 16

Re: Canon Camera

I had a similar problem with my Cannon camera (do not know if it is the same issue though).  I got it fixed by changing a permision in the /etc/udev/rules.d/50-udev-default.rules file.  Here is a link to the thread that I got the fix from.

http://bbs.archlinux.org/viewtopic.php?id=47047


Once I made the change, digikam (which is the only program that I use for my camera) works 100% of the time when downloading photos from my camera.

Good luck,
Matt

Last edited by pudgewacl (2008-04-25 01:32:03)

Offline

#11 2008-04-25 23:52:26

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Canon Camera


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

Board footer

Powered by FluxBB