Re: USB mini-summit at LinuxCon Vancouver

From: Hans de Goede
Date: Fri Aug 12 2011 - 03:15:14 EST


Hi,

On 08/11/2011 10:32 PM, Mauro Carvalho Chehab wrote:

<snip stuff I agree with>

instead of using the V4L2 device node to access the stored images, it probably makes
more sense to use a separate device for that, that will handle a separate set of
ioctl's, and just use read() to retrieve the image data, after selecting the desired
image number, via ioctl().

I don't see a lot of added value in doing things this way. We can simply
have a set of new ioctls on the /dev/video# node for this and a new
V4L2_CAP_STILL_IMAGE to indicate the availability of these ioctls. This will keep
the driver a lot simpler then doing 2 separate device nodes for 1 device.

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/