Hello Laurent

    I replied to your last email but it 'mailman' is holding
    it because it is far too big. Just to give you an update
    on something that I realized:

 > What bothers me in the trace is
 >
 > May 28 10:53:28 lapsystemx kernel: uvcvideo: Dropping payload (out of sync).
 > May 28 10:53:59 lapsystemx last message repeated 30784 times
 > May 28 10:55:00 lapsystemx last message repeated 60992 times
 > May 28 10:55:24 lapsystemx last message repeated 24351 times
 >
 > The "out of sync" message means that the device didn't toggle the FID bit.
 > Quirk 0x10 is supposed to work around that by ignoring the FID bit.

in the following bit of code from

      static void uvc_video_decode_end(...

    if (data[1] & UVC_STREAM_EOF && buf->buf.bytesused != 0)
                  -------------
    {
          uvc_trace(UVC_TRACE_FRAME, "Frame complete (EOF found).\n");
          if (data[0] == len)
              uvc_trace(UVC_TRACE_FRAME, "EOF in empty payload.\n");
          buf->state = UVC_BUF_STATE_DONE;
          if (video->dev->quirks & UVC_QUIRK_STREAM_NO_FID)
      video->last_fid ^= UVC_STREAM_FID;
    }

last_fid is toggled ->only<- if the appropriate bit of data[1] is
set (UVC_STREAM_EOF) which will never happen since UVC_STREAM_EOF
is always zero (on the crystal eye webcam).

Bruce
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to