[Pkg-spca5xx-devel] Camera problem...
Rameshchandra
ramesh at innovatesolutions.net
Fri Oct 26 09:09:11 UTC 2007
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??
--
With Regards,
RAMESH. C
Embedded Software Engineer,
Innovate Software Solutions,
Bangalore.
Ph: +919986300050.
More information about the Pkg-spca5xx-devel
mailing list