Hi,

On Thursday 17 July 2008, martuf1 wrote:
> Hi,
> my notebook has a Syntek camera (174f:8a12),
> lsusb says it's an UVC Camera
>    iProduct                3 USB2.0 UVC PC Camera
> (please see attached file for the complete output of the command)
>
> It doesn't work; dmesg says:
>
> [ 8524.914397] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera
> (174f:8a12)
> [ 8524.936046] uvcvideo: Failed to query (135) UVC control 1 (unit 0) :
> -32 (exp. 26).
> [ 8525.170271] usbcore: registered new interface driver uvcvideo
> [ 8525.170278] USB Video Class driver (SVN r231)
> [ 8525.696738] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
> -110 (exp. 26).
>
> Any idea, help, etc is welcome

Could you please apply the following patch and try again ? Make sure you 
report all kernel log messages printed by the uvcvideo driver.

-----------------------------------------------------------------------------
Index: uvc_video.c
===================================================================
--- uvc_video.c (revision 230)
+++ uvc_video.c (working copy)
@@ -899,8 +899,7 @@
        /* Some webcams don't suport GET_DEF request on the probe control. We
         * fall back to GET_CUR if GET_DEF fails.
         */
-       if ((ret = uvc_get_video_ctrl(video, probe, 1, GET_DEF)) < 0 &&
-           (ret = uvc_get_video_ctrl(video, probe, 1, GET_CUR)) < 0)
+       if ((ret = uvc_get_video_ctrl(video, probe, 1, GET_CUR)))
                return ret;
 
        /* Check if the default format descriptor exists. Use the first
-----------------------------------------------------------------------------

Best regards,

Laurent Pinchart

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to