Alexander Dreweke wrote:
Oh, ok I've forgot to give you one more information, I'm programming a HC driver for an operating system. So I have to take care of such things. :o) So now my question makes a bit more sense i hope
For Linux?
No for the Jx OS. It's a OS which is total written in Java (ok, lets say
nearly) If you are interrrested take a look at the homepage http://www.jxos.org/ . But at the moment there isn't any USB
support in the CVS (but soon it will, atleast I hope so :o) ).
Does the device drive have to take care of resetting the endpoint after it has been stalled, because of an toggle error, or is this something that could (or should) be handled by the HC driver?
Endpoint halts are status that the device driver has to handle. Don't create any kind of automagic policy; insist that the device driver explicitly reset the endpoint halt status. It's a signal from the device to its driver that something went wrong and needs attention; there's no automagic that any HCD could apply, and yet keep things sane
And arrange that the HCD sees when the halt has been cleared, and resets the HC's toggle state accordingly.
Ok. That makes sense.
Thanks CU Alex
------------------------------------------------------- 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/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel