Hi Les, On Tuesday 20 May 2008, Les Smithson wrote: > On Tue, 2008-05-20 at 17:54 +0200, Laurent Pinchart wrote: > > Hi Les, > > > > On Friday 16 May 2008, Les Smithson wrote: > > > > Here you are. I'm going to be on vacation for a bit so I probably > > > > won't be able to help you debug this for the next week and a half. > > > > > > Can I help with this? I have the same eMPIA/eeepc setup and I'd be > > > willing to pitch in. > > > > Could you please try the patch I've just sent to the list ? > > > > Best regards, > > > > Laurent Pinchart > > I think I spoke too soon. I pointed the eeepc out of my window and I get > lots of bad frames (see attached). They seem to be associated with these > messages: > > [ 7815.340000] uvcvideo: Dropping payload (error bit set). > [ 7815.350000] uvcvideo: uvc_v4l2_ioctl > [ 7815.350000] v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f) > [ 7815.350000] uvcvideo: Queuing buffer 1. > [ 7815.350000] uvcvideo: uvc_v4l2_ioctl > [ 7815.350000] v4l2 ioctl VIDIOC_DQBUF, dir=rw (0xc0445611) > [ 7815.350000] uvcvideo: Dequeuing buffer 2 (3, 153600 bytes). > [ 7815.350000] uvcvideo: Dropping payload (error bit set). > [ 7815.400000] uvcvideo: Frame complete (EOF found). > [ 7815.400000] uvcvideo: EOF in empty payload. > [ 7815.420000] uvcvideo: Dropping payload (error bit set). > [ 7815.430000] uvcvideo: Dropping payload (error bit set). > [ 7815.440000] uvcvideo: Dropping payload (error bit set). > [ 7815.450000] uvcvideo: Dropping payload (error bit set). > [ 7815.470000] uvcvideo: Dropping payload (error bit set). > [ 7815.470000] uvcvideo: Dropping payload (error bit set). > [ 7815.480000] uvcvideo: Dropping payload (error bit set). > [ 7815.500000] uvcvideo: Dropping payload (error bit set). > [ 7815.520000] uvcvideo: Dropping payload (error bit set). > [ 7815.530000] uvcvideo: Dropping payload (error bit set). > [ 7815.540000] uvcvideo: Dropping payload (error bit set). > [ 7815.550000] uvcvideo: Dropping payload (error bit set). > [ 7815.570000] uvcvideo: Dropping payload (error bit set). > [ 7815.580000] uvcvideo: Dropping payload (error bit set). > [ 7815.600000] uvcvideo: Dropping payload (error bit set). > [ 7815.600000] uvcvideo: Dropping payload (error bit set). > [ 7815.620000] uvcvideo: Dropping payload (error bit set). > [ 7815.630000] uvcvideo: Dropping payload (error bit set). > [ 7815.640000] uvcvideo: Dropping payload (error bit set). > [ 7815.650000] uvcvideo: Dropping payload (error bit set). > [ 7815.670000] uvcvideo: Dropping payload (error bit set). > [ 7815.670000] uvcvideo: Dropping payload (error bit set). > [ 7815.680000] uvcvideo: Dropping payload (error bit set). > [ 7815.700000] uvcvideo: Dropping payload (error bit set).
I'm not sure what to do here. The camera sets the error bit in the payload. The data packet is dropped, and the image buffer should be dropped as well. I don't know why corrupted images are received by the userspace application. If the camera silently sends erroneous data there's not much I can do. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
