From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48391 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167Ab1HLHPH (ORCPT ); Fri, 12 Aug 2011 03:15:07 -0400 Message-ID: <4E44D330.2040702@redhat.com> Date: Fri, 12 Aug 2011 09:16:00 +0200 From: Hans de Goede MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: Theodore Kilgore , Alan Stern , Alan Cox , Sarah Sharp , Greg KH , linux-usb@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, libusb-devel@lists.sourceforge.net, Alexander Graf , Gerd Hoffmann , hector@marcansoft.com, Jan Kiszka , Stefan Hajnoczi , pbonzini@redhat.com, Anthony Liguori , Jes Sorensen , Oliver Neukum , Felipe Balbi , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Laurent Pinchart , Adam Baker Subject: Re: USB mini-summit at LinuxCon Vancouver References: <4E443C6E.8040808@infradead.org> In-Reply-To: <4E443C6E.8040808@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi, On 08/11/2011 10:32 PM, Mauro Carvalho Chehab wrote: > 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