LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2009, 09:49 PM   #1
hegedus
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Rep: Reputation: 0
libgphoto2 - permissions


Hi,

I reinstalled my linux box (debian/lenny).
Before that I could get the pics from my camera.

Now I get the message:

"""
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 can get the pics as root.
I am (as a regular user) in the group of plugdev.
I even created a usb group to have usbfs mounted with this devgid. I am in that group, too.

Based on older threads, I tried to edit
/etc/udev/rules.d/*libgphoto2.rules:
SUBSYSTEM!="usb_device", GOTO="libgphoto2_rules_end"
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="3138", MODE="0660", GROUP="plugdev"
(Bus 005 Device 010: ID 04a9:3138 Canon, Inc. PowerShot A710 IS)

Still have the same error.

Thanks for your help in advance,
tamas
 
Old 02-04-2009, 03:24 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
ok slow down linux sees you camera as a usb hard drive libgphoto program reads this then opens it. so connect your camera push the power then type in a terminal dmesg this will tell you what it is loaded as. then make sure you have disk in your group in user admin. I do not know why this is happening but I just usually plug the camera in open the mounted device the open my pictures. this is not much help but think of your camera as a hard drive that is being opened ok. when I do this it sets my camera device to /dev/sdd1 and then it mounts in in the media folder there also when you do this a icon should show up on your desk top looks like a usb or a camera click it. if none of this is happening then may be a reinstall.
Quote:
(such as sdc2xx, stv680, spca50x)
if you have your camera set to webcam this will cause this problem also.

Last edited by Drakeo; 02-04-2009 at 03:27 PM.
 
Old 02-04-2009, 08:17 PM   #3
hegedus
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
ok slow down linux sees you camera as a usb hard drive libgphoto program reads this then opens it. so connect your camera push the power then type in a terminal dmesg this will tell you what it is loaded as. then make sure you have disk in your group in user admin. I do not know why this is happening but I just usually plug the camera in open the mounted device the open my pictures. this is not much help but think of your camera as a hard drive that is being opened ok. when I do this it sets my camera device to /dev/sdd1 and then it mounts in in the media folder there also when you do this a icon should show up on your desk top looks like a usb or a camera click it. if none of this is happening then may be a reinstall.if you have your camera set to webcam this will cause this problem also.
Thanks!
The problem was that usb devices are in group 'virtualbox' and I was not member of the vitualbox group.

tamas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
libgphoto2 justwantin Slackware 7 08-21-2007 03:53 PM
trouble installing, libgphoto2 sety Linux - Software 1 07-27-2006 10:34 PM
Installing libgphoto2 update robandro Linux - Software 3 05-15-2006 01:56 PM
libgphoto2 will NOT update THX1138 Linux - Hardware 2 06-27-2004 03:52 PM
libgphoto2 does NOT update! THX1138 Linux - Software 0 06-27-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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