Hi Daniel,

IMHO the 0.2.1 luvcview version does not support dynamic controls,
which the newest linux-uvc driver version provides. That is the
reason for the querycontrol 22 errors.

Please download libwebcam from ...
http://www.quickcamteam.net/software/libwebcam
... and set the controls via uvcdynctrl manually. The controls will
retain the same setting as long as the cam is plugged in and will
then revert to default settings. So, setting the controls, then
testing if it works via luvcview should work. I tested the software
autofocus in a similar setting.

Also, if you need this in your own application, take a look at my
autofocus code at http://projects.seewald.at .... it shows how to
work with both old driver (static controls) and new driver (dynamic
controls), setting up the focus control on-the-fly if necessary, but
using a preconfigured control (by uvcdynctrl) as well.

Best,
  Alex
-- 
Dr. Alexander K. Seewald

Seewald Solutions
www.seewald.at
Tel. +43(664)1106886
Fax. +43(1)2533033/2764
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to