On Wed, Aug 06, 2003 at 10:48:22PM +0200, Oliver Neukum wrote: > Am Mittwoch, 6. August 2003 22:09 schrieb David Brownell: > > Alan Stern wrote: > > > David: > > > > > > A few things have come while planning my gadget driver. > > > > > > The gadgetfs API still looks a bit preliminary. Judging by the source, > > > there doesn't even appear to be any way to halt an endpoint! Anyway, I > > > decided not to use it; the performance penalties would make it a bad model > > > for this purpose in any case. > > > > Halt endpoints by doing a "wrong direction" I/O ... read from an IN endpoint > > (instead of writing to the host), or write to an OUT endpoint (instead of > > reading what it wrote). This idiom avoids use of ioctls, and makes use > > of a code path that would otherwise just return an error. > > That is worse than an ioctl.
No. > Read and write should transfer data, not change status of an io channel. Sounds like a valid thing for a special purpose fs to do (is simple, and can be done in any language, and doesn't require special thunking ioctl layer.) thanks, greg k-h ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel