On a recently acquired Korad KA3005P power supply, the ID supplied by the
device is not known by libsigrok.
$ sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --scan
sr: korad-kaxxxxp: Unknown model ID 'KORAD KA3005P V4.2' detected, aborting.
This fixes bug #1522.
Thanks to bitaround@gmail.com for the amperage fix.
/* Sometimes the KA3005P has an extra 0xBC after the ID. */
{KORAD_KA3005P_0XBC, "Korad", "KA3005P",
"KORADKA3005PV2.0\xBC", 1, {0, 31, 0.01}, {0, 5, 0.001}},
/* Sometimes the KA3005P has an extra 0xBC after the ID. */
{KORAD_KA3005P_0XBC, "Korad", "KA3005P",
"KORADKA3005PV2.0\xBC", 1, {0, 31, 0.01}, {0, 5, 0.001}},
+ {KORAD_KA3005P_V42, "Korad", "KA3005P",
+ "KORAD KA3005P V4.2", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
{KORAD_KD3005P, "Korad", "KD3005P",
"KORAD KD3005P V2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
{KORAD_KD3005P_V20_NOSP, "Korad", "KD3005P",
{KORAD_KD3005P, "Korad", "KD3005P",
"KORAD KD3005P V2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
{KORAD_KD3005P_V20_NOSP, "Korad", "KD3005P",
KORAD_KA3005P,
KORAD_KA3005P_0X01,
KORAD_KA3005P_0XBC,
KORAD_KA3005P,
KORAD_KA3005P_0X01,
KORAD_KA3005P_0XBC,
KORAD_KD3005P,
KORAD_KD3005P_V20_NOSP,
RND_320_KD3005P,
KORAD_KD3005P,
KORAD_KD3005P_V20_NOSP,
RND_320_KD3005P,