Hi Natalia,

On Friday 04 June 2010 16:53:56 Natalia Portillo wrote:
> Hi,
> 
> I'm programming an emulated UVC webcam in QEMU and I've found a little
> problem.

Nice project ! Please let me know how it works out.

> While I'm trying to send a bulk payload made from a JPEG sized 5809
> bytes, uvcvideo never detects the payload ends and continue asking
> frames until buffer (~53KiB) overflows.
> 
> I attach the code snippet that generates the payload (code is under
> GLPv2) as snippet.c

Shouldn't

        p->data[1] = 0x82 & frame_id;

be

        p->data[1] = 0x82 | frame_id;

?

> Trace from uvcvideo as dmesg.txt
> 
> Crash of uvccapture as uvccapture.txt
> 
> I've checked the specifications and I'm unable to find what I'm doing
> wrong or how should be done the payload to get it working.
> 
> Any help will be thanked.

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to