On Sat, 15 Mar 2008 13:43:32 +0100
"Dr. Alexander K. Seewald" <[EMAIL PROTECTED]> wrote:
> Hi Daniel,
Hi Dr. ;) Thanks for the answer.
> 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.
I tried this, but there's a compilation issue:
[EMAIL PROTECTED] ~/src/libwebcam-0.1.1/build$ make
Scanning dependencies of target webcam
[ 16%] [ 33%] Building C object Libs/libwebcam/CMakeFiles/webcam.dir/libwebcam.o
Building C object Libs/libwebcam/CMakeFiles/webcam.dir/dynctrl.o
/home/fraga/src/libwebcam-0.1.1/Libs/libwebcam/libwebcam.c: In function
'get_control_id_from_v4l2':
/home/fraga/src/libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error:
'V4L2_CID_PANTILT_RESET' undeclared (first use in this function)
/home/fraga/src/libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: (Each
undeclared identifier is reported only once
/home/fraga/src/libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: for
each function it appears in.)
/home/fraga/src/libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1688: error:
'V4L2_CID_WHITE_BALANCE_TEMPERATURE_AUTO' undeclared (first use in this
function)
make[2]: *** [Libs/libwebcam/CMakeFiles/webcam.dir/libwebcam.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Libs/libwebcam/CMakeFiles/webcam.dir/all] Error 2
make: *** [all] Error 2
Is there any hint?
> 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.
Thank you very much.
--
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel