FS#8750 - Can't access camera - libgphoto2 2.4.0-4
Attached to Project:
Arch Linux
Opened by slackhack (slackhack) - Friday, 23 November 2007, 23:11 GMT
Last edited by Greg (dolby) - Tuesday, 15 July 2008, 03:13 GMT
Opened by slackhack (slackhack) - Friday, 23 November 2007, 23:11 GMT
Last edited by Greg (dolby) - Tuesday, 15 July 2008, 03:13 GMT
|
Details
Description: canon A75 can't be accessed with user or root.
launching gtkam as user gives this error: Could not list folders in /. then when selecting camera, this: An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such device). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. launching gtkam as root gives this terminal error: (gtkam:23855): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. problem exists both on desktop and laptop machine. Just checked dmesg on both, both show "cpu soft lockup" message, see attached file. Additional info: * package version(s) - 2.4.0-4 * config and/or log files etc. - see attached |
This task depends upon
The problem with soft-lockup is not related; see the bug #8721
This is the error message:
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted).
Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
it seems that with the new tpowa's kernel (2.6.23.8-2), that fixed the bug #8721 (soft lookup),
I can download the images from my Canon Powershot A75 with gthumb without problem.
with the new kernel I can download the photos from my camera without problem.
Make sure your user belongs to camera group.
1. No udev rule for a specific camera (Fuji Finepix S5700 in this case), which results in a 'Could not claim the USB device' error because permissions for the device are not then set correctly.
2. The udev rule for this camera not working unless it is added to the end of the list of rules in /etc/udev/rules.d/54-gphoto.rules.
Point 1 was easy to solve with a new udev rule for the camera. The fix for point 2, i.e. to get a rule to work regardless of where it is placed in 54-gphoto.rules, was to change line 756 to point to the actual location of the check-ptp-camera script and use the actual file name. The change was from
PROGRAM="check-ptp-camera 06/01/01", MODE="0660", GROUP="camera"
to
PROGRAM="/lib/udev/check-ptp-camera", MODE="0660", GROUP="camera"
after the last kernel upgrade I have again this problem (I can't download images from my camera)
I've made the changes in 54-gphoto.rules but it doesn't solve the problem.
I use gthumb, but I tried also with gphoto2 command in console with the same result.
The change of line 756 to point to the actual location of the check-ptp-camera script and use the actual file name in 54-gphoto.rules did the trick. The change was from
PROGRAM="check-ptp-camera 06/01/01", MODE="0660", GROUP="camera"
to
PROGRAM="/lib/udev/check-ptp-camera", MODE="0660", GROUP="camera"
SOLVED for my concerns.
It does not require much change: version number and the patches moved a bit.