Re: Halting an endpoint
Travis <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
Greetings, Does the pipe reset function work? This is essentially a clear endpoint halt with data toggle reset. In Windows there is a unique URB function for a pipe reset. I think by constructing your own clear feature control request, you are bypassing this and any internal state information that might be maintained by it. While it is defines in USB specs, setting an endpoint halt condition doesn't have any practical applications that I know of but try this followed by a reset pipe request (instead of rolling your own clear endpoint halt ctl transfer) and see if it works. Regards, Travis On 5/20/2014 6:54 PM, Wander Lairson Costa wrote: > 2014-05-20 17:08 GMT-03:00 Pete Batard <[email protected]>: >> Hi Wander, >> > Hi Pete, > >> On 2014.05.20 17:13, Wander Lairson Costa wrote: >>> As I think that is really hard two different code bases having exactly >>> the same bug, I conclude that either I am missing something or there >>> is an issue with Windows/Virtual Box. >> I guess I'm gonna point the obvious: do you have any means to run the >> same test on real Windows hardware? >> Would be a sure way to eliminate the VM variable from the equation... >> > On the short term, I can't, as I don't have a machine with Windows > available. But I will try to get one. > BTW, the test firmware [1] is based on libusb benchmark fw. If someone > wants to give it a try, > just install the firmware on PIC DEM (I use a generic, compatible > board), download PyUSB [2] and, > from the test subdirectory, run the test_control.py and > test_backend.py scripts, at this order. > > [1] https://github.com/walac/bmfw > > [2] https://github.com/walac/pyusb > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs