|
From: Alan S. <st...@ro...> - 2016-03-25 15:06:55
|
On Fri, 25 Mar 2016, Phani Kumar wrote: > Thanks Alan. > > The code is working now and I am not resetting the toggle at all. > > 1. I assume I have to reset the toggle only when an endpoint halts for this > device? That's true for all devices, not just yours. > 2. Usually in our code, we send reset toggle (by clearing halt feature) on > every pipe initialize. All other devices work with this code. However this > device is vendor defined and it is not accepting this behavior. How can I > differentiate this behavior only for this device and how windows works in > the same scenario? Any idea? You should never do a Clear-Halt unless you _know_ the endpoint is halted. For any device. In most cases it won't hurt, but some devices don't handle it correctly. Alan Stern |