Bug 240111

Summary: USB Camera Won't Connect Properly
Product: [openSUSE] openSUSE 10.2 Reporter: Allen Cuda <ducalen>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: ducalen, meissner, rashan
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output from hwinfo
Output from /usr/sbin/hal-resmgr (note errors)

Description Allen Cuda 2007-01-30 02:45:27 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 :-)
Comment 1 Allen Cuda 2007-01-30 02:46:52 UTC
Created attachment 116043 [details]
Output from hwinfo
Comment 2 Allen Cuda 2007-01-30 02:47:29 UTC
Created attachment 116044 [details]
Output from /usr/sbin/hal-resmgr (note errors)
Comment 3 Marcus Meissner 2007-01-30 07:46:30 UTC
this looks like a permission problem.

have you installed all online updates?
Comment 4 Allen Cuda 2007-01-30 13:33:05 UTC
Yes, all updates installed. I noticed there were a few hal/resmgr patches but there was no difference after they were installed.
Comment 5 Forgotten User QFh0D9oMPg 2007-04-10 09:28:20 UTC
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.
Comment 6 Allen Cuda 2007-04-11 00:55:33 UTC
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.
Comment 7 Andrew hagan 2007-04-12 01:51:11 UTC
also happens with a canon S3 IS camera, similar errors in hal-resmgr as Allen's
Comment 8 Dirk Mueller 2007-04-18 16:18:31 UTC
i have the same issue. it goes away if I use the kernel-debug package. does that work for you as well?
Comment 9 Allen Cuda 2007-04-19 12:56:08 UTC
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.
Comment 10 Dirk Mueller 2007-04-23 17:27:00 UTC
you were using kernel debug from 10.2? or factory?
Comment 11 Allen Cuda 2007-04-23 19:58:00 UTC
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.
Comment 12 Dirk Mueller 2007-04-26 13:59:10 UTC
Oliver? any idea?
Comment 13 Oliver Neukum 2007-05-02 07:32:05 UTC
Apart from trying Kay's patch from #250659 I have no ideas. Sorry.
Comment 14 Dirk Mueller 2007-05-02 08:52:18 UTC
this sounds related. lets see if the fix for 250659 helps here as well. 
Comment 15 Dirk Mueller 2007-09-20 16:04:41 UTC
is the bug still there for you after bug 250659 is fixed?
Comment 16 Allen Cuda 2007-09-22 17:58:04 UTC
I tested my camera in opensuse 10.3 RC1 and it works fine.
Comment 17 Dirk Mueller 2007-09-24 09:25:09 UTC
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 ***