Re: [Linux-uvc-devel] [SVN] Made kernel logging more modular
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Laurent P. <lau...@sk...> - 2006-01-31 10:19:50
|
> Is it possible to add a new trace to be able to see the resolution
> supported by the webcam. Sometimes the YUYV format is not reported because
> i've a mouse on the same usb bus, or i don't remember the resolution.
> Why not return -ENOBUFS when the queue is empty (when dequeing frame) ?
> Please see the path attached.
(From the V4L2 specs, VIDIOC_DQBUF)
EINVAL
The buffer type is not supported, or the index is out of bounds, or no
buffers have been allocated yet, or the userptr or length are invalid.
That's why :-)
I'll add the supported resolutions to the UVC_TRACE_DESCR trace. You can also
use lsusb to read the USB descriptors directly.
Laurent Pinchart
|