Re: [Linux-uvc-devel] [SVN] Added preliminary pan/tilt support for Quickcam Orbit MP
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Laurent P. <lau...@sk...> - 2006-02-07 13:36:39
|
> Feb 7 13:16:26 linux kernel: usbcore: deregistering driver usbvideo
> Feb 7 13:16:33 linux kernel: uvcvideo: Found UVC 1.00 device <unnamed>
> (046d:08c2)
> Feb 7 13:16:33 linux kernel: usbcore: registered new driver usbvideo
> Feb 7 13:16:33 linux kernel: USB Video Class driver (v0.1.0)
> Feb 7 13:16:57 linux kernel: uvcvideo: Failed to query (132) UVC control 1
> (unit 9) : 1.
> Feb 7 13:16:57 linux syslog-ng[3019]: STATS: dropped 0
> Feb 7 13:17:00 linux kernel: uvcvideo: Failed to query (132) UVC control 1
> (unit 9) : 1.
Are you sure you're not having trouble with querying
V4L2_CID_PANTILT_RELATIVE ? The failure in the kernel log seems to indicate
that you're querying V4L2_CID_PANTILT_RELATIVE twice.
Anyway, the following patch might help.
Laurent Pinchart
Index: uvcvideo.c
===================================================================
--- uvcvideo.c (revision 18)
+++ uvcvideo.c (working copy)
@@ -477,8 +477,7 @@
.type = V4L2_CTRL_TYPE_INTEGER,
.unit = UVC_GUID_LOGITECH_MOTOR,
.flags = UVC_CONTROL_SET_CUR | UVC_CONTROL_GET_MIN
- | UVC_CONTROL_GET_MAX | UVC_CONTROL_GET_RES
- | UVC_CONTROL_GET_DEF,
+ | UVC_CONTROL_GET_MAX | UVC_CONTROL_GET_DEF,
},
{
.v4l2 = V4L2_CID_PANTILT_RESET,
|