hiti: Add in the the CS2xx series USB PIDs, and its LUT.

master
Solomon Peachy 2 years ago
parent 573d70aef6
commit 7fec86bac7
  1. 1
      backend_common.h
  2. 8
      backend_hiti.c
  3. 15
      blacklist
  4. BIN
      hiti_data/CS2xx_CMPBcd.bin
  5. 3
      hiti_data/README-hiti-data

@ -116,6 +116,7 @@ enum {
P_ES40,
P_FUJI_ASK300,
P_FUJI_ASK500,
P_HITI_CS2XX,
P_HITI_51X,
P_HITI_52X,
P_HITI_720,

@ -1024,6 +1024,9 @@ static uint8_t *hiti_get_correction_data(struct hiti_ctx *ctx, uint8_t mode)
switch (ctx->conn->type)
{
case P_HITI_CS2XX:
fname = "CS2xx_CMPBcd.bin";
break;
case P_HITI_51X:
if (!mediatype) { /* DNP media */
if (mode) {
@ -2417,6 +2420,11 @@ const struct dyesub_backend hiti_backend = {
.query_markers = hiti_query_markers,
.query_stats = hiti_query_stats,
.devices = {
{ 0x0d16, 0x0309, P_HITI_CS2XX, NULL, "hiti-cs200e"},
{ 0x0d16, 0x030a, P_HITI_CS2XX, NULL, "hiti-cs220e"},
{ 0x0d16, 0x030b, P_HITI_CS2XX, NULL, "hiti-cs230e"},
{ 0x0d16, 0x030c, P_HITI_CS2XX, NULL, "hiti-cs250e"},
{ 0x0d16, 0x030d, P_HITI_CS2XX, NULL, "hiti-cs290e"},
{ 0x0d16, 0x0007, P_HITI_51X, NULL, "hiti-p510k"},
{ 0x0d16, 0x000b, P_HITI_51X, NULL, "hiti-p510l"},
{ 0x0d16, 0x000d, P_HITI_51X, NULL, "hiti-p518a"},

@ -274,6 +274,21 @@
# Fujifilm ASK-300
0x04cb 0x5006 blacklist
# HiTi CS-200e
0x0d16 0x0309 blacklist
# HiTi CS-220e
0x0d16 0x030a blacklist
# HiTi CS-230e
0x0d16 0x030b blacklist
# HiTi CS-250e
0x0d16 0x030c blacklist
# HiTi CS-290e
0x0d16 0x030d blacklist
# HiTi P510K
0x0d16 0x0007 blacklist

Binary file not shown.

@ -7,13 +7,14 @@ LUT filename Codes:
C M Q P ? ra [ .bin ]
-- model code, see below
- media version, 0..n (if not present, interpret as 0)
- always P (or 'CL')
- always P (or 'CL', or 'B')
- print quality, Q == fine, P == normal
- media type, M == DNP, C == CHC (?)
- Always C
model codes:
cb = CS2xx
ra = P51x
rd = P72x
rh = P75x

Loading…
Cancel
Save