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

This commit is contained in:
Solomon Peachy 2021-04-20 20:04:12 -04:00
parent 573d70aef6
commit 7fec86bac7
5 changed files with 26 additions and 1 deletions

View File

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

View File

@ -1024,6 +1024,9 @@ static uint8_t *hiti_get_correction_data(struct hiti_ctx *ctx, uint8_t mode)
switch (ctx->conn->type) switch (ctx->conn->type)
{ {
case P_HITI_CS2XX:
fname = "CS2xx_CMPBcd.bin";
break;
case P_HITI_51X: case P_HITI_51X:
if (!mediatype) { /* DNP media */ if (!mediatype) { /* DNP media */
if (mode) { if (mode) {
@ -2417,6 +2420,11 @@ const struct dyesub_backend hiti_backend = {
.query_markers = hiti_query_markers, .query_markers = hiti_query_markers,
.query_stats = hiti_query_stats, .query_stats = hiti_query_stats,
.devices = { .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, 0x0007, P_HITI_51X, NULL, "hiti-p510k"},
{ 0x0d16, 0x000b, P_HITI_51X, NULL, "hiti-p510l"}, { 0x0d16, 0x000b, P_HITI_51X, NULL, "hiti-p510l"},
{ 0x0d16, 0x000d, P_HITI_51X, NULL, "hiti-p518a"}, { 0x0d16, 0x000d, P_HITI_51X, NULL, "hiti-p518a"},

View File

@ -274,6 +274,21 @@
# Fujifilm ASK-300 # Fujifilm ASK-300
0x04cb 0x5006 blacklist 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 # HiTi P510K
0x0d16 0x0007 blacklist 0x0d16 0x0007 blacklist

BIN
hiti_data/CS2xx_CMPBcd.bin Normal file

Binary file not shown.

View File

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