Hi

> Which version of libgphoto2 are you using ?

dpkg --status libgphoto2-2
Version: 2.2.1-4

I think the udev config stuff is as the package provided it.

> What is the output of
>   ls -l /etc/udev/rules.d/025_libgphoto2.rules

lrwxrwxrwx 1 root root 19 2006-07-19 16:41 
/etc/udev/rules.d/025_libgphoto2.rules -> ../libgphoto2.rules

> and
>   ls -l /etc/udev/025_libgphoto2.rules

I think it should be ls -l /etc/udev/libgphoto2.rules

-rw-r--r-- 1 root root 45480 2006-10-19 20:55 /etc/udev/libgphoto2.rules

I am not very much into udev rules.  lsusb provides the following infos

...
     bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
...

and this rule from /etc/udev/libgphoto2.rules should match it

SYSFS{bInterfaceClass}=="06", SYSFS{bInterfaceSubClass}=="01", 
SYSFS{bInterfaceProtocol}=="01", MODE="0660", GROUP="camera"

But find "/dev -group camera" does not find any device file.

> Your model should be recognised and udev, working properly, should
> set device group appropriately.

I think the device is too new. At least gphoto2 --list-cameras does 
not list it. But it works perfectly on a sarge (using hotplug) system 
as normal user.

> If it is possible for you, you should also use something else than
> digikam for debugging this problem since it has currently some
> issues.

I also tried with gtkam. Works as root, does not as user in group 
camera.

By the way is straced digikam. The last accessed device when failing
access the camera is /dev/bus/usb/001/005

12872 open("/dev/bus/usb/001/005", O_RDWR) = -1 EACCES (Permission denied)
12872 open("/dev/bus/usb/001/005", O_RDONLY) = 19
12872 ioctl(19, USBDEVFS_GETDRIVER, 0xa5994938) = -1 EPERM (Operation not 
permitted)
12872 ioctl(19, USBDEVFS_CLAIMINTERFACE, 0xa5994a54) = -1 EPERM (Operation not 
permitted)
12872 munmap(0xa3c3c000, 138608)        = 0
12872 ioctl(19, USBDEVFS_RELEASEINTERFACE, 0xa59962a4) = -1 EPERM (Operation 
not permitted)
12872 munmap(0xa3c5e000, 12688)         = 0
12872 munmap(0xa3cb7000, 32024)         = 0
12872 ioctl(5, FIONREAD, [0])           = 0

ls -l /dev/bus/usb/001/005 gives
crw-rw-r-- 1 root root 189, 4 2006-10-22 21:26 /dev/bus/usb/001/005

When lsusb gives
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 005: ID 04cb:019b Fuji Photo Film Co., Ltd
Bus 001 Device 001: ID 0000:0000


-- 
PGP ID 65C92061

Attachment: pgphQkM9Wa5lA.pgp
Description: PGP signature

Reply via email to