Hi Samir,

On Tuesday 27 November 2007, Samir Ibradzic wrote:
> Laurent Pinchart wrote:
>
> I've tried second patch, got compile error;
>
> ~/Desktop/uvcvideo/trunk/uvc_video.c: In function ‘uvc_video_init’:
> ~/Desktop/uvcvideo/trunk/uvc_video.c:901: error: too many arguments to
> function ‘uvc_set_video_ctrl’
>
> Then I tried using only 3 parameters in that uvc_set_video_ctrl call;
>
> LN901:        if ((ret = uvc_set_video_ctrl(video, probe, 1)) < 0) {
>
> but it didn't work (tried putting 0, 1 and SET_CUR as third parameter as
> well);

Sorry I should have tried the patch first. You did the right thing. The third 
parameter should be 1.

> [ 2688.648000] usb 2-1: new full speed USB device using uhci_hcd and
> address 5
> [ 2688.824000] usb 2-1: configuration #1 chosen from 1 choice
> [ 2688.828000] uvcvideo: Probing generic UVC device 1
> [ 2688.828000] uvcvideo: Found format MJPEG.
> [ 2688.828000] uvcvideo: - 320x240 (15.0 fps)
> [ 2688.828000] uvcvideo: Found UVC 1.10 device au W33SA (0474:0722)
> [ 2688.828000] uvcvideo: Scanning UVC chain: OT 3 <- PU 2 <- IT 1
> [ 2688.828000] uvcvideo: Found a valid video chain (1 -> 3).
> [ 2688.832000] uvcvideo: Failed to query (1) UVC control 1 (unit 0) :
> -32 (exp. 34).
> [ 2688.832000] uvcvideo: Failed to initialize probe control.
> [ 2688.832000] uvcvideo: Failed to initialize the device (-5).

I don't know why the phone fails to respond. Could you plug it in a Windows 
computer and get a USB bus trace ? I'd like to get the whole trace starting 
at device plug-in.

Best regards,

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

Reply via email to