]> sigrok.org Git - libsigrok.git/commitdiff
usbtmc: add the Siglent VID and reset USB devices in open
authorGerhard Sittig <redacted>
Sun, 11 Feb 2018 15:30:34 +0000 (16:30 +0100)
committerUwe Hermann <redacted>
Sun, 11 Feb 2018 23:13:49 +0000 (00:13 +0100)
Add the Siglent's VID to a list of blacklisted USB TMC devices.
Unconditionally reset USB devices in the open routine.

This was taken from marchel's development for Siglent SDS. Though the
reset should probably be conditional, and only get applied to devices
which are known to need it.

The comment may need adjustment, maybe individual PID entries are
required. The VID probably not only applies to SDS devices, but could
be used for SDG and other gear as well. And lsusb output suggests the
VID is used by Atten, too.


No differences found