LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-15-2007, 03:13 PM   #1
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
Kodak C300 digital camera only accessed as root


hi everyone!

I am trying to get my Kodak C300 digital camera working with Ubuntu Edgy. I am able to import photos and movies from the camera when I run digikam with root privileges... everything works fine... however, as a normal user, Ubuntu detects the camera, pops up a dialogue to import the pictures but then comes up with this error

Code:
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.
What I get from this is that a normal user doesnt have full permissions on the USB device... how can I get this to work without having to resort to digikam with root privileges?

this thread http://www.linuxquestions.org/questi...d.php?t=541366 talks about downgrading libphoto... but since it works perfectly with root privileges i thought there might be another solution.
 
Old 06-15-2007, 06:19 PM   #2
3point2
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 11.0
Posts: 23

Rep: Reputation: 15
Try using the user management tool to add yourself to the 'usb' group and any others that seem relevant to using the camera. Does that help?
 
Old 06-15-2007, 11:39 PM   #3
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Original Poster
Rep: Reputation: 31
hi... there is no usb group in my upgraded ubuntu system... from dapper to edgy... i have added myself to all the probable groups including the root group... and i still get the same error.

any other suggestions?
 
Old 06-16-2007, 11:49 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
This could simply be a permissions issue. When you mount your camera, are you giving Read privs to regular users?
 
Old 06-17-2007, 09:06 PM   #5
3point2
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 11.0
Posts: 23

Rep: Reputation: 15
When you plug in your camera, the relevant device node is created in /dev by a program called udev. It has a configuration file which tells it what permissions to use for what sorts of devices. It's possible that your camera's model is not in that configuration file, and so restrictive permissions are being used. I suggest you try figure out what is being created in /dev (it'll most likely start with usb or be in a subdirectory of /dev called usb) when you plug in your camera. Then do a 'chown' on that file so that it is owned by you. If you can then access the camera, you'll need to add a rule to a file somewhere under /etc/udev to make the change permanent.
 
Old 06-18-2007, 03:11 AM   #6
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Original Poster
Rep: Reputation: 31
thanks people for your help... today i decided to have a serious go at fixing this and guess what... i plugged the camera in and it just worked...??? i dont know why... probably because the last time i accessed it first as root? i dont know... but as of now i simply plug the camera in and gthumb detects it, asks me for import options and imports without any hassles.

thank you for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Kodak Digital Camera buckwheat12 Ubuntu 2 04-06-2007 01:17 AM
"Unknown Port" Error Using Kodak Easyshare C300 Digital Camera DPSellyChan Linux - Hardware 1 01-08-2006 05:08 AM
Help! Can't Mount Kodak Digital Camera Dooley Mandriva 4 12-18-2004 12:52 PM
Kodak Digital Camera Peppercorn Linux - Hardware 5 09-19-2003 12:14 AM
Kodak CX4200 Digital Camera notstrider Linux - Hardware 4 07-08-2003 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration