Hi Tharindu,
On Friday 19 October 2007 10:42, Tharindu Rukshan Bamunuarachchi wrote:
> Dear Laurent/All,
>
> l have tried luvcview. Unfortunately I got "divide error" in DMESG.
> I am using preempt kernel in x86_64.
Could you please apply the attached patch and try again ? The driver will
still crash, but it should print additional information in the kernel log
that will help me to diagnose the problem.
Best regards,
Laurent Pinchart
Index: uvc_video.c
===================================================================
--- uvc_video.c (revision 137)
+++ uvc_video.c (working copy)
@@ -794,6 +794,9 @@
if ((ret = usb_set_interface(video->dev->udev, intfnum, i)) < 0)
return ret;
+ uvc_printk(KERN_INFO, "Selected altsetting %u, "
+ "wMaxPacketSize is 0x%04x\n", i,
+ le16_to_cpu(ep->desc.wMaxPacketSize));
return uvc_init_video_isoc(video, ep);
} else {
/* Bulk endpoint, proceed to URB initialization. */
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel