Re: Free Linux Driver Development!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 04, 2007 at 02:29:13PM +0100, Christer Weinigel wrote:
> Greg KH <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux