Advice needed concerning ISOC transactions for a webcam

"Ilyes Gouta" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi!

I'm writing a driver for a webcam for Linux. The cam is based on ALi's
M5602 USB bridge and I pretty much got it almost working since I'm
able to get the raw bayer data from it.

I'm however facing a strange behaviour since sometimes the cam seems
stuck (after getting it correctly initialized and all) and doesn't
want to exchange ISOCs packets. Unloading the driver and reinserting
it repeatedly (without recompilation) , fixes the issue, i.e I get the
ISOCs packets flowing again between the host and the webcam.

The other day, I added a added a couple of printk in my
isoc_urb_complete handler and got my driver working again, not all the
time but it was better than without them. So this suggested to me that
the host is kind of faster than the webcam (???) and which expects
ISOCs to be resubmited in a slower pace or something.

I'd really want to know if some body came across such a situation and
if it really make sense to slowdown ISOC URBs re-submission. Is it
possible that ALi's M5602 USB bridge is kind of faulty and is causing
these troubles?

BR,
Ilyes Gouta.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.