[Pkg-spca5xx-devel] Camera problem...
Michel Xhaard
mxhaard at magic.fr
Fri Oct 26 10:24:55 UTC 2007
Le Vendredi 26 Octobre 2007 11:09, Rameshchandra a écrit :
> Hi...all
>
> I have the problem with the camera... Iam using spca5xx driver.
> Cameratype is Logitech Quick go easy model. Bridge=spca561a. I am new
> to usb drivers. I got little information about the URB- Usb Request
> Block. which is the structure where all the data trasfer happens...
>
> There was a line on my driver like this below...
>
> urb->complete = spca50x_isoc_irq;
>
> I think it means when the urb buffer is filled i.e., when the
> urb->status is 0 (Completed the usb transfer from camera) then the
> spca50x_isoc_irq function is called.
>
> But this urb->complete is never happening..I mean the urb->status is
> never up. When i print the urb->status, it is -115. which means the Urb
> is still pending(untill now no error)...
>
> My driver hangs at this point and then it can not transfer the process
> the frames. What may be the problem for the camera to not respond to
> the urb request.
>
> My urb request is sent already by using usb_submit_urb function and
> when the driver is running i am getting like this..
> ----------------------------------------------------------------------
> qu_queue_active_urb: add urb to iso_list, start_frame = 0x5c7, # Pkts =
> 0x10, err Cnt = 0x0
> ----------------------------------------------------------------------
> Does anyone knows why the camera is not filling the urb block???Any
> idea??
urb->complete = spca50x_isoc_irq;
mean when the urb is fully filled the function spca50x_isoc_irq is called. If
your urb is still pending that should be:
the webcam is unknown, not streaming (bad initialize) or maybe the hardware
is not isochronous capable. Have you try another Linux box ?
regards
--
Michel Xhaard
http://mxhaard.free.fr
More information about the Pkg-spca5xx-devel
mailing list