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.
This commit is contained in:
Uwe Hermann 2018-10-02 15:15:27 +02:00
parent 56bcbbffd0
commit 822a9c0eda
1 changed files with 7 additions and 0 deletions

View File

@ -78,10 +78,17 @@ static const struct hantek_6xxx_profile dev_profiles[] = {
ARRAY_AND_SIZE(acdc_coupling), TRUE, ARRAY_AND_SIZE(acdc_coupling), TRUE,
}, },
{ {
/* Windows: "Hantek6022BL DRIVER 1": 04b4:602a */
0x04b4, 0x602a, 0x1d50, 0x608e, 0x0003, 0x04b4, 0x602a, 0x1d50, 0x608e, 0x0003,
"Hantek", "6022BL", "fx2lafw-hantek-6022bl.fw", "Hantek", "6022BL", "fx2lafw-hantek-6022bl.fw",
ARRAY_AND_SIZE(dc_coupling), FALSE, 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 ALL_ZERO
}; };