From 13c07cf87d94ab220b92fa729c8d4c97c697279d Mon Sep 17 00:00:00 2001 From: Oliver Schwartz Date: Sun, 25 Sep 2005 08:19:12 +0000 Subject: [PATCH] Removed debugging code for Epson scanners --- ChangeLog | 5 +++++ backend/snapscan-scsi.c | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0877c8977..b3f8d9fce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-25 Oliver Schwartz + + * backend/snapscan-scsi.c: Removed debugging code for + Epson scanners until a working solution has been found. + 2005-09-23 Henning Meier-Geinitz * README: Mention in addition to the listed libraries, their diff --git a/backend/snapscan-scsi.c b/backend/snapscan-scsi.c index 3f667957b..f3ac520ab 100644 --- a/backend/snapscan-scsi.c +++ b/backend/snapscan-scsi.c @@ -438,10 +438,12 @@ static SANE_Status inquiry (SnapScan_Scanner *pss) SANE_Status status; switch (pss->pdev->model) { +/* Doesn't work yet case PERFECTION2480: case PERFECTION3490: pss->read_bytes = (pss->firmware_loaded) ? 139 : INQUIRY_RET_LEN; break; +*/ default: pss->read_bytes = INQUIRY_RET_LEN; break; @@ -479,14 +481,15 @@ static SANE_Status inquiry (SnapScan_Scanner *pss) pss->chroma_offset[B_CHAN] = 0; pss->chroma = 0; break; +/* Doesn't work yet case PERFECTION2480: case PERFECTION3490: - /* TODO: remove */ if (pss->firmware_loaded) { snapscani_debug_data(tmpstr, pss->buf+120, 19); DBG (DL_DATA_TRACE, "%s: Epson additional inquiry data:\n%s\n", me, tmpstr); } +*/ default: { signed char min_diff; @@ -1428,6 +1431,9 @@ static SANE_Status download_firmware(SnapScan_Scanner * pss) /* * $Log$ + * Revision 1.38 2005/09/25 08:19:12 oliver-guest + * Removed debugging code for Epson scanners + * * Revision 1.37 2005/09/03 11:31:31 oliver-guest * Another small bugfix *