LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   gphoto2 can't claim olympus c-2100 camera FC5 (https://www.linuxquestions.org/questions/fedora-35/gphoto2-cant-claim-olympus-c-2100-camera-fc5-429846/)

bushtec 03-29-2006 09:47 PM

gphoto2 can't claim olympus c-2100 camera FC5
 
Camera (olympus c-2100uz)worked fine in FC4 and FC5T3 using gphoto or digikam. Upgraded to FC5 and now get the following error.

*** 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') ***

Will not work as root either.
Can anyone help
thanks
bushtec

Simon Bridge 03-30-2006 02:11 AM

gphoto running as root didn't do it - option 2 is to check that no other kernel module is claiming the device. Check your syslog.

bushtec 03-31-2006 01:59 PM

Thanks for the reply
I'm unable to find any mention of it syslog. Maybe I don't understand where to look.

bushtec 03-31-2006 02:20 PM

After today's yum update, gphoto2 work's fine from the command line, however still no go in digikam. Digikam auto detects the camera, but returns "unable to connect to camera, make sure the camera is connected and turned on".
That's ok, I'll just use the command line.
thanks for the help.

Simon Bridge 04-01-2006 01:28 AM

Cute.

Well, fwiw, dmesg | grep usb (or USB) should do the trick - if you do this right after the camera is plugged in. You should get some messages about a new usb device being registered. (or dmesg | tail) ... there should also be some boot messages about the usb system.

dkaptain 04-22-2006 05:03 PM

The fix is...
 
Connect your camera

su -
chmod -R 777 /dev/bus

and gthumb/gphoto2 will work fine as a normal user.

bushtec 04-25-2006 07:27 PM

Thanks a lot dkaptain.
Worked great.

dkaptain 04-28-2006 04:46 PM

The REAL fix
 
when you plug in a usb device udev is responsible for setting up device nodes and the like.

edit /etc/udev/rules.d/50-udev.rules

search for the line with SUBSYSTEM=="usb_device"
right after that line change
MODE="0644" to MODE="0777"

now run udevstart

Now whenever a new device is plugged in it gets the right permissions automagically!


All times are GMT -5. The time now is 06:04 PM.