Hello Laurent,

Laurent Pinchart wrote:
> Hi Samir,
> 
> please CC the list when answering.
> 

sorry about that...


> On Monday 26 November 2007, Samir Ibradzic wrote:
>> Laurent, thanks for very fast reply!
>>
>> I applied the patch, it still fails at second request (129). Any further
>> patches and/or tests i could try?
>>
>> dmsg output (when tried with 'modprobe uvcvideo trace=15'):
>>
> [snip]
>> [  223.544000] uvcvideo: Probing generic UVC device 1
>> [  223.544000] uvcvideo: Found format MJPEG.
>> [  223.544000] uvcvideo: - 320x240 (15.0 fps)
>> [  223.544000] uvcvideo: Found UVC 1.10 device au W33SA (0474:0722)
>> [  223.544000] uvcvideo: Scanning UVC chain: OT 3 <- PU 2 <- IT 1
>> [  223.544000] uvcvideo: Found a valid video chain (1 -> 3).
>> [  223.556000] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
>> -32 (exp. 34).
>> [  223.556000] uvcvideo: Failed to initialize the device (-5).
>> [  223.556000] usbcore: registered new interface driver uvcvideo
>> [  223.556000] USB Video Class driver (v0.1.0)
> 
> Let's try something else then. The attached patch writes the video streaming 
> probe with a dummy value (all 0's) before attempting to retrieve it. Let me 
> know if it helps.
> 

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);

[ 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).


> Best regards,
> 
> Laurent Pinchart
> 
> 
> --- AV & Spam Filtering by M+Guardian - Risk Free Email (TM) ---
> 
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to