Hi,

When making a VIDIOC_QUERYCTRL ioctl( ) call on a UVC video capture
device (USB camera), occasionally I get an Input/Output error
(errno=5, EIO). However, it is not defined as a possible returned
error either in the VIDIOC_QUERYCTRL docs here

https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/vidioc-queryctrl.html

, nor as a generic error for ioctl( ) calls or for v4l2 calls. After
digging in the code, it looks that this ioctl( ) eventually makes a
USB request and calls usb_start_wait_urb( ), which, I guess, is what
ends up returning EIO if something goes wrong.

So my question is, shouldn't this be documented in the link above? At
least for the UVC case?

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to