Hi Laurent, It works ! I had troubles to recompile uvc trunk against my kernel (a bit too old !), but with the archives you provide, it is ok.
Thank you very much ! However, I have a couple of questions :-) : * Did you recently modified the way you treat the frame descriptor ? (as the webcam worked with old versions of uvc) * I assume that this workaround will not be integrated in the trunk, which means that I'll have to apply the patch for every kernel update (not really a problem). But I was wondering if you often modify uvc_driver.c ? (to have an expected lifetime of the patch, and so how often I will have to bother you ;-) (only if I cannot modify the source by myself!) ) Thanks a lot, Gregory Le jeudi 30 avril 2009 17:26:13, Laurent Pinchart a écrit : > Hi Gregory, > > On Thursday 30 April 2009 08:00:03 Gregory LEGRAIN wrote: > > Hi Laurent, > > it seems that my previous mail was buried under tons of other mails > > during your holidays :-) > > Seems my attempt to escape from your attention didn't went unnoticed :-) > > > You asked me to set the trace parameter to 255 when loading the driver. I > > did it, and attached the output with this mail. > > Thanks. I see what's wrong. Your device is not UVC compliant :-S > > There's a small error in the UVC descriptors that prevent the driver from > detecting the device correctly. The uncompressed frame descriptors should > be numbered from 1 to 7, but they are instead numbered from 1 to 8 with > number 7 missing. > > According to the UVC specification, the bFrameIndex field "selects the > video frame resolution from the array of resolutions supported by the > selected stream. The index value ranges from 1 to the number of Frame > descriptors following a particular Format descriptor." The device is thus > not UVC compliant. > > Here's a patch that should fix the issue. It hasn't been stress-tested, so > it might crash your kernel. Please let me know if it helps. > > Best regards, > > Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
