Hi Daniel,

sorry for the late reply. I've been quite busy getting the driver in shape for 
submission to the kernel.

On Tuesday 22 April 2008, Daniel CABRERA wrote:
> Laurent,
>
> I tested the latest uvcvideo driver (SVN 200) in my laptop(Ubuntu 7.10
> kernel 2.6.22-14) and in a PC running (RH Enterprise with kernel
> 2.6.20)
> I have the same behavior error -84 after running either Skype or
> luvcview. Looks to me that is the same failure mode.
>
>
> I this is a crappy webcaqm for sure windows driver is hides this bug.
>
> If you can have a patch ready I will be MORE THAN HAPPY to tested :) .
>
> Please let me know if you need further info.
> Thx

Could you please test the attached patch ? It will still print an error 
message to the kernel log, but it will retry the URB. Depending on how the 
device reacts, you might get tons of retries after the first error which will 
flood your kernel log and slow down your computer. Nothing unusual :-)

Best regards,

Laurent Pinchart
Index: uvc_video.c
===================================================================
--- uvc_video.c	(revision 205)
+++ uvc_video.c	(working copy)
@@ -521,6 +521,14 @@
 	case 0:
 		break;
 
+	case -EILSEQ:
+		uvc_printk(KERN_WARNING, "Non-zero status (%d) in video "
+			"completion handler, retrying.\n", urb->status);
+		if ((ret = usb_submit_urb(urb, GFP_ATOMIC)) < 0)
+			uvc_printk(KERN_ERR, "Failed to resubmit video URB "
+				"(%d).\n", ret);
+		return;
+
 	default:
 		uvc_printk(KERN_WARNING, "Non-zero status (%d) in video "
 			"completion handler.\n", urb->status);
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to