On Thu, 28 Oct 2004, Axel Waggershauser wrote:

> Hi,
> 
> I have to write a custom driver for a FX2 based camera module that
> should be able to reach a bulk throughput of about 30 MBytes/sec from
> the device to user space memory. The available CPU performance is less
> than a 1GHz VIA EDEN. Is the libusb capable to provide this performance?
> 
> If not, I guess I would have to write a driver that definitely makes
> usage of scatter-gather lists to avoid unnecessary cpu involvement, is
> that right? Is there a good starting point (documentation/examples) for
> a "state of the art" sg-based usb driver?
> 
> Thanks,
>   Axel

I have no idea how fast libusb will run on your system, but it shouldn't 
be hard for you to test it.

AFAIK the only driver that uses sg-based transfers is usb-storage.  The sg
library routines are called from with drivers/usb/storage/transport.c, and
they are well documented in drivers/usb/core/message.c.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to