Bugzilla – Bug 240111
USB Camera Won't Connect Properly
Last modified: 2007-09-24 09:25:09 UTC
When I plug in my USB camera, KDE immediately detects it and brings up the media detection dialog. Regardless of the option chosen (open in new window, browse in gwenview, or open in digikam), the chosen application opens, waits and waits (and waits) but is never able to connect to the camera, and ultimately times-out with no connection made. In the case of manually typing media:/camera in konqueror, KDE eventually responds with an error message "Could not read file Could not lock the device." The corresponding entries in .xession-errors are: kio (KIOConnection): ERROR: Could not write data kio (KIOConnection): ERROR: Could not write data The camera is a Canon A430. The corresponding entry in /usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi is "Canon PowerShot A430 (PTP mode)" Interestingly, HAL seems to do a bottom-up search of this file and chooses the more generic "USB PTP Class Camera" located near the bottom of said file. Simply removing the generic entry results in HAL correctly detecting the camera as a Canon A430. Digikam doesn't have this problem and correctly identifies the camera when requested to auto-detect it, although it cannot download from the camera. See attached output from hwinfo and hal-resmgr (note error messages in hal-resmgr output). For now I'll use a live-CD to download my pics :-)
Created attachment 116043 [details] Output from hwinfo
Created attachment 116044 [details] Output from /usr/sbin/hal-resmgr (note errors)
this looks like a permission problem. have you installed all online updates?
Yes, all updates installed. I noticed there were a few hal/resmgr patches but there was no difference after they were installed.
Is this problem still open? I have a very similar problem with a Canon Digital Ixus 70, which seems to be unaccessible because of permission problems.
I'm having the same problem with 10.3 Alpha2. I noticed a similar bug for 10.3: https://bugzilla.novell.com/show_bug.cgi?id=250659 BTW, I noticed this it says bug is a KDE component. I get the same issue with gnome or commandline.
also happens with a canon S3 IS camera, similar errors in hal-resmgr as Allen's
i have the same issue. it goes away if I use the kernel-debug package. does that work for you as well?
I installed the kernel-debug package and booted into it, tried connecting the camera, and it exhibited the same behaviour as the default kernel. Same error messages from /usr/sbin/hal-resmgr as well.
you were using kernel debug from 10.2? or factory?
Sorry, the debug kernel I tried was from 10.2 (2.6.18.2-34-debug). I just finished trying the latest debug kernel for 10.3 Alpha3 (2.6.21-rc7-3-debug) and had the same error messages from /usr/sbin/hal-resmgr --list-all. All latest factory packages installed.
Oliver? any idea?
Apart from trying Kay's patch from #250659 I have no ideas. Sorry.
this sounds related. lets see if the fix for 250659 helps here as well.
is the bug still there for you after bug 250659 is fixed?
I tested my camera in opensuse 10.3 RC1 and it works fine.
Many thanks for testing. I don't have a problem currently either, so I'm resolving it as duplicate of bug 250659. *** This bug has been marked as a duplicate of bug 250659 ***