Laurent Pinchart wrote:
> 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
>
>
>   
Hi Laurent,
here is the output of the patched driver:

$>  dmesg
[ 7264.493153] Linux video capture interface: v2.00
[ 7264.498565] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera 
(174f:8a12)
[ 7264.750891] usbcore: registered new interface driver uvcvideo
[ 7264.750901] USB Video Class driver (SVN r231)
[ 7265.281478] uvcvideo: Failed to query (129) UVC control 1 (unit 0) : 
-110 (exp. 26).
$> ls /dev/video0
/dev/video0

After removing the module and modprobing again the output is:
$> dmesg
[ 7519.034499] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera 
(174f:8a12)
[ 7519.289704] usbcore: registered new interface driver uvcvideo
[ 7519.289712] USB Video Class driver (SVN r231)
$> ls /dev/video0
/dev/video0

But in both cases, with skype and amsn the cam isn't working
(should I use other program to test it?)

Thank you, cheers

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to