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 flightusing 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.