Paulo, I checked the libwebcam code which I used to add/map the dynamic controls to my camera. I found that it will only map and add integer and boolean controls, but if you uncomment some lines (446 to 456), it will take menu, buttons and integer64 controls. I did just that, and managed to have Pan Reset and Tilt Reset mapped as buttons instead of integers. However, setting a value on there fails and "uvcvideo: Control 9/2 failure change len 6." is printed in syslog (I enabled tracing when I loaded uvcvideo). Looks like you are right, I don t know if the driver can do much about that (maybe Laurent can comment on that). GIlles
On Mon, Feb 9, 2009 at 11:42 AM, Paulo Assis <[email protected]> wrote: > Gilles, > > You are absolutely right on every point, except for one thing: > Pan/Tilt controls are extension controls, the driver just loads the > values passed by applications, in this case logitech defines these has > integers, unless the hardware accepts them as buttons or menu values > then there is not much it can be done, I think. The good (maybe bad) > thing is that so far only logitech cameras seem to support these > extension controls, so not much code changes have been needed until > now). > > PS: since today (10 minutes ago) svn head version of guvcview also > allows for a control only window (just committed the changes), I've > tested controlling the image in cheese and ekiga and it worked great, > just start with: > guvcview --control_only > > Best regards, > Paulo > _______________________________________________ > Linux-uvc-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel >
_______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
