FS#8662 - No access with digikam to Canon Powershot A40 camera
Attached to Project:
Arch Linux
Opened by Dieter Rethmeyer (Dieter) - Friday, 16 November 2007, 13:15 GMT
Last edited by Greg (dolby) - Thursday, 24 July 2008, 05:51 GMT
Opened by Dieter Rethmeyer (Dieter) - Friday, 16 November 2007, 13:15 GMT
Last edited by Greg (dolby) - Thursday, 24 July 2008, 05:51 GMT
|
Details
I connect my camera Canon Powershot A40 via USB cable to the
PC and try to download the images from the camera. The
camera is automatically detected, but images cannot be
downloaded "no connection to camera".
Perhaps this is the same problem as described here (libgphoto2 problem): http://www.nabble.com/libgphoto2-2.4.0-package-for-testing-t4432432.html Problem started about end of October / start of November 2007. Can't remember which packages have been updated before the problem occured. |
This task depends upon
(e.g. /dev/bus/usb/003/009) are 660 root:root.
I tracked this down to udev rules, the camera is listed in /etc/udev/rules.d/54-gphoto.rules, but in the beginning of this file there is the line
SUBSYSTEM!="usb_device", GOTO="libgphoto2_rules_end"
At least on my computer the subsystem for the camera (as shown by udevinfo) is "usb", not "usb_device", so all the camera rules are ignored. Changing in the above file "usb_device" to "usb" gets the permissions correct and the camera is working again.
I don't know if this is a kernel problem or a libgphoto2 one, i.e. which is the correct value of the subsystem. I am using libgphoto2-2.4.0-2 and udev-116-2 from Arch repositories and a self-compiled vanilla 2.6.23.1 kernel. The problem appeared after libgphoto update (2.3.1-3 -> 2.4.0-2) about a week ago.
In about 10% of tries the camera can be accessed, but 90% fail.
With libgphoto2 2.3.1.3 there hadn't been a problem.
Or is the fix in a later version than 2.4.0-4?
Can the maintainer of libgphoto2 please look at the patches applied by debian? It seems to me that some are necessary to get a Canon camera to work with version 2.4.0 of libgphoto2. Thanks!
Debian changelog: http://packages.debian.org/changelogs/pool/main/libg/libgphoto2/current/changelog
Unfortunately, in my case it seems that the permissions are correct, i have root:camera with 660 on /dev/bus/usb/003/006.
My /etc/udev/rules.d/54-gphoto.rules has both entries =="usb" AND =="usb_device"
version 2.4.0-5
Now it works for me, I can access my Canon camera again.
FS#8750andFS#10685are related to this one.- and one remark: I can't find an arch package 2.4.1, not even in testing repository.
but now I can't access my Fuji Coolpix 5600 (USB PTP class camera in digikam).