From: majekw Date: Sun, 2 Dec 2018 12:49:44 +0000 (+0100) Subject: Add support for YiXingDianZi MDSO in hantek-6xxx driver. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e150d5504670c788527362864a7df1ce2cc53edd;p=libsigrok.git Add support for YiXingDianZi MDSO in hantek-6xxx driver. --- diff --git a/contrib/60-libsigrok.rules b/contrib/60-libsigrok.rules index 7423e290..19283242 100644 --- a/contrib/60-libsigrok.rules +++ b/contrib/60-libsigrok.rules @@ -273,6 +273,9 @@ ATTRS{idVendor}=="04fc", ATTRS{idProduct}=="0201", ENV{ID_SIGROK}="1" # Victor 86C ATTRS{idVendor}=="1244", ATTRS{idProduct}=="d237", ENV{ID_SIGROK}="1" +# YiXingDianZi MDSO +ATTRS{idVendor}=="d4a2", ATTRS{idProduct}=="5660", ENV{ID_SIGROK}="1" + # ZEROPLUS Logic Cube LAP-C series # There are various devices in the ZEROPLUS Logic Cube series: # 0c12:7002: LAP-16128U diff --git a/src/hardware/hantek-6xxx/api.c b/src/hardware/hantek-6xxx/api.c index 07fd2cbf..20d35a2b 100644 --- a/src/hardware/hantek-6xxx/api.c +++ b/src/hardware/hantek-6xxx/api.c @@ -89,6 +89,11 @@ static const struct hantek_6xxx_profile dev_profiles[] = { "Hantek", "6022BL", "fx2lafw-hantek-6022bl.fw", ARRAY_AND_SIZE(dc_coupling), FALSE, }, + { + 0xd4a2, 0x5660, 0x1d50, 0x608e, 0x0004, + "YiXingDianZi", "MDSO", "fx2lafw-yixingdianzi-mdso.fw", + ARRAY_AND_SIZE(dc_coupling), FALSE, + }, ALL_ZERO };