Le Vendredi 2 Février 2007 02:24, Martin Rubli a écrit :
> Hi Michel,
>
> On Thu, 11 Jan 2007 00:07:46 -0800, Michel Xhaard <[EMAIL PROTECTED]> wrote:
> >> 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.
>
> I found the problem in the driver. 
Cool, thanks :)
> There is a bug in the uvc_get_le_value 
> function, which leads to wrong values when reading 32-bit wide controls. I
> have a patch and I'll submit it to Laurent. The control now looks as
> follows:
>
>    Exposure (Absolute)
>      ID      : 17,
>      Type    : Dword,
>      Flags   : { CAN_READ, CAN_WRITE, IS_CUSTOM },
>      Values  : [ 1 .. 10000, step size: 1 ],
>      Default : 166
>
> >> Also, I get errors when I try to read these controls. This seems to be
> >> why the
> >> controls don't work in luvcview.
>
> Another bug in the control definition in the UVC driver. Certain controls
> were accidentally marked as write-only, which explains the error. It's
> part of the patch that I mentioned, it should be fixed soon in the
> repository.
>
> > Yes luvcview used the step value.
>
> We'll post a message to the list as soon as the patch is committed. It
> would be great if you could retest it ...
No problem
>
> Cheers,
> Martin
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Cheers
-- 
Michel Xhaard
http://mxhaard.free.fr
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to