Hey,

On Mon, Mar 30, 2020 at 06:50:34PM +0200, Martijn Scalé wrote:
> As for the libusb-win32 driver, I understood that it was deprecated, I read it

So nice you found a workaround. And something to compare with.

> " We recently had an odd issue with OpenOCD on windows where a claim_interface
> libusb API call was missing and it was giving weird errors as the result but
> just on windows."
> 
> Could this still be related?

It might be related, yes. I'm not familiar with Sigrok codebase but
the idea is to check whether this driver runs claim_interface when
working on windows (and in fact it should be called on all systems,
just some are more forgiving).

> Of course we are talking about a clone, and it does work with libusb-win32, 
> but
> with this driver being deprecated I am eager to get it working on WinUSB.
> So your thoughts and input are highly appreciated!

At this point I hope sigrok developers can chime in. It might be a bug
in libusb too but I do not know how to gather enough debug info for
the libusb maintainers to fix it. First thing to try would be to make
sure claim_interface() is called. And then probably you can use
Wireshark to capture all USB traffic in both libusb-win32 and WinUSB
cases. That would make for a potentially useful bug report.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to