[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110812111112.722cce3a@lxorguk.ukuu.org.uk>
Date: Fri, 12 Aug 2011 11:11:12 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Mauro Carvalho Chehab <mchehab@...radead.org>
Cc: Theodore Kilgore <kilgota@...ach.math.auburn.edu>,
Alan Stern <stern@...land.harvard.edu>,
Hans de Goede <hdegoede@...hat.com>,
Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
Greg KH <greg@...ah.com>, linux-usb@...r.kernel.org,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
libusb-devel@...ts.sourceforge.net, Alexander Graf <agraf@...e.de>,
Gerd Hoffmann <kraxel@...hat.com>, hector@...cansoft.com,
Jan Kiszka <jan.kiszka@...mens.com>,
Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>,
pbonzini@...hat.com, Anthony Liguori <aliguori@...ibm.com>,
Jes Sorensen <Jes.Sorensen@...hat.com>,
Oliver Neukum <oliver@...kum.org>, Felipe Balbi <balbi@...com>,
Clemens Ladisch <clemens@...isch.de>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Adam Baker <linux@...er-net.org.uk>
Subject: Re: USB mini-summit at LinuxCon Vancouver
> 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().
How will you handle the permission model, what about devices where you
need the V4L2 controls to take the picture in the first place ?
It seems it should really be the same device and just a minor tweak to
the API. V4L2 already provides frame reading and mapping functionality
and the media layer provides post processing services which I could
conceive some setups needing to use.
gphoto would just open the v4l device ask for still image stuff and
discover it wasn't available.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists