You are not logged in.

#1 2008-02-15 23:11:25

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Digital Camera permissions: Problems with Gthumb

Hello, I have a problem with my digital camera. I am on camera, hal, storage, disk groups. As root, I have no problems with gthumb and my cam, but as an user, i recieve a permissions error.

What can I do to solve this?

Hal daemon is activated.

Greetings


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#2 2008-02-16 00:21:34

tami
Member
From: Norway, Oslo
Registered: 2007-11-10
Posts: 58
Website

Re: Digital Camera permissions: Problems with Gthumb

I remember I had similar problem but unfortunately I do not remember exactly how I solved it. From what I can recall I've added myself to a group. Compering your report to the status of groups I am in - I can see only one difference - I'm in dbus group.
Perhaps adding yourself to dbus group will help you?
If not - can you, please, post literally the error message given by gthumb - perhaps this will refresh my memory wink - or memory of others.

Kind regards,
tami


"Possession means worries and luggage bags one has to drag along." Little My wink

Offline

#3 2008-02-16 00:28:38

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Digital Camera permissions: Problems with Gthumb

I'm in the dbus group

the error is:

n 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.


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#4 2008-02-16 00:48:46

tami
Member
From: Norway, Oslo
Registered: 2007-11-10
Posts: 58
Website

Re: Digital Camera permissions: Problems with Gthumb

hmmm have you executed this:

# /usr/lib/libgphoto2/print-camera-list udev-rules mode 0660 version 0.98 group camera > /etc/udev/rules.d/90-libgphoto2.rules

(taken from Arch Wiki - http://wiki.archlinux.org/index.php/Libgphoto2 ) ?

If not try to do this - as root.


"Possession means worries and luggage bags one has to drag along." Little My wink

Offline

#5 2008-02-16 01:16:45

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Digital Camera permissions: Problems with Gthumb

yes, i have done that, and It doesn't work :S

Last edited by Davigetto (2008-02-16 01:18:22)


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#6 2008-02-16 01:27:15

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Digital Camera permissions: Problems with Gthumb

I have solved it!

I have done the following: First, I execute "lsusb" with the cam plugged:

Bus 001 Device 004: ID 04cb:01c7 Fuji Photo Film Co., Ltd 
Bus 001 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 0d62:a100 Darfon Electronics Corp. Benq Mouse
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000

So, I have seen that idVendor = 04cb and idProduct = 01c7.

I have edited /etc/udev/rules.d/54-gphoto.rules, and added a line with the rest of cams (i have found the "template" of the line looking for the forums, also in the file):

ATTRS{idVendor}=="04cb", ATTRS{idProduct}=="01c7", MODE="0660", GROUP="camera"

I have restarted udev and all worked fine!

Thanks for aid big_smile


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

Board footer

Powered by FluxBB