Bugzilla – Bug 272397
USB reading of Canon IXUS fails on kernel vmlinuz-2.6.21-rc5-git13-2-default
Last modified: 2007-05-09 09:43:32 UTC
Attempt to connect my Canon IXUS 800IS to Digikam via USB fails on kernel vmlinuz-2.6.21-rc5-git13-2-default. The kernel apparently detects the USB connection since the correct model name is listed, but Digikam cannot connect. Under kernel vmlinuz-2.6.18.8-0.3-bigsmp and a number of previous kernels I have never had any problems. After failure on vmlinuz-2.6.21-rc5-git13-2-default, I reboot into vmlinuz-2.6.18.8-0.3-bigsmp and it works.
what is the exact error message? can you check gphoto2 --auto-detect and gphoto2 -L ? Note that the newer kernel have permission problems and the camera might have stopped working as non-root due to this.
The error message is displayed in a Digikam dialog box and reads: Failed to connect to the camera. Please make sure it is connected properly and turned on. Would you like to try again? I don't have gphoto2 loaded, and prefer not to load it to keep the GNOME stuff to a minimum. Permission could be the problem. This an ls -l of the file on the git kernel: crw-r--r-- 1 root root 189, 514 2007-05-09 10:47 /dev/bus/usb/005/003 Digikam or one of its KDE parts has the above file open. I would suspect that it needs write permission, which it does not have, to be able to query the USB device. On the 2.6.18.8-0.3-bigsmp kernel, where there is no problem, the file is: crw-rw-r--+ 1 root root 189, 2 2007-05-09 11:01 /dev/bus/usb/001/003 In any case, this is not creating a problem for me because I have backed up to the 2.6.18.8-0.3-bigsmp kernel, where the problem does not exist.
this is the permission problem. note the "+" which means "ACL set". getfacl /dev/bus/usb/001/003 would have shown that your user has access permissions. also "gphoto" is not GNOME related (it was in earlier times, but no longer is). It is justa commandline tool now. => the bug is a duplicate of 250659. *** This bug has been marked as a duplicate of bug 250659 ***
Yes, you are correct. Here is the output of the getfacl getfacl /dev/bus/usb/001/004 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/004 # owner: root # group: root user::rw- user:kern:rw- group::r-- mask::rw- other::r--