From: Uwe Hermann Date: Tue, 2 Oct 2018 13:15:27 +0000 (+0200) Subject: hantek-6xxx: Hantek 6022BL: Add VID/PID 04b5:602a support. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=822a9c0edaab346c024557f53ea1775872166c34;p=libsigrok.git hantek-6xxx: Hantek 6022BL: Add VID/PID 04b5:602a support. On Windows, this device can either enumerate as 04b4:602a or 04b5:602a, 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 #1295. --- diff --git a/src/hardware/hantek-6xxx/api.c b/src/hardware/hantek-6xxx/api.c index 97156a6f..07fd2cbf 100644 --- a/src/hardware/hantek-6xxx/api.c +++ b/src/hardware/hantek-6xxx/api.c @@ -78,10 +78,17 @@ static const struct hantek_6xxx_profile dev_profiles[] = { ARRAY_AND_SIZE(acdc_coupling), TRUE, }, { + /* Windows: "Hantek6022BL DRIVER 1": 04b4:602a */ 0x04b4, 0x602a, 0x1d50, 0x608e, 0x0003, "Hantek", "6022BL", "fx2lafw-hantek-6022bl.fw", ARRAY_AND_SIZE(dc_coupling), FALSE, }, + { + /* Windows: "Hantek6022BL DRIVER 2": 04b5:602a */ + 0x04b5, 0x602a, 0x1d50, 0x608e, 0x0003, + "Hantek", "6022BL", "fx2lafw-hantek-6022bl.fw", + ARRAY_AND_SIZE(dc_coupling), FALSE, + }, ALL_ZERO };