You are not logged in.

#1 2009-01-29 07:33:10

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

From /var/log/messages.log:

Jan 29 08:21:42 serial-64-killa usb 1-1.4: new high speed USB device using ehci_hcd and address 6
Jan 29 08:21:42 serial-64-killa usb 1-1.4: configuration #1 chosen from 1 choice
Jan 29 08:21:42 serial-64-killa load-modules.sh: 'usb:v04CBp01DDd0100dc00dsc00dp00ic06isc01ip01' is not a valid module or alias name

Gthumb as normal user cannot access the storage of the cam and sa some like "cannot access caus another app is using the port ..." as root i can access to the storage via gthumb and standard PTP cam mode.

Via nautilus /media/ the cam is not recognized.

fuji.png

translation?: Failed to initialize the camera: -53/can't  access  the usb device...

So how cann i found the device string for the cam?

usb:v04CBp01DDd0100dc00dsc00dp00ic06isc01ip01

helps nothing

I want do somithing like a udev rule to get access for normal user.

Last edited by killajoe (2009-04-18 14:27:33)


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#2 2009-01-29 09:43:46

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

Is your user in the group "camera"?

Offline

#3 2009-01-30 19:55:48

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

bash-3.2$ groups
tty disk lp wheel uucp video audio optical storage camera power users killajoe abs stb-admin


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#4 2009-04-16 20:43:08

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

Jan 29 08:21:42 serial-64-killa load-modules.sh: 'usb:v04CBp01DDd0100dc00dsc00dp00ic06isc01ip01' is not a valid module or alias name

can i make this a valid alias name for usb device or with udev or sometihing????


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#5 2009-04-18 12:41:34

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

If i start gphoto/gtkam with root previlegies i can accsess the camera as
"USB PTP Class Camera".
Under normal user account i can not access because of policy rules i got
this in messages.log when i plug the cam via usb:


Apr 18 10:30:01 serialkilla64 kernel: usb 1-3.2: new high speed USB device
using ehci_hcd and address 11
Apr 18 10:30:01 serialkilla64 kernel: usb 1-3.2: configuration #1 chosen
from 1 choice
Apr 18 10:30:01 serialkilla64 load-modules.sh:
'usb:v04CBp01DDd0100dc00dsc00dp00ic06isc01ip01' is not a valid module or
alias name

# gphoto2 --auto-detect
Modell Port

----------------------------------------------------------
USB PTP Class Camera usb:
USB PTP Class Camera usb:001,011

Dmesg:
...
usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd gtkam rqt 128 rq 6 len 1000
ret -110
...

I do a request at gphotos sourceforge site and got a answear:

However your distro should have a generic PTP permission handling, either
via udev or via hal.

If not, it should add it.

As workaround, check the libgphoto2 package for either a udev rules or a
hal fdi file and add the id (0x4cb / 0x01dd) there

So what should i do to use gtkam for the cam as normal user? i got no libgphoto2 rules under "/etc/udev/rules.d" there is only a 54-gphoto.rules what looks like that:

ATTRS{idVendor}=="2770", ATTRS{idProduct}=="905c", MODE="0660", GROUP="camera

Last edited by killajoe (2009-04-18 12:42:42)


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#6 2009-04-18 13:03:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

Did you check if the actual device gets assigned to that group as udev should do, according to its rules?

If so, you're bumping into the same problem I experienced. And there's only one solution: assign the device to your user (OWNER=).

As for your udev rule snippet, I hope you just forgot to quote the closing double quote (") and that it's present in the udev rules file wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2009-04-18 14:26:52

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: FujiFilm S1000fd Digicam cannot get the images as normal user *SOLVED!

B wrote:

As for your udev rule snippet, I hope you just forgot to quote the closing double quote (") and that it's present in the udev rules file wink.

jea its copypaste and that is only example line from file,,,

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

do the trick for me and now i got the cam as normal user and it is known by lsusb:

Bus 001 Device 007: ID 04cb:01dd Fuji Photo Film Co., Ltd

So its solved thanks too.. wink


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

Board footer

Powered by FluxBB