lkml.org 
[lkml]   [2007]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Free Linux Driver Development!
On Sun, Feb 04, 2007 at 02:29:13PM +0100, Christer Weinigel wrote:
> Greg KH <greg@kroah.com> writes:
>
> > Why would a userspace driver not work out for this. We already can
> > saturate the USB bus with a userspace program
>
> That is unfortunately not quite true. I have a (unfortunately
> proprietary) driver for a USB device that simply cannot be implemented
> in userspace. The USB device is a measurement device that pushes
> close to 800 kBytes/second of data through a FT245 chip. The
> measurement device does no flow control at all, it just presents a
> sample every 125 us to the FT245 and with only 256 bytes of buffer in
> the FT245 the only way to handle that is to have two URBs in flight at
> the same time, and I haven't found any way to do that in a robust and
> non-racey way from userspace.

People do that today just fine with multiple userspace urbs in flight
using usbfs directly. So it is possible and can be done.

If there are issues with the usbfs code to prevent you from doing this,
please let us know.

Or perhaps your device just needs to add some flow control to it :)

good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-04 19:23    [from the cache]
©2003-2011 Jasper Spaans