kopia lustrzana https://gitlab.com/sane-project/backends
Start exposure with the settings from the scanner entry. CIS
Calibration and exposure uses a broader spectrum now. Expsoure limit is increased to 50 loops. Genius Vivid 4x is reported to work so the UNTESTED label is removed now. Visioneer 7300 is reported to work so the UNTESTED label is removed now. Genius ColorPage Vivid 1200XE: Removed UNTESTED label. Fixed resolutions. Adjusted margins. Fixed color order. Fixed linedistance. Adjusted AFE. Mustek ScanExpress 1248 UB: Fixed margins. Adjusted AFE. Adjusted exposure. Adjusted gamma. Changed status to "complete". Mustek BearPaw 2400 CU Plus: Adsusted exposure and AFE parameters. Hopefully stripes and similar trouble are gone now. Mustek BearPaw 1200 CU: Increased exposure to avoid vertical lines. Updated manual page.merge-requests/1/head
rodzic
ceaa2ddade
commit
6fd1ee367e
18
ChangeLog
18
ChangeLog
|
@ -4,7 +4,23 @@
|
|||
SCX-4100 is "good" asit's reported to work.
|
||||
* doc/sane-usb.man doc/sane.man: Updated, mostly concerning kernel
|
||||
scanner driver (deprecated). Minor fixes.
|
||||
|
||||
* backend/gt68xx.c backend/gt68xx_devices.c backend/gt68xx_high.c
|
||||
backend/gt68xx_low.h doc/sane-gt68xx.man
|
||||
doc/descriptions/gt68xx.desc doc/gt68xx/gt68xx.CHANGES
|
||||
doc/gt68xx/gt68xx.TODO:
|
||||
Start exposure with the settings from the scanner entry. CIS
|
||||
Calibration and exposure uses a broader spectrum now. Expsoure
|
||||
limit is increased to 50 loops. Genius Vivid 4x is reported to
|
||||
work so the UNTESTED label is removed now. Visioneer 7300 is
|
||||
reported to work so the UNTESTED label is removed now. Genius
|
||||
ColorPage Vivid 1200XE: Removed UNTESTED label. Fixed
|
||||
resolutions. Adjusted margins. Fixed color order. Fixed
|
||||
linedistance. Adjusted AFE. Mustek ScanExpress 1248 UB: Fixed
|
||||
margins. Adjusted AFE. Adjusted exposure. Adjusted
|
||||
gamma. Changed status to "complete". Mustek BearPaw 2400 CU
|
||||
Plus: Adsusted exposure and AFE parameters. Hopefully stripes
|
||||
and similar trouble are gone now. Mustek BearPaw 1200 CU:
|
||||
Increased exposure to avoid vertical lines. Updated manual page.
|
||||
|
||||
2005-05-28 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include "../include/sane/config.h"
|
||||
|
||||
#define BUILD 69
|
||||
#define BUILD 70
|
||||
#define MAX_DEBUG
|
||||
#define WARMUP_TIME 60
|
||||
#define CALIBRATION_HEIGHT 2.5
|
||||
|
@ -156,11 +156,6 @@ static SANE_Range y_range = {
|
|||
SANE_FIX (0.0) /* quantization */
|
||||
};
|
||||
|
||||
static const SANE_Range exposure_range = {
|
||||
0, /* minimum */
|
||||
511, /* maximum */
|
||||
1 /* quantization */
|
||||
};
|
||||
|
||||
static const SANE_Range offset_range = {
|
||||
-63, /* minimum */
|
||||
|
|
|
@ -497,9 +497,9 @@ static GT68xx_Model mustek_1200cuplus2_model = {
|
|||
0, /* CCD distcance for CCD with 6 lines) */
|
||||
|
||||
COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
|
||||
{0x16, 0x02, 0x16, 0x02, 0x16, 0x01}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
{0x19, 0x03, 0x1b, 0x05, 0x19, 0x03}, /* Default offset/gain */
|
||||
{0xb0, 0xb0, 0xb0}, /* Default exposure parameters */
|
||||
SANE_FIX (1.5), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_NO_STOP /* Which flags are needed for this scanner? */
|
||||
|
@ -532,7 +532,7 @@ static GT68xx_Model mustek_2400cuplus_model = {
|
|||
SANE_FIX (217.0), /* Size of scan area in mm (x) */
|
||||
SANE_FIX (300.0), /* Size of scan area in mm (y) */
|
||||
|
||||
SANE_FIX (5.0), /* Start of white strip in mm (y) */
|
||||
SANE_FIX (4.0), /* Start of white strip in mm (y) */
|
||||
SANE_FIX (0.0), /* Start of black mark in mm (x) */
|
||||
|
||||
SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */
|
||||
|
@ -546,9 +546,9 @@ static GT68xx_Model mustek_2400cuplus_model = {
|
|||
0, /* CCD distcance for CCD with 6 lines) */
|
||||
|
||||
COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
|
||||
{0x1a, 0x16, 0x15, 0x08, 0x0e, 0x02}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
{0x15, 0x08, 0x12, 0x05, 0x12, 0x05}, /* Default offset/gain */
|
||||
{0x2a0, 0x1ab, 0x10d}, /* Default exposure parameters */
|
||||
SANE_FIX (1.5), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
0 /* Which flags are needed for this scanner? */
|
||||
|
@ -599,7 +599,7 @@ static GT68xx_Model mustek_1200cu_model = {
|
|||
|
||||
COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
|
||||
{0x13, 0x04, 0x15, 0x06, 0x0f, 0x02}, /* Default offset/gain */
|
||||
{0x123, 0x137, 0x116}, /* Default exposure parameters */
|
||||
{0x150, 0x150, 0x150}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
|
@ -677,8 +677,8 @@ static GT68xx_Model mustek_scanexpress1248ub_model = {
|
|||
{16, 12, 8, 0}, /* possible depths in gray mode */
|
||||
{16, 12, 8, 0}, /* possible depths in color mode */
|
||||
|
||||
SANE_FIX (0.0), /* Start of scan area in mm (x) */
|
||||
SANE_FIX (13.0), /* Start of scan area in mm (y) */
|
||||
SANE_FIX (4.0), /* Start of scan area in mm (x) */
|
||||
SANE_FIX (14.5), /* Start of scan area in mm (y) */
|
||||
SANE_FIX (217.0), /* Size of scan area in mm (x) */
|
||||
SANE_FIX (299.0), /* Size of scan area in mm (y) */
|
||||
|
||||
|
@ -696,13 +696,13 @@ static GT68xx_Model mustek_scanexpress1248ub_model = {
|
|||
0, /* CCD distcance for CCD with 6 lines) */
|
||||
|
||||
COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
|
||||
{0x14, 0x07, 0x14, 0x07, 0x14, 0x07}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
{0x1e, 0x08, 0x21, 0x0d, 0x1b, 0x05}, /* Default offset/gain */
|
||||
{0x50, 0x50, 0x50}, /* Default exposure parameters */
|
||||
SANE_FIX (1.5), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_NO_STOP /* Which flags are needed for this scanner? */
|
||||
/* Completely untested, seems to use gt6816 CIS, details unknown */
|
||||
/* tested by hmg */
|
||||
};
|
||||
|
||||
|
||||
|
@ -895,7 +895,7 @@ static GT68xx_Model mustek_a3usb_model = {
|
|||
COLOR_ORDER_RGB, /* Order of the CCD/CIS colors */
|
||||
{0x14, 0x05, 0x12, 0x05, 0x17, 0x0c}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
SANE_FIX (1.5), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_CIS_LAMP | GT68XX_FLAG_OFFSET_INV /* Which flags are needed for this scanner? */
|
||||
|
@ -1205,8 +1205,8 @@ static GT68xx_Model genius_vivid4x_model = {
|
|||
SANE_FIX (2.0), /* Default gamma value */
|
||||
|
||||
SANE_FALSE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_OFFSET_INV | GT68XX_FLAG_ALWAYS_LINEMODE | GT68XX_FLAG_UNTESTED /* Which flags are needed for this scanner? */
|
||||
/* Mostly untested, copied from 3x, some values from Claudio Filho <filhocf@openoffice.org> */
|
||||
GT68XX_FLAG_OFFSET_INV | GT68XX_FLAG_ALWAYS_LINEMODE /* Which flags are needed for this scanner? */
|
||||
/* Is reported to work, copied from 3x, some values from Claudio Filho <filhocf@openoffice.org> */
|
||||
};
|
||||
|
||||
static GT68xx_Model genius_vivid4xe_model = {
|
||||
|
@ -1317,19 +1317,19 @@ static GT68xx_Model genius_vivid1200xe_model = {
|
|||
&mustek_gt6816_command_set, /* Command set used by this scanner */
|
||||
|
||||
600, /* maximum optical sensor resolution */
|
||||
600, /* maximum motor resolution */
|
||||
1200, /* maximum motor resolution */
|
||||
600, /* base x-res used to calculate geometry */
|
||||
600, /* base y-res used to calculate geometry */
|
||||
1200, /* if ydpi is equal or higher, disable backtracking */
|
||||
SANE_TRUE, /* Use base_ydpi for all resolutions */
|
||||
|
||||
{600, 300, 150, 75, 0}, /* possible x-resolutions */
|
||||
{600, 300, 150, 75, 0}, /* possible y-resolutions */
|
||||
{600, 300, 200, 100, 50, 0}, /* possible x-resolutions */
|
||||
{1200, 600, 300, 200, 100, 50, 0}, /* possible y-resolutions */
|
||||
{12, 8, 0}, /* possible depths in gray mode */
|
||||
{12, 8, 0}, /* possible depths in color mode */
|
||||
|
||||
SANE_FIX (3.5), /* Start of scan area in mm (x) */
|
||||
SANE_FIX (7.5), /* Start of scan area in mm (y) */
|
||||
SANE_FIX (4.5), /* Start of scan area in mm (x) */
|
||||
SANE_FIX (8.5), /* Start of scan area in mm (y) */
|
||||
SANE_FIX (218.0), /* Size of scan area in mm (x) */
|
||||
SANE_FIX (299.0), /* Size of scan area in mm (y) */
|
||||
|
||||
|
@ -1343,17 +1343,17 @@ static GT68xx_Model genius_vivid1200xe_model = {
|
|||
|
||||
SANE_FIX (0.0), /* Start of white strip in TA mode in mm (y) */
|
||||
|
||||
0, 8, 16, /* RGB CCD Line-distance correction in pixel */
|
||||
48, 24, 0, /* RGB CCD Line-distance correction in pixel */
|
||||
0, /* CCD distcance for CCD with 6 lines) */
|
||||
|
||||
COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
|
||||
{0x1c, 0x29, 0x1c, 0x2c, 0x1c, 0x2b}, /* Default offset/gain */
|
||||
COLOR_ORDER_RGB, /* Order of the CCD/CIS colors */
|
||||
{0x18, 0x1c, 0x16, 0x12, 0x18, 0x1c}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
|
||||
SANE_FALSE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_OFFSET_INV | GT68XX_FLAG_ALWAYS_LINEMODE | GT68XX_FLAG_UNTESTED /* Which flags are needed for this scanner? */
|
||||
/* untested */
|
||||
GT68XX_FLAG_OFFSET_INV | GT68XX_FLAG_ALWAYS_LINEMODE /* Which flags are needed for this scanner? */
|
||||
/* Tested by hmg */
|
||||
};
|
||||
|
||||
static GT68xx_Model plustek_opticslim1200_model = {
|
||||
|
@ -1445,13 +1445,12 @@ static GT68xx_Model plustek_opticslim2400_model = {
|
|||
|
||||
COLOR_ORDER_RGB, /* Order of the CCD/CIS colors */
|
||||
{0x15, 0x09, 0x18, 0x11, 0x16, 0x0c}, /* Default offset/gain */
|
||||
{0x157, 0x157, 0x157}, /* Default exposure parameters */
|
||||
SANE_FIX (2.0), /* Default gamma value */
|
||||
{0x300, 0x300, 0x300}, /* Default exposure parameters */
|
||||
SANE_FIX (1.5), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
0
|
||||
/* By Detlef Gausepohl <detlef@psych.rwth-aachen.de>. Fixed and tested by hmg.
|
||||
2400 dpi y doesn't seem to work? */
|
||||
/* By Detlef Gausepohl <detlef@psych.rwth-aachen.de>. Fixed and tested by hmg. */
|
||||
};
|
||||
|
||||
static GT68xx_Model visioneer_onetouch_7300_model = {
|
||||
|
@ -1499,7 +1498,7 @@ static GT68xx_Model visioneer_onetouch_7300_model = {
|
|||
SANE_FIX (2.0), /* Default gamma value */
|
||||
|
||||
SANE_TRUE, /* Is this a CIS scanner? */
|
||||
GT68XX_FLAG_UNTESTED
|
||||
0
|
||||
};
|
||||
|
||||
/* Untested. Based on Plustek OpticPro 2400. */
|
||||
|
|
|
@ -523,19 +523,6 @@ gt68xx_scanner_start_scan_extended (GT68xx_Scanner * scanner,
|
|||
return status;
|
||||
}
|
||||
}
|
||||
DBG (5,
|
||||
"gt68xx_start_scan_extended: afe: %02X %02X %02X %02X %02X %02X\n",
|
||||
afe.r_offset, afe.r_pga, afe.g_offset, afe.g_pga, afe.b_offset,
|
||||
afe.b_pga);
|
||||
|
||||
if (action == SA_SCAN)
|
||||
{
|
||||
|
||||
DBG (5, "gt68xx_start_scan_extended: using afe: "
|
||||
"%02X %02X %02X %02X %02X %02X\n",
|
||||
afe.r_offset, afe.r_pga, afe.g_offset, afe.g_pga, afe.b_offset,
|
||||
afe.b_pga);
|
||||
}
|
||||
|
||||
status = gt68xx_device_set_afe (scanner->dev, &afe);
|
||||
if (status != SANE_STATUS_GOOD)
|
||||
|
@ -880,6 +867,7 @@ gt68xx_scanner_start_scan (GT68xx_Scanner * scanner,
|
|||
}
|
||||
if (!scanner->dev->model->is_cis)
|
||||
sleep (2);
|
||||
|
||||
return gt68xx_scanner_start_scan_extended (scanner, request, SA_SCAN,
|
||||
params);
|
||||
}
|
||||
|
@ -1596,8 +1584,8 @@ finish:
|
|||
*old_gain = *gain;
|
||||
*old_offset = *offset;
|
||||
|
||||
DBG (4, "%5s white=%3d, black=%3d, offset=%2d, gain=%2d, old offs=%2d, "
|
||||
"old gain=%2d, total_white=%5d %s\n", color_name, values->white,
|
||||
DBG (4, "%5s white=%3d, black=%3d, offset=0x%02X, gain=0x%02X, old offs=0x%02X, "
|
||||
"old gain=0x%02X, total_white=%5d %s\n", color_name, values->white,
|
||||
values->black, o, g, *offset, *gain, values->total_white,
|
||||
done ? "DONE " : "");
|
||||
|
||||
|
@ -1615,16 +1603,16 @@ gt68xx_afe_cis_adjust_exposure (SANE_String_Const color_name,
|
|||
SANE_Int * exposure_time)
|
||||
{
|
||||
SANE_Int exposure_change = 0;
|
||||
gt68xx_afe_cis_calc_white (values, white_buffer);
|
||||
|
||||
gt68xx_afe_cis_calc_white (values, white_buffer);
|
||||
|
||||
if (values->white < border)
|
||||
{
|
||||
exposure_change = ((border - values->white) * 1);
|
||||
(*exposure_time) += exposure_change;
|
||||
DBG (4,
|
||||
"%5s: white = %3d (exposure too low) --> exposure += %d (=0x%03x)\n",
|
||||
color_name, values->white, exposure_change, *exposure_time);
|
||||
"%5s: white = %3d, total_white=%5d (exposure too low) --> exposure += %d (=0x%03x)\n",
|
||||
color_name, values->white, values->total_white, exposure_change, *exposure_time);
|
||||
return SANE_FALSE;
|
||||
}
|
||||
else if (values->white > border + 5)
|
||||
|
@ -1632,14 +1620,14 @@ gt68xx_afe_cis_adjust_exposure (SANE_String_Const color_name,
|
|||
exposure_change = -((values->white - (border + 5)) * 1);
|
||||
(*exposure_time) += exposure_change;
|
||||
DBG (4,
|
||||
"%5s: white = %3d (exposure too high) --> exposure -= %d (=0x%03x)\n",
|
||||
color_name, values->white, exposure_change, *exposure_time);
|
||||
"%5s: white = %3d, total_white=%5d (exposure too high) --> exposure -= %d (=0x%03x)\n",
|
||||
color_name, values->white, values->total_white, exposure_change, *exposure_time);
|
||||
return SANE_FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG (4, "%5s: white = %3d (exposure ok=0x%03x)\n",
|
||||
color_name, values->white, *exposure_time);
|
||||
DBG (4, "%5s: white = %3d, total_white=%5d (exposure ok=0x%03x)\n",
|
||||
color_name, values->white, values->total_white, *exposure_time);
|
||||
}
|
||||
return SANE_TRUE;
|
||||
}
|
||||
|
@ -1702,8 +1690,8 @@ gt68xx_afe_cis_read_lines (GT68xx_Afe_Values * values,
|
|||
values->scan_dpi = params.xdpi;
|
||||
values->calwidth = params.pixel_xs;
|
||||
values->callines = params.pixel_ys;
|
||||
values->coarse_black = 5;
|
||||
values->coarse_white = 242;
|
||||
values->coarse_black = 2;
|
||||
values->coarse_white = 253;
|
||||
|
||||
if (r_buffer && g_buffer && b_buffer)
|
||||
for (line = 0; line < values->callines; line++)
|
||||
|
@ -1753,6 +1741,10 @@ gt68xx_afe_cis_auto (GT68xx_Scanner * scanner)
|
|||
|
||||
memset (&old_afe, 255, sizeof (old_afe));
|
||||
|
||||
/* Start with the preset exposure settings */
|
||||
memcpy (scanner->dev->exposure, &scanner->dev->model->exposure,
|
||||
sizeof (*scanner->dev->exposure));
|
||||
|
||||
RIE (gt68xx_afe_cis_read_lines (&values, scanner, SANE_FALSE, SANE_FALSE,
|
||||
r_gbuffer, g_gbuffer, b_gbuffer));
|
||||
|
||||
|
@ -1773,7 +1765,6 @@ gt68xx_afe_cis_auto (GT68xx_Scanner * scanner)
|
|||
return SANE_STATUS_NO_MEM;
|
||||
|
||||
total_count = 0;
|
||||
exposure->r_time = exposure->g_time = exposure->b_time = 0x157;
|
||||
red_done = green_done = blue_done = SANE_FALSE;
|
||||
old_afe.r_offset = old_afe.g_offset = old_afe.b_offset = 255;
|
||||
old_afe.r_pga = old_afe.g_pga = old_afe.b_pga = 255;
|
||||
|
@ -1812,7 +1803,7 @@ gt68xx_afe_cis_auto (GT68xx_Scanner * scanner)
|
|||
/* Exposure time */
|
||||
exposure_count = 0;
|
||||
red_done = green_done = blue_done = SANE_FALSE;
|
||||
/*exposure->r_time = exposure->g_time = exposure->b_time = 0x150; */
|
||||
|
||||
do
|
||||
{
|
||||
/* read white line */
|
||||
|
@ -1820,20 +1811,20 @@ gt68xx_afe_cis_auto (GT68xx_Scanner * scanner)
|
|||
r_gbuffer, g_gbuffer, b_gbuffer));
|
||||
if (!red_done)
|
||||
red_done =
|
||||
gt68xx_afe_cis_adjust_exposure ("red", &values, r_gbuffer, 240,
|
||||
gt68xx_afe_cis_adjust_exposure ("red", &values, r_gbuffer, 248,
|
||||
&exposure->r_time);
|
||||
if (!green_done)
|
||||
green_done =
|
||||
gt68xx_afe_cis_adjust_exposure ("green", &values, g_gbuffer, 240,
|
||||
gt68xx_afe_cis_adjust_exposure ("green", &values, g_gbuffer, 248,
|
||||
&exposure->g_time);
|
||||
if (!blue_done)
|
||||
blue_done =
|
||||
gt68xx_afe_cis_adjust_exposure ("blue", &values, b_gbuffer, 240,
|
||||
gt68xx_afe_cis_adjust_exposure ("blue", &values, b_gbuffer, 248,
|
||||
&exposure->b_time);
|
||||
exposure_count++;
|
||||
total_count++;
|
||||
}
|
||||
while ((!red_done || !green_done || !blue_done) && exposure_count < 30);
|
||||
while ((!red_done || !green_done || !blue_done) && exposure_count < 50);
|
||||
|
||||
if (!red_done || !green_done || !blue_done)
|
||||
DBG (0, "gt68xx_afe_cis_auto: setting exposure reached limit\n");
|
||||
|
|
|
@ -114,7 +114,6 @@
|
|||
#define GT68XX_FLAG_USE_OPTICAL_X (1 << 10) /* Use optical xdpi for 50 dpi and below */
|
||||
#define GT68XX_FLAG_ALWAYS_LINEMODE (1 << 11) /* Linemode must be used for any resolution */
|
||||
|
||||
|
||||
/* Forward typedefs */
|
||||
typedef struct GT68xx_USB_Device_Entry GT68xx_USB_Device_Entry;
|
||||
typedef struct GT68xx_Command_Set GT68xx_Command_Set;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
:backend "gt68xx"
|
||||
:version "1.0-69"
|
||||
:version "1.0-70"
|
||||
:manpage "sane-gt68xx"
|
||||
:url "http://www.meier-geinitz.de/sane/gt68xx-backend/"
|
||||
:comment "Only the USB scanners mentioned below are supported. For other Mustek BearPaws, look at the Plustek and the MA-1509 backend."
|
||||
|
@ -74,9 +74,9 @@
|
|||
:comment "Should work but has limited testing. Please contact me if you own such a device."
|
||||
|
||||
:model "Colorpage Vivid 1200 XE"
|
||||
:status :minimal
|
||||
:status :good
|
||||
:interface "USB"
|
||||
:comment "Gray and lineart works. Preview doesn't work."
|
||||
;:comment ""
|
||||
|
||||
; -----------------------------------------------------------------------------
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
|||
:model "BearPaw 1200 CU Plus"
|
||||
:interface "USB"
|
||||
:status :good
|
||||
:comment "Procuct id 0x021b. Works."
|
||||
:comment "Procuct id 0x021b."
|
||||
|
||||
:model "BearPaw 1200 TA"
|
||||
:interface "USB"
|
||||
|
@ -215,8 +215,7 @@
|
|||
|
||||
:model "ScanExpress 1248 UB"
|
||||
:interface "USB"
|
||||
:status :basic
|
||||
:comment "Works but image quality is not perfect yet (stripes). Please contact me if you want to help fixing that."
|
||||
:status :complete
|
||||
|
||||
:model "ScanExpress A3 USB"
|
||||
:interface "USB"
|
||||
|
|
|
@ -1,5 +1,22 @@
|
|||
gt68xx.CHANGES -*-text-*-
|
||||
|
||||
V 1.0.70 (2005-05-29)
|
||||
|
||||
* Start exposure with the settings from the scanner entry.
|
||||
* CIS Calibration and exposure uses a broader spectrum now.
|
||||
* Expsoure limit is increased to 50 loops.
|
||||
* Genius Vivid 4x is reported to work so the UNTESTED label is removed now.
|
||||
* Visioneer 7300 is reported to work so the UNTESTED label is removed now.
|
||||
* Genius ColorPage Vivid 1200XE: Removed UNTESTED label. Fixed
|
||||
resolutions. Adjusted margins. Fixed color order. Fixed linedistance.
|
||||
Adjusted AFE.
|
||||
* Mustek ScanExpress 1248 UB: Fixed margins. Adjusted AFE. Adjusted
|
||||
exposure. Adjusted gamma. Changed status to "complete".
|
||||
* Mustek BearPaw 2400 CU Plus: Adsusted exposure and AFE parameters. Hopefully
|
||||
stripes and similar trouble are gone now.
|
||||
* Mustek BearPaw 1200 CU: Increased exposure to avoid vertical lines.
|
||||
* Updated manual page.
|
||||
|
||||
V 1.0.69 (2005-05-20)
|
||||
|
||||
* Mustek BearPaw 1200 CU Plus model 0x21b works now. Fixed firmware and offset
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
gt68xx.TODO -*-text-*-
|
||||
|
||||
General:
|
||||
--------
|
||||
- some sort of fixed lookup-table is necessary to compensate for the non-linear
|
||||
CCD/CIS behaviour. A gamma value is not good enough. Or maybe line calibration
|
||||
can be used for that?
|
||||
- Scanning on *BSD works only once for all scanners but 2448. firmware
|
||||
|
||||
- some sort of fixed lookup-table may be necessary to compensate for the
|
||||
non-linear CCD/CIS behaviour. A gamma value is not good enough. Or maybe line
|
||||
calibration can be used for that?
|
||||
- Scanning on *BSD works only once for all scanners but 2448. Firmware
|
||||
upload sometimes works more than once
|
||||
- Check autobandwidth
|
||||
- check several get scanner info functions
|
||||
|
@ -23,13 +26,11 @@ CCD:
|
|||
fine calib is ok
|
||||
coarse calib has an extremely high gain
|
||||
|
||||
Mustek ScanExpress 1248 UB
|
||||
- Bad vertical stripes
|
||||
|
||||
Mustek BearPaw 2400 TA Plus:
|
||||
- some lines at the beginning of each image have wrong colors (linedistance?)
|
||||
This seems to happen with other scanners, too.
|
||||
- 600 dpi no backtrack, 1200, 2400 dpi backtrack (gray), check with windows for color
|
||||
- 600 dpi no backtrack, 1200, 2400 dpi backtrack (gray), check with windows for
|
||||
color
|
||||
- 600 dpi 12 bit seems to work in pixel mode only (but long lines are too big!)
|
||||
|
||||
Mustek BearPaw 1200 TA:
|
||||
|
@ -50,45 +51,46 @@ Plustek U16B:
|
|||
- 600 dpi 16 bit is limited to about half the size of the scan area because
|
||||
only pixel mode works and 16k is the maximum buffer size.
|
||||
|
||||
Genius ColorPage Vivid 1200XE
|
||||
- 16 bit per color is advertized but this mode doesn't seem to work
|
||||
(only 36 bit)?
|
||||
- 1200x1200 and 1200x2400 dpi doesn't seem to work despite being advertized
|
||||
- Y-positining varies slightly with resolution (some mm)
|
||||
|
||||
CIS:
|
||||
----
|
||||
|
||||
- first offset always 0?
|
||||
- use factor in line calib to reduce bluish look?
|
||||
- calib: like CCD black+white at the same time?
|
||||
- exposure is done in windows always after gain (algo?)
|
||||
- exposure sometimes is endless?
|
||||
- coarse + fine calib in color mode
|
||||
- It may be necessary to do an additional exposure calibration before the
|
||||
offset/gain calibration to compensate for different intensities of the
|
||||
colored leds. Especially for the Mustek 2400 CU Plus.
|
||||
- Changing exposure doesn't seem to have any effect during calibration
|
||||
sometimes while it has an effect on the final image?
|
||||
|
||||
Mustek BearPaw 1200 CU
|
||||
- still vertical lines sometimes (esp. white)?
|
||||
- image is bluish
|
||||
- bright strip on left side? Also visible without white calibration. Check exposure.
|
||||
- check with windows
|
||||
- 600 dpi no backtrack
|
||||
- ok
|
||||
|
||||
Mustek BearPaw 1200 CU Plus
|
||||
- vertical lines
|
||||
- image is redish
|
||||
Mustek BearPaw 1200 CU Plus (0x021b)
|
||||
- ok, but similar exposure problems as 2400 CU Plus
|
||||
|
||||
Mustek BearPaw 2400 CU Plus
|
||||
- first offset is ok!
|
||||
- exposure limit is easily reached
|
||||
- exp start: 0a (fixed)
|
||||
- exp stop starts at 2ce
|
||||
- exp runs in the wrong direction (not repr.)?
|
||||
- win: optimization is active!
|
||||
- also small white vert. strip at the left
|
||||
- check backtrack limit (1200?)
|
||||
- ok, but exposure setting may need to be done automatically if the intensity
|
||||
of the colors varies for different scanners.
|
||||
- calibration/exposure has sometimes sharp jumps in intensity. Reason is
|
||||
unknown.
|
||||
|
||||
Mustek ScanExpress A3 USB
|
||||
- still slight vert. stripes
|
||||
- why is line distance setup necessary? Is there a better setting than 0,5,5?
|
||||
- exposure is not done automatically, check logfiles
|
||||
|
||||
Mustek ScanExpress 2400 USB
|
||||
- make it work
|
||||
Mustek ScanExpress 1248 UB
|
||||
ok
|
||||
|
||||
Plustek OpticSlim 2400
|
||||
- only upto 1200 dpi vertical works
|
||||
- only 8 and 12 bit work, 16 doesn't (check Windows)
|
||||
- exposure is extermely high and seems to have similar problems as with other
|
||||
CIS scanners
|
||||
|
||||
Mustek ScanExpress 2400 USB
|
||||
- make it work (nobody seems to have this device)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH sane-gt68xx 5 "2 Oct 2004" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
||||
.TH sane-gt68xx 5 "29 May 2005" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
||||
.IX sane-gt68xx
|
||||
.SH NAME
|
||||
sane-gt68xx \- SANE backend for GT-68XX based USB flatbed scanners
|
||||
|
@ -7,117 +7,20 @@ The
|
|||
.B sane-gt68xx
|
||||
library implements a SANE (Scanner Access Now Easy) backend that provides
|
||||
access to USB flatbed scanners based on the Grandtech GT-6801 and GT-6816
|
||||
chips. At present, the following scanners are known to work with this
|
||||
backend:
|
||||
.PP
|
||||
.RS
|
||||
Artec Ultima 2000 (only product 0x4002)
|
||||
.br
|
||||
Artec Ultima 2000 e+
|
||||
.br
|
||||
Boeder SmartScan Slim Edition
|
||||
.br
|
||||
Fujitsu 1200CUS
|
||||
.br
|
||||
Genius Colorpage Vivid3x
|
||||
.br
|
||||
Genius Colorpage Vivid3 V2
|
||||
.br
|
||||
Genius Colorpage Vivid3xe
|
||||
.br
|
||||
Genius Colorpage Vivid4
|
||||
.br
|
||||
Genius Colorpage Vivid4x
|
||||
.br
|
||||
Genius Colorpage Vivid4xe
|
||||
.br
|
||||
Genius Colorpage Vivid 1200 xe
|
||||
.br
|
||||
Googlegear 2000
|
||||
.br
|
||||
Lexmark X70
|
||||
.br
|
||||
Lexmark X73
|
||||
.br
|
||||
Medion/Lifetec/Tevion MD 4395
|
||||
.br
|
||||
Medion/Lifetec/Tevion/Cytron MD/LT 9385
|
||||
.br
|
||||
Medion/Lifetec/Tevion LT 9452
|
||||
.br
|
||||
Medion/Lifetec/Tevion MD 9458
|
||||
.br
|
||||
Mustek BearPaw 1200 CS
|
||||
.br
|
||||
Mustek BearPaw 1200 CU (Plus)
|
||||
.br
|
||||
Mustek BearPaw 1200 TA
|
||||
.br
|
||||
Mustek BearPaw 2400 CS (Plus)
|
||||
.br
|
||||
Mustek BearPaw 2400 CU (Plus)
|
||||
.br
|
||||
Mustek BearPaw 2400 TA (Plus)
|
||||
.br
|
||||
Mustek BearPaw 2448 CS Plus
|
||||
.br
|
||||
Mustek BearPaw 2448 TA Plus
|
||||
.br
|
||||
Mustek Plug-n-Scan 2400 M
|
||||
.br
|
||||
Plug-n-Scan 2400 MT
|
||||
.br
|
||||
Mustek ScanExpress A3 USB
|
||||
.br
|
||||
Mustek ScanExpress 1200 UB Plus
|
||||
.br
|
||||
Mustek ScanExpress 1248 UB
|
||||
.br
|
||||
Mustek ScanExpress 2400 USB
|
||||
.br
|
||||
Mustek ScanMagic 1200 UB Plus
|
||||
.br
|
||||
Packard Bell Diamond 1200 (Plus)
|
||||
.br
|
||||
Packard Bell Diamond 2450
|
||||
.br
|
||||
Plustek OpticPro 1248U
|
||||
.br
|
||||
Plustek OpticPro U16B (+)
|
||||
.br
|
||||
Plustek OpticPro UT16B (+)
|
||||
.br
|
||||
Plustek OpticSlim 1200
|
||||
.br
|
||||
Plustek OpticSlim 2400
|
||||
.br
|
||||
RevScan 19200i
|
||||
.br
|
||||
Trust Compact Scan USB 19200
|
||||
.br
|
||||
Trust Flat Scan USB 19200
|
||||
.br
|
||||
Trust 240TH Easy Webscan Gold
|
||||
.RE
|
||||
.PP
|
||||
More details can be found on the gt68xx backend homepage
|
||||
chips. A list of supported scanners can be found on the gt68xx backend
|
||||
homepage:
|
||||
.IR http://www.meier-geinitz.de/sane/gt68xx/ .
|
||||
.PP
|
||||
The Artec E+ 48U and its clones are supported by the artec_eplus48u backend, see
|
||||
.BR sane\-artec_eplus48u (5)
|
||||
for details.
|
||||
.PP
|
||||
This is BETA software. Especially if you test new or untested scanners, keep
|
||||
your hand at the scanner's plug and unplug it, if the head bumps at the end of
|
||||
the scan area.
|
||||
.PP
|
||||
If you own a scanner other than the ones listed above that works with this
|
||||
If you own a scanner other than the ones listed on the gt68xx homepage that works with this
|
||||
backend, please let me know this by sending the scanner's exact model name and
|
||||
the USB vendor and device ids (e.g. from
|
||||
.IR /proc/bus/usb/devices ,
|
||||
.I sane-find-scanner
|
||||
or syslog) to me. Even if the scanner's name is only slightly different from
|
||||
the models mentioned above, please let me know.
|
||||
the models already listed as supported, please let me know.
|
||||
.PP
|
||||
If you own a scanner that isn't detected by the gt68xx backend but has a GT-6801
|
||||
or GT-6816 chipset, you can try to add it to the backend. Have a look at the
|
||||
|
@ -125,18 +28,12 @@ following web page:
|
|||
.I http://www.meier-geinitz.de/sane/gt68xx-backend/adding.html
|
||||
.PP
|
||||
.SH KERNEL ISSUES
|
||||
If libusb-0.1.6 or later is installed, this section can be skipped. The
|
||||
scanner should be found by sane-find-scanner without further actions. For
|
||||
setting permissions and general USB information looks at
|
||||
Please use libusb-0.1.6 or later. Without libusb or with older libusb versions
|
||||
all kinds of trouble can be expected. The scanner should be found by
|
||||
sane-find-scanner without further actions. For setting permissions and general
|
||||
USB information looks at
|
||||
.BR sane\-usb (5).
|
||||
.PP
|
||||
The scanners based on the GT-6816 (Mustek BearPaw TA and BearPaw Plus models,
|
||||
the Packard Bell and the Lexmark scanner) need a Linux kernel 2.4.12 or newer.
|
||||
Recent 2.2 kernels may also work, but I haven't tested them. Older kernels or
|
||||
other operating systems won't work. Use libusb instead.
|
||||
.PP
|
||||
The scanners based on the GT-6801 (all other scanners) need Linux kernel
|
||||
2.4.21 or newer. Older kernels will not work.
|
||||
|
||||
.SH FIRMWARE FILE
|
||||
You need a firmware file for your scanner. That's a small file containing
|
||||
|
@ -145,10 +42,10 @@ software that will be uploaded to the scanner's memory. It's usually named
|
|||
.IR PS1fw.usb .
|
||||
It comes on the installation CD that was provided by the manufacturer, but it
|
||||
may be packaged together with the installation program in an .exe file. For
|
||||
Mustek scanners, the file can be dowloaded from the gt68xx backend
|
||||
homepage. For other scanners, check the CD for .usb files. If everything else
|
||||
fails, you must install the Windows driver and get the firmware from there
|
||||
(usually in the
|
||||
Mustek scanners, the file can be dowloaded from the gt68xx backend homepage. For
|
||||
other scanners, check the CD for .usb files. If you only find *.cab files, try
|
||||
cabextract to unpack. If everything else fails, you must install the Windows
|
||||
driver and get the firmware from there (usually in the
|
||||
.I windows/system
|
||||
or
|
||||
.I system32
|
||||
|
|
Ładowanie…
Reference in New Issue