From e76de18fc7e48c7cd72026aa6559a56d70ed2058 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 26 Mar 2017 23:15:35 -0400 Subject: [PATCH] selphyneo: Add in the USB ID for the SELPHY CP820 --- README | 7 +------ backend_canonselphyneo.c | 6 +++--- blacklist | 3 +++ 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README b/README index 0657708..203fc98 100644 --- a/README +++ b/README @@ -52,7 +52,6 @@ Work-in-progress Printers: - Canon SELPHY CP820 Citizen CW-02 and CX2 DNP DS80DX Fujifilm ASK-300 @@ -230,11 +229,7 @@ Untested, but expected to work: - CP910 - - Unknown VID/PIDs, but should work: - - CP820 + CP820, CP910 Valid commands: diff --git a/backend_canonselphyneo.c b/backend_canonselphyneo.c index da40cbd..5f38974 100644 --- a/backend_canonselphyneo.c +++ b/backend_canonselphyneo.c @@ -41,7 +41,7 @@ /* Exported */ #define USB_VID_CANON 0x04a9 -#define USB_PID_CANON_CP820 XXX +#define USB_PID_CANON_CP820 0x327b #define USB_PID_CANON_CP910 0x327a #define USB_PID_CANON_CP1000 0x32ae #define USB_PID_CANON_CP1200 0x32b1 @@ -388,7 +388,7 @@ static void selphyneo_cmdline(void) struct dyesub_backend canonselphyneo_backend = { .name = "Canon SELPHY CPneo", - .version = "0.06", + .version = "0.07", .uri_prefix = "canonselphyneo", .cmdline_usage = selphyneo_cmdline, .cmdline_arg = selphyneo_cmdline_arg, @@ -398,7 +398,7 @@ struct dyesub_backend canonselphyneo_backend = { .read_parse = selphyneo_read_parse, .main_loop = selphyneo_main_loop, .devices = { -// { USB_VID_CANON, USB_PID_CANON_CP820, P_CP910, ""}, + { USB_VID_CANON, USB_PID_CANON_CP820, P_CP910, ""}, { USB_VID_CANON, USB_PID_CANON_CP910, P_CP910, ""}, { USB_VID_CANON, USB_PID_CANON_CP1000, P_CP910, ""}, { USB_VID_CANON, USB_PID_CANON_CP1200, P_CP910, ""}, diff --git a/blacklist b/blacklist index 6b0f567..191e97d 100644 --- a/blacklist +++ b/blacklist @@ -75,6 +75,9 @@ # Canon SELPHY CP810 0x04a9 0x3256 blacklist +# Canon SELPHY CP820 +0x04a9 0x327b blacklist + # Canon SELPHY CP900 0x04a9 0x3255 blacklist