please ignore the below post.
it seems i had an old debian package of luvcview on board this system i
didn't remember installing.. using a freshly compiled luvcview and the
latest uvcvideo module fixes the aforementioned problems.
frame rate is excellent again.
thanks for your time.
julian
..on or around Sun, Jan 13, 2008 at 11:56:04PM +0100, Laurent Pinchart said:
> Hi Julian,
>
> On Sunday 13 January 2008, Julian Oliver wrote:
> > hi list,
> >
> > while i'm very happy with the Quickcam Pro 9000 on the current (checked
> > out yesterday) uvcvideo driver, i'm a little disappointed with the frame
> > rate: luvcview never reports a higher rate than 15fps for this device,
> > regardless of capture size: 320x240 is as slow as 960x720.
> >
> > also, on the current version i can't seem to set the autoexposure to off
> > using the luvcvideo interface. previously i was using uvcdynctrl from
> > Logitech's own libwebcam, but now that reports an error:
> >
> > $./uvcdynctrl --clist
> > [libwebcam] Unable to refresh device list. (error 12: A Video4Linux2 API
> > call returned an unexpected error)
>
> uvcdynctrl isn't needed to control auto-exposure. It shouldn't fail though.
>
> If you used an old version of the UVC driver, control identifiers might have
> changed. Recompiling luvcview might help.
i took your advice and compiled luvcview-20070512 (the latest i could
find) against yesterday's uvcvideo trunk, but still have no luck turning
off auto-exposure. i see the stdout:
Auto Exposure set to 1
Auto Exposure set to 8
when clicking the On/Off buttons accordingly, but the settings are not applied.
in half-light this means the camera will pass about 5 frames a second over USB.
looking at the luvcvideo source i see a case definition for that particular
button event:
case A_EXPOSURE_OFF:
control.id =V4L2_CID_EXPOSURE_AUTO;
control.value =8;
if ((value = ioctl(videoIn->fd, VIDIOC_S_CTRL, &control)) < 0)
printf("Set Auto Exposure off error\n");
else
printf("Auto Exposure set to %d \n", control.value);
break;
it seems the control value is being changed but strangely not set by the ioctl
call.
in the source i see definition for a switch so that i load settings from a
'luvcview.cfg'. is this actually supposed to work? if so, is there an example
cfg around for me to look at?
cheers,
--
http://julianoliver.com
http://selectparks.net
messages containing HTML will not be read.
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel