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.
This commit is contained in:
Uwe Hermann 2018-09-03 22:01:32 +02:00
parent 00f0016cc3
commit 2efb3cd700
1 changed files with 7 additions and 0 deletions

View File

@ -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",