Le Jeudi 11 Janvier 2007 04:21, Martin Rubli a écrit :
> Michel,
>
> On Wed, 10 Jan 2007 01:49:31 -0800, Michel Xhaard <[EMAIL PROTECTED]> wrote:
> >> > Seem strange that we cannot change the exposure in manuel
> >> > mode ?
> >>
> >> There should be a control to set the absolute exposure time ...
> >>
> >> > Is there a way to set/reset the autowhite balance too ? a lot of
> >> > robotic project need these features
> >>
> >> ... and one for white balance temperature. I'll double check tomorrow on
> >> my Linux machine but those are standard UVC controls that our cameras
> >> support.
> >
> > I have try to used it (look at the last luvcview release) but that did
> > not work on my orbit. luvcview use the same code for all control, each
> > control can be up or down from the v4l2 step parameter luvcview test if
> > we are
> > between min and max and then apply the needed change. For some strange
> > reason exposure and white balance always return a value outside the
> > range ? maybe i am wrong here, but i don't see the reason :( Help are
> > welcome !!
>
> I've just tested it and both controls work for me. Here's what they look
> like on my Fusion (2006 model):
i have tested only with the orbit (a old one from 2005 :))
>
> Listing available controls for device video0:
> White Balance Temperature
> ID : 8,
> Type : Dword,
> Flags : { CAN_READ, CAN_WRITE, IS_CUSTOM },
> Values : [ 0 .. 10000, step size: 10 ],
> Default : 4000
> White Balance Temperature, Auto
> ID : 9,
> Type : Boolean,
> Flags : { CAN_READ, CAN_WRITE, IS_CUSTOM },
> Values : [ 0 .. 9984, step size: 0 ],
> Default : 1
> Exposure (Absolute)
> ID : 17,
> Type : Dword,
> Flags : { CAN_READ, CAN_WRITE, IS_CUSTOM },
> Values : [ 0 .. 9984, step size: 0 ],
> Default : 0
> Auto-exposure mode
> ID : 15,
> Type : Choice,
> Flags : { CAN_READ, CAN_WRITE },
> Values : { 'Manual'[1], 'Aperture priority'[8] },
> Default : 8
> [...]
>
> The zero step size for the absolute exposure time is obviously wrong. I
> don't currently have my USB analyzer to check what's going on there. Also,
> I get errors when I try to read these controls. This seems to be why the
> controls don't work in luvcview.
Yes luvcview used the step value.
>
> Apart from that everything seems okay. Both controls, white balance and
> exposure time, do what they should in my test application. I'll post an
> update as soon as I find out what's going on there.
Thanks, i will double check with another webcam.
>
> Cheers,
> Martin
>
> _______________________________________________
> Linux-uvc-devel mailing list
> Linux-uvc-devel@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Cheers,
--
Michel Xhaard
http://mxhaard.free.fr
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel