Hi,
On Thu, Aug 04, 2016 at 01:37:02AM -0700, Erik Montnemery wrote:
> Short update:
> The LIBUSB error is due to trying to set coupling on the 6022 BE, this
> is only supported on the Sainsmart DDS120.
> sr: [00:00.334000] hantek-6xxx: update coupling 0x11
> sr: [00:00.338000] hantek-6xxx: hantek_6xxx_write_control: 0xe5 0x11
> sr: [00:00.348000] hantek-6xxx: Failed to control transfer: 0xe5:
> LIBUSB_ERROR_PIPE.
>
> I think hantek-6xxx should be updated to correctly report:
> - Hantek 6022BE only supports DC coupling
> - Sainsmart DDS120 supports both AC and DC coupling
> - Ignore requests to set coupling for the Hantek
> I'd be happy to supply a patch for this.
Thanks for investigating, that sounds like the both correct source
of the problem as well as the correct fix.
I've just merged an older patch from Benjamin Larsson that somehow fell
through the cracks (entirely my fault), which solves parts of the issue
by only allowing DC coupling selection.
IIRC, there was a PulseView bug with drop-downs with only one item (e.g.
just "DC") so for the time being the driver will report a list of two
items ("DC" and "DC") until that's fixed.
Please feel free to additionally implement "Ignore requests to set
coupling for the Hantek", that's not in yet.
Cheers, Uwe.
--
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel