]> sigrok.org Git - libsigrok.git/commitdiff
Add support for YiXingDianZi MDSO in hantek-6xxx driver.
authormajekw <redacted>
Sun, 2 Dec 2018 12:49:44 +0000 (13:49 +0100)
committerUwe Hermann <redacted>
Fri, 28 Dec 2018 12:49:33 +0000 (13:49 +0100)
contrib/60-libsigrok.rules
src/hardware/hantek-6xxx/api.c

index 7423e290c0290bc9c51655b4592d62a66ecce415..19283242fafdd0d5bb01898293bd390d21b6c25f 100644 (file)
@@ -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
index 07fd2cbf7dcd8f806ab2aad2d7e15fe29e703984..20d35a2b3aa30be70925e6a03cd4f258a13e6d4c 100644 (file)
@@ -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
 };