Re: [omap3camera] How does a lens subdevice get powered up?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sergio,

On Thursday 26 August 2010 16:54:37 Aguirre, Sergio wrote:
> On Thursday, August 26, 2010 2:31 AM Laurent Pinchart wrote:
> > On Wednesday 25 August 2010 22:15:36 Aguirre, Sergio wrote:
> > > 
> > > I see that usually a sensor is powered up on attempting a
> > > VIDIOC_STREAMON at the capture endpoint of the pipeline, in which the
> > > sensor is linked.
> > > 
> > > Now, what I don't understand quite well is, the Lens driver is a
> > > separate subdevice, BUT it's obviously not linked to the sensor, nor the
> > > pipeline.
> > >
> > > How would the lens driver know when to power up?
> > 
> > At the moment a userspace application needs to keep the lens subdev open
> > to power-up the lens controller.
> 
> I see... So in that case, does it make sense to consider it as a media
> entity?
> 
> I mean, there's no link, nor pad operations involved, so it doesn't really
> add any value...
> 
> What do you think?

Even if not part of the image pipeline, the lens controller is still part of 
the media device. I think it makes sense to expose it as an entity and a V4L2 
subdevice.

-- 
Regards,

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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux