FS#20053 - only b/w scanning possible with sane 1.0.21 and xerox backend

Attached to Project: Arch Linux
Opened by jozef riha (jose1711) - Friday, 02 July 2010, 12:05 GMT
Last edited by Ionut Biru (wonder) - Saturday, 03 July 2010, 15:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Sane (sane-project) 1.0.21 introduced a bug in xerox_mfp backend which is affecting multiple devices (samsung, xerox). Due to this bug no (true)color scanning is possible - only grayscale and lineart modes are possible.

There is a fix already in upstream git:

diff --git a/backend/xerox_mfp.c b/backend/xerox_mfp.c
index cda6e82..e6ede0d 100644
--- a/backend/xerox_mfp.c
+++ b/backend/xerox_mfp.c
@@ -386,6 +386,7 @@ static int doc_source_to_code[] = {

static SANE_String_Const scan_modes[] = {
SANE_VALUE_SCAN_MODE_LINEART,
+ SANE_VALUE_SCAN_MODE_HALFTONE,
SANE_VALUE_SCAN_MODE_GRAY,
SANE_VALUE_SCAN_MODE_COLOR,
NULL

I suggest to adopt the patch until the new version is released (as this is clearly a regression).

Additional info:
* sane 1.0.21-2
* upstream bugreport: https://alioth.debian.org/tracker/?group_id=30186&atid=410366&func=detail&aid=312485

Steps to reproduce:
* run xsane
* scan colored image in mode: color
* output: grayscale
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 03 July 2010, 15:09 GMT
Reason for closing:  Implemented
Additional comments about closing:  sane 1.0.21-3

Loading...