From e967d98aabe326bb1d6d043edd55adf8f5b7e060 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sat, 9 Nov 2019 22:51:39 +0200 Subject: [PATCH] genesys: Disable broken support for 4800 dpi on LiDE 210 and 220 --- backend/genesys/tables_model.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/backend/genesys/tables_model.cpp b/backend/genesys/tables_model.cpp index 0e096369d..85ee6fc18 100644 --- a/backend/genesys/tables_model.cpp +++ b/backend/genesys/tables_model.cpp @@ -844,8 +844,9 @@ void genesys_init_usb_device_tables() model.resolutions = { { { ScanMethod::FLATBED }, - { 4800, 2400, 1200, 600, /* 400,*/ 300, 150, 100, 75 }, - { 4800, 2400, 1200, 600, /* 400,*/ 300, 150, 100, 75 }, + // BUG: 4800 resolution crashes + { /*4800,*/ 2400, 1200, 600, /* 400,*/ 300, 150, 100, 75 }, + { /*4800,*/ 2400, 1200, 600, /* 400,*/ 300, 150, 100, 75 }, } }; @@ -910,8 +911,9 @@ void genesys_init_usb_device_tables() model.resolutions = { { { ScanMethod::FLATBED }, - { 4800, 2400, 1200, 600, 300, 150, 100, 75 }, - { 4800, 2400, 1200, 600, 300, 150, 100, 75 }, + // BUG: 4800 resolution crashes + { /*4800,*/ 2400, 1200, 600, 300, 150, 100, 75 }, + { /*4800,*/ 2400, 1200, 600, 300, 150, 100, 75 }, } };