On Wed, Jan 08, 2003 at 09:32:07PM +0100, Henning Meier-Geinitz wrote: > > Anyone any ideas? Just crappy hardware? But why is the error triggered > by a simple function like resetep?
It might be a data toggle problem. I've seen this in the past on 2.4 and 2.5 (haven't tested for it in a while on either one though.) I got around it with the code in drivers/usb/serial/io_ti.c::edge_open() tha looks like: /* * reset the data toggle on the bulk endpoints to work around bug in * host controllers where things get out of sync some times */ usb_clear_halt (dev, port->write_urb->pipe); usb_clear_halt (dev, port->read_urb->pipe); It can be a combination of a bug in the device itself with the data toggle too that might cause it, I've heard of that happening. I know the keyspan driver goes to great lengths to keep track of this due to this problem. As to how to fix this, I don't know, try inserting something like the above somewhere in devio.c when an open happens to see if that helps. Good luck, greg k-h ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel