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 |
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.
|
Thanks for the reply
I'm unable to find any mention of it syslog. Maybe I don't understand where to look. |
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. |
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. |
The fix is...
Connect your camera
su - chmod -R 777 /dev/bus and gthumb/gphoto2 will work fine as a normal user. |
Thanks a lot dkaptain.
Worked great. |
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. |