lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070204181912.GA12379@kroah.com>
Date:	Sun, 4 Feb 2007 10:19:12 -0800
From:	Greg KH <greg@...ah.com>
To:	Christer Weinigel <christer@...nigel.se>
Cc:	Andrew Lyon <andrew.lyon@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Free Linux Driver Development!

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ