Re: code review request: simple usb stream interface (susi)

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, Feb 08, 2007 at 09:05:15AM -0500, Edwin Olson wrote:
> 
> > I'll look at it in a few minutes, but first, what do you want to do that
> > libusb can't do?
> >   
> Perhaps I'm out of date, but the documentation for libusb seems to 
> indicate that the API is synchronous, which would limit the number of 
> outstanding URBs per endpoint to one (unless I made a pthreaded 
> monstrosity). This would make its performance even worse than 
> usb-serial, which at least has the possibility of multiple OUT urbs, and 
> libusb would require me to know which direction the next transfer would 
> be in (and in general, I do not).
> 
> (Please correct me if I'm wrong!)

You can do async submission of urbs using usbfs directly, and I think
that the latest libusb cvs tree also supports this.

So I really don't think that a kernel driver is needed at all for your
devices, just use usbfs directly and you should be fine.

thanks,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[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.