Bug 79245

Summary: 3-pass scanner not working (Mustek MFS-6000CX SCSI)
Product: [Applications] kooka Reporter: Werner Kruse <kruseswerner>
Component: generalAssignee: Jonathan Marten <jjm>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version: 0.40   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Werner Kruse 2004-04-07 18:02:09 UTC
Version:           0.40 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i586) release 2.4.20-4GB

Bug:
The Mustek Scanner MFS-6000CX is an old type "THREE-PASS" color scanner, which requires three scans per complete scan cycle. When selecting the "GRAY" mode at the scanner menu, the scan will be completed successfully. When selecting the "COLOR" mode, the scanner stops after the first scan. To complete the color scan, two more scans are required.

The scanner is connected via an ADAPTEC AHA-2930 SCSI controller.
(The scanner ist working properly under Windows-NT)
Comment 1 Jonathan Marten 2010-05-13 16:04:33 UTC
SVN commit 1126279 by marten:

Big clean up and update of the KScanDevice/KScanOption/KScanControl
code and API.

KScanDevice:

There can only be one of these in an application due to KScanOption
needing access to its global data.  Eliminated that global data, added
access functions.  Constructor is private, use KScanDevice::create().

Get the option description and tooltip from SANE, so only the option
name is required to create it.

Fix 3-pass scanning in doProcessABlock() - bug 79245.

KScanOption:

Fix getting option range and eliminate some very dodgy stuff for a
SANE_CONSTRAINT_WORD_LIST.

Simplify createWidget() and its helper functions.

Set a label buddy here, instead of the caller having to do it.

KScanControl:

Make all of the control types subclasses of an abstract base class, for
a consistent API.

Added KScanCheckbox for consistency.

Eliminate spurious last filter entry in URL requester.

CCBUG:79245


 M  +2 -2      kooka/kookaview.cpp  
 M  +3 -3      kooka/ocrgocrdialog.cpp  
 M  +4 -4      kooka/photocopyprintdialogpage.cpp  
 M  +4 -0      kooka/scanparamsdialog.cpp  
 M  +11 -9     libkscan/gammadialog.cpp  
 M  +1 -1      libkscan/kgammatable.h  
 M  +150 -205  libkscan/kscancontrols.cpp  
 M  +208 -156  libkscan/kscancontrols.h  
 M  +142 -217  libkscan/kscandevice.cpp  
 M  +70 -72    libkscan/kscandevice.h  
 M  +288 -394  libkscan/kscanoption.cpp  
 M  +80 -129   libkscan/kscanoption.h  
 M  +137 -227  libkscan/scanparams.cpp  
 M  +26 -31    libkscan/scanparams.h  
 M  +5 -5      libkscan/scansourcedialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1126279
Comment 2 Jonathan Marten 2010-05-13 16:07:11 UTC
3-pass mode should be fixed by commit in comment #1 - I don't have an actual
3-pass scanner to test this with, but it works with the SANE test device.

If you can compile from source, please try the KDE4 port and see whether this
fixes the problem.  SVN access and build instructions are at http://techbase.kde.org/Projects/Kooka.