You are not logged in.

#1 2008-12-28 16:45:08

scrawler
Member
Registered: 2005-06-07
Posts: 318

one more time? gtkam, root, user. [solved]

Hey guys,

I've read all the posts I can find about this, but still haven't got it working.  I can get both gtkam and digikam working with my camera as root, but not as a user.  I did what the wiki page told me--no love. 

Can somebody give me a hint?  thanks.

Last edited by scrawler (2008-12-29 14:44:48)

Offline

#2 2008-12-28 17:06:16

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: one more time? gtkam, root, user. [solved]

ensure that you are in the camera group

Offline

#3 2008-12-28 17:10:19

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: one more time? gtkam, root, user. [solved]

and that your camera is being recognised by udev and assigned to root:camera (I'd use a combination of lsusb and ls -lR /dev/bus/usb to find out)

Offline

#4 2008-12-29 02:35:42

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: one more time? gtkam, root, user. [solved]

azleifel wrote:

and that your camera is being recognised by udev and assigned to root:camera (I'd use a combination of lsusb and ls -lR /dev/bus/usb to find out)

I am in camera, but neither command told me anything about root:camera.  lsusb shows me the camera, but ls -lR returns basically nothing.

Offline

#5 2008-12-29 10:48:48

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: one more time? gtkam, root, user. [solved]

It could be that your camera is not one known to libgphoto2.  Have a look in /etc/udev/rules.d/54-gphoto.rules for the vendor and product ID shown by lsusb.  If it's there but it's listed after the check-ptp-camera line then fixing that to read

PROGRAM="/lib/udev/check-ptp-camera", MODE="0660", GROUP="camera"

should get it working after restarting udev.  If it's not there then making a local rule ought to work, e.g. for my Fuji FinePix S5700 I used to have to put

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

in my /etc/udev/rules.d/91-local.rules.

Offline

#6 2008-12-29 11:07:03

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: one more time? gtkam, root, user. [solved]

you may need to edit /etc/udev/rules.d/54-gphoto-rules and manually add the product id and vendor id.
To know the ids, type:

lsusb

Offline

#7 2008-12-29 11:10:33

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: one more time? gtkam, root, user. [solved]

azleifel solution in using 90-local.rules is better in a sense that an update to libgphoto will not overwrite your setting.

Offline

#8 2008-12-29 14:44:19

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: one more time? gtkam, root, user. [solved]

archlinuxsagi wrote:

azleifel solution in using 90-local.rules is better in a sense that an update to libgphoto will not overwrite your setting.

This one did the trick.  thank you.

Offline

Board footer

Powered by FluxBB