Hello,

I made some changes to the Kingst LA2016 logic analyser driver which were pulled in the last few days.

https://github.com/sigrokproject/libsigrok/pull/131

I have tested the nightly build of PulseView for Linux and both the LA2016 and LA1016 are working, which is good.

However, the Windows build does not work. At the point of reading capture data from EP6IN, PulseView stalls and crashes. I can fix this problem by removing part of the libusb patch:

https://github.com/sigrokproject/sigrok-util/blob/master/cross-compile/mingw/mxe_fixes.patch

Specifically, commenting out these lines fixes the problem:

++ if (!WinUSBX[sub_api].SetPipePolicy(winusb_handle, endpoint_address,
++ RAW_IO, sizeof(UCHAR), &policy)) {
++ usbi_dbg("failed to enable RAW_IO for endpoint %02X", endpoint_address);
++ }

So, setting RAW_IO policy causes problems for me. Does anybody know what this patch was intended to fix and if there is a Kingst LA driver change required to support it?

For reference, the Kingst driver code is here:

https://github.com/sigrokproject/libsigrok/tree/master/src/hardware/kingst-la2016

Thanks,

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

Reply via email to