From: Uwe Hermann Date: Mon, 3 Sep 2018 20:01:32 +0000 (+0200) Subject: hantek-6xxx: Hantek 6022BE: Add VID/PID 04b5:6022 support. X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=2efb3cd70053098d4b7106b84c2d400eb0fb4370 hantek-6xxx: Hantek 6022BE: Add VID/PID 04b5:6022 support. On Windows, this device can either enumerate as 04b4:6022 or 04b5:6022, depending on which vendor driver is currently being used, so we have to support both in the hantek-6xxx driver as well. This fixes bug #918. --- diff --git a/src/hardware/hantek-6xxx/api.c b/src/hardware/hantek-6xxx/api.c index 59b27c2c..97156a6f 100644 --- a/src/hardware/hantek-6xxx/api.c +++ b/src/hardware/hantek-6xxx/api.c @@ -61,10 +61,17 @@ static const char *acdc_coupling[] = { static const struct hantek_6xxx_profile dev_profiles[] = { { + /* Windows: "Hantek6022BE DRIVER 1": 04b4:6022 */ 0x04b4, 0x6022, 0x1d50, 0x608e, 0x0001, "Hantek", "6022BE", "fx2lafw-hantek-6022be.fw", ARRAY_AND_SIZE(dc_coupling), FALSE, }, + { + /* Windows: "Hantek6022BE DRIVER 2": 04b5:6022 */ + 0x04b5, 0x6022, 0x1d50, 0x608e, 0x0001, + "Hantek", "6022BE", "fx2lafw-hantek-6022be.fw", + ARRAY_AND_SIZE(dc_coupling), FALSE, + }, { 0x8102, 0x8102, 0x1d50, 0x608e, 0x0002, "Sainsmart", "DDS120", "fx2lafw-sainsmart-dds120.fw",