It might be this
I will try this weekend - as I am on the road now - and keep you posted.
Thx Laurent.

-----Original Message-----
From: Laurent Pinchart [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2008 10:31 PM
To: linux-uvc-devel@lists.berlios.de
Cc: Adrian Sergiu DARABANT; 'martuf1'
Subject: Re: [Linux-uvc-devel] syntek 174f:8a12 unsupported?

Hi Adrian,

On Friday 18 July 2008, Adrian Sergiu DARABANT wrote:
> I have a similar Syntek camera 174F:8a51 that blocks on Failed to query
> some controls.Maybe in your case you'll have better luck. Mine is a 2M
> camera that works on windows but fails desperately on Linux. I did not
> manage yet to get a solution (it might be either the camera or the usb
> modules in Linux).
>
> With 2.6.25 kernels it behaves a little bit better but still not working.

Could you please try the following patch and report results here (including 
all messages printed by the uvcvideo driver to the kernel log) ?

----------------------------------------------------------------------------
-
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
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to