uvcvideo prints lots of "unknown event"
A message that is not in the archive (sent off-list or not yet received): 1229889214.3050.8.camel@johannes
Hi Johannes,
Quoted 12 lines · Johannes Berg
On my new macbook (unibody):
[ 2309.876354] uvcvideo: unknown event type 128. [ 2310.080360] uvcvideo: unknown event type 128. [ 2310.280361] uvcvideo: unknown event type 86. [ 2310.480362] uvcvideo: unknown event type 86. [ 2310.680360] uvcvideo: unknown event type 42. [ 2310.884357] uvcvideo: unknown event type 86. [ 2311.084355] uvcvideo: unknown event type 86. [ 2311.288227] uvcvideo: unknown event type 86. [ 2311.484355] uvcvideo: unknown event type 170.
Quoted 1 line
And lots of them, as long as the camera is active. 2.6.28-rc8.
Could you please try the attached patched ?
Best regards,
Laurent Pinchart
linux/drivers/media/video/uvc/uvc_driver.c +7 -2
@@ -1147,8 +1147,13 @@ buffer += buffer[0 ]; } -/* Check if the optional status endpoint is present. */ -if (alts->desc.bNumEndpoints ==1 ) { +/* Check if the optional status endpoint is present. Built-in iSight +* webcams have an interrupt endpoint but spit proprietary data that +* don't conform to the UVC status endpoint messages. Don't try to +* handle the interrupt endpoint for those cameras. +*/ +if (alts->desc.bNumEndpoints ==1 && + !(dev->quirks &UVC_QUIRK_BUILTIN_ISIGHT )) {struct usb_host_endpoint *ep = &alts->endpoint[0 ];struct usb_endpoint_descriptor *desc = &ep->desc;
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
A message that is not in the archive (sent off-list or not yet received): 569cef5eecd374b8343a566c1e65a4a3@localhost
Hi Johannes,
Quoted 7 lines · Johannes Berg
On Mon, 22 Dec 2008 10:50:56 +0100, Laurent Pinchart
Quoted 1 line · <[email protected]> wrote:
Could you please try the attached patched ?
Ok, that looks like it'll fix it (not tested yet), do you think there would be any value in reverse engineering the proprietary status protocol?
That's hard to tell, as I have no idea what the camera outputs :-)
Quoted 2 lines
Should be fairly simple, if you think it has some useful information I'll take a look.
If you have time to take a look please do. I'm quite curious to know what the interrupt endpoint is used for. Whether or not the UVC driver will use the data will obviously depend on their usefulness.
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
A message that is not in the archive (sent off-list or not yet received): 1232046155.5839.50.camel@johannes
Hi Johannes,
Quoted 4 lines · Johannes Berg
Quoted 1 line · Laurent Pinchart
Could you please try the attached patched ?
Were you planning to get this patch into the kernel?
The patch has been integrated into 2.6.29-rc1.
Quoted 1 line
It doesn't seem to apply any more to 2.6.29-rc1, but at the same time it now
prints the messages again.
Can you double check that you're really running 2.6.29-rc1 and that the driver source includes the patch ?
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list