kopia lustrzana https://gitlab.com/sane-project/backends
spelling fixes for umax backend
rodzic
0d862ba575
commit
064d73ed5a
|
@ -699,7 +699,7 @@ static unsigned char window_descriptor_blockC[] =
|
||||||
/* 0x48 */ 0x00, 0x00, 0x00, 0x00, /* Line Count */
|
/* 0x48 */ 0x00, 0x00, 0x00, 0x00, /* Line Count */
|
||||||
#define set_WD_line_count(sb, val) putnbyte(sb + 0x48, val, 4)
|
#define set_WD_line_count(sb, val) putnbyte(sb + 0x48, val, 4)
|
||||||
|
|
||||||
/* 0x4c */ 4, 176, /* x coordiante base 1200 (pts/inch) */
|
/* 0x4c */ 4, 176, /* x coordinate base 1200 (pts/inch) */
|
||||||
#define set_WD_x_coordinate_base(sb, val) putnbyte(sb + 0x4c, val, 2)
|
#define set_WD_x_coordinate_base(sb, val) putnbyte(sb + 0x4c, val, 2)
|
||||||
|
|
||||||
/* 0x4e */ 4, 176, /* y coordinate base 1200 (pts/inch) */
|
/* 0x4e */ 4, 176, /* y coordinate base 1200 (pts/inch) */
|
||||||
|
|
|
@ -231,7 +231,7 @@ static SANE_Status pv8630_init_umaxusb_scanner(int fd)
|
||||||
* sanei_umaxusb_req_wait() and sanei_umaxusb_req_enter()
|
* sanei_umaxusb_req_wait() and sanei_umaxusb_req_enter()
|
||||||
*
|
*
|
||||||
* I don't know if it is possible to queue the reads to the
|
* I don't know if it is possible to queue the reads to the
|
||||||
* scanner. So The queing is disabled. The performance does not seems
|
* scanner. So The queueing is disabled. The performance does not seems
|
||||||
* to be bad anyway.
|
* to be bad anyway.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ sanei_umaxusb_open (const char *dev, int *fdp,
|
||||||
SANE_Word vendor;
|
SANE_Word vendor;
|
||||||
SANE_Word product;
|
SANE_Word product;
|
||||||
|
|
||||||
/* We have openned the device. Check that it is a USB scanner. */
|
/* We have opened the device. Check that it is a USB scanner. */
|
||||||
if (sanei_usb_get_vendor_product (*fdp, &vendor, &product) != SANE_STATUS_GOOD) {
|
if (sanei_usb_get_vendor_product (*fdp, &vendor, &product) != SANE_STATUS_GOOD) {
|
||||||
/* This is not a USB scanner, or SANE or the OS doesn't support it. */
|
/* This is not a USB scanner, or SANE or the OS doesn't support it. */
|
||||||
sanei_usb_close(*fdp);
|
sanei_usb_close(*fdp);
|
||||||
|
|
|
@ -64,11 +64,11 @@
|
||||||
. . - sane_get_option_descriptor() : get option information
|
. . - sane_get_option_descriptor() : get option information
|
||||||
. . - sane_control_option() : change option values
|
. . - sane_control_option() : change option values
|
||||||
. .
|
. .
|
||||||
. . - sane_start() : start image aquisition
|
. . - sane_start() : start image acquisition
|
||||||
. . - sane_get_parameters() : returns actual scan-parameters
|
. . - sane_get_parameters() : returns actual scan-parameters
|
||||||
. . - sane_read() : read image-data (from pipe)
|
. . - sane_read() : read image-data (from pipe)
|
||||||
in ADF mode this is done often:
|
in ADF mode this is done often:
|
||||||
. . - sane_start() : start image aquisition
|
. . - sane_start() : start image acquisition
|
||||||
. . - sane_get_parameters() : returns actual scan-parameters
|
. . - sane_get_parameters() : returns actual scan-parameters
|
||||||
. . - sane_read() : read image-data (from pipe)
|
. . - sane_read() : read image-data (from pipe)
|
||||||
|
|
||||||
|
@ -1986,7 +1986,7 @@ static SANE_Status umax_queue_read_image_data_req(Umax_Device *dev, unsigned int
|
||||||
set_R_datatype_code(sread.cmd, R_datatype_imagedata); /* set datatype */
|
set_R_datatype_code(sread.cmd, R_datatype_imagedata); /* set datatype */
|
||||||
|
|
||||||
dev->length_queued[bufnr] = length; /* set length request */
|
dev->length_queued[bufnr] = length; /* set length request */
|
||||||
dev->length_read[bufnr] = length; /* set length request, can be changed asyncronous by umax_scsi_req_enter */
|
dev->length_read[bufnr] = length; /* set length request, can be changed asynchronous by umax_scsi_req_enter */
|
||||||
|
|
||||||
status = umax_scsi_req_enter(dev, sread.cmd, sread.size, dev->buffer[bufnr], &(dev->length_read[bufnr]), &(dev->queue_id[bufnr]));
|
status = umax_scsi_req_enter(dev, sread.cmd, sread.size, dev->buffer[bufnr], &(dev->length_read[bufnr]), &(dev->queue_id[bufnr]));
|
||||||
if (status)
|
if (status)
|
||||||
|
@ -3219,7 +3219,7 @@ static int umax_identify_scanner(Umax_Device *dev)
|
||||||
memcpy(dev->buffer[0]+0x24, inq_data.inquiry, inq_data.inquiry_len-0x24);
|
memcpy(dev->buffer[0]+0x24, inq_data.inquiry, inq_data.inquiry_len-0x24);
|
||||||
|
|
||||||
/* correct variables */
|
/* correct variables */
|
||||||
set_inquiry_sc_uta(dev->buffer[0], get_inquiry_transavail(dev->buffer[0])); /* transparancy available ? */
|
set_inquiry_sc_uta(dev->buffer[0], get_inquiry_transavail(dev->buffer[0])); /* transparency available ? */
|
||||||
set_inquiry_sc_adf(dev->buffer[0], get_inquiry_scanmode(dev->buffer[0])); /* automatic document feeder available ? */
|
set_inquiry_sc_adf(dev->buffer[0], get_inquiry_scanmode(dev->buffer[0])); /* automatic document feeder available ? */
|
||||||
|
|
||||||
set_inquiry_length(dev->buffer[0], inq_data.inquiry_len);
|
set_inquiry_length(dev->buffer[0], inq_data.inquiry_len);
|
||||||
|
@ -3934,7 +3934,7 @@ static int umax_check_values(Umax_Device *dev)
|
||||||
{
|
{
|
||||||
if ( (dev->colormode != RGB) || (dev->three_pass != 0) )
|
if ( (dev->colormode != RGB) || (dev->three_pass != 0) )
|
||||||
{
|
{
|
||||||
dev->do_color_ordering = 0; /* color ordering not necessery */
|
dev->do_color_ordering = 0; /* color ordering not necessary */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7946,7 +7946,7 @@ SANE_Status sane_start(SANE_Handle handle)
|
||||||
|
|
||||||
umax_set_window_param(scanner->device);
|
umax_set_window_param(scanner->device);
|
||||||
status = umax_start_scan(scanner->device);
|
status = umax_start_scan(scanner->device);
|
||||||
if (status) /* errror */
|
if (status) /* error */
|
||||||
{
|
{
|
||||||
umax_give_scanner(scanner->device); /* reposition and release scanner */
|
umax_give_scanner(scanner->device); /* reposition and release scanner */
|
||||||
return status;
|
return status;
|
||||||
|
@ -7967,13 +7967,13 @@ SANE_Status sane_start(SANE_Handle handle)
|
||||||
}
|
}
|
||||||
|
|
||||||
status = umax_do_calibration(scanner->device);
|
status = umax_do_calibration(scanner->device);
|
||||||
if (status) /* errror */
|
if (status) /* error */
|
||||||
{
|
{
|
||||||
umax_give_scanner(scanner->device); /* reposition and release scanner */
|
umax_give_scanner(scanner->device); /* reposition and release scanner */
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scanner->device->pause_after_calibration) /* may be usefull */
|
if (scanner->device->pause_after_calibration) /* may be useful */
|
||||||
{
|
{
|
||||||
DBG(DBG_info2,"pause after calibration %d msec ...\n", scanner->device->pause_after_calibration);
|
DBG(DBG_info2,"pause after calibration %d msec ...\n", scanner->device->pause_after_calibration);
|
||||||
usleep(((long) scanner->device->pause_after_calibration) * 1000); /* time in ms */
|
usleep(((long) scanner->device->pause_after_calibration) * 1000); /* time in ms */
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
# 1 = enabled (same values for red, green and blue)
|
# 1 = enabled (same values for red, green and blue)
|
||||||
#options exposure-time-rgb-bind 0
|
#options exposure-time-rgb-bind 0
|
||||||
|
|
||||||
# define if shading data shall be inverted befor sending it back to the scanner
|
# define if shading data shall be inverted before sending it back to the scanner
|
||||||
# -1 = automatically set by driver - if known
|
# -1 = automatically set by driver - if known
|
||||||
# 0 = disabled
|
# 0 = disabled
|
||||||
# 1 = enabled
|
# 1 = enabled
|
||||||
|
|
|
@ -183,7 +183,7 @@ enum Umax_Option
|
||||||
/* LIST OF AVAILABLE SCANNERS, THE VALUES LISTED HERE ARE THE SAME FOR DIFFERENT APPLICATIONS
|
/* LIST OF AVAILABLE SCANNERS, THE VALUES LISTED HERE ARE THE SAME FOR DIFFERENT APPLICATIONS
|
||||||
THAT USE THE SAME DEVICE */
|
THAT USE THE SAME DEVICE */
|
||||||
|
|
||||||
/* Umax_Device contains values relevant for the device that are not intersting for the sane interface */
|
/* Umax_Device contains values relevant for the device that are not interesting for the sane interface */
|
||||||
|
|
||||||
typedef struct Umax_Device
|
typedef struct Umax_Device
|
||||||
{
|
{
|
||||||
|
@ -354,21 +354,21 @@ typedef struct Umax_Device
|
||||||
int use_exposure_time_def_b; /* exposure time default */
|
int use_exposure_time_def_b; /* exposure time default */
|
||||||
|
|
||||||
int wdb_len; /* use this length of WDB */
|
int wdb_len; /* use this length of WDB */
|
||||||
unsigned int width_in_pixels; /* thats the wanted width in pixels */
|
unsigned int width_in_pixels; /* that's the wanted width in pixels */
|
||||||
unsigned int length_in_pixels; /* thats the wanted length in pixels */
|
unsigned int length_in_pixels; /* that's the wanted length in pixels */
|
||||||
unsigned int scanwidth; /* thats the width in pixels at x_coordinate_base dpi */
|
unsigned int scanwidth; /* that's the width in pixels at x_coordinate_base dpi */
|
||||||
unsigned int scanlength; /* thats the length in pixels at y_coordinate_base dpi */
|
unsigned int scanlength; /* that's the length in pixels at y_coordinate_base dpi */
|
||||||
unsigned int bytes_per_color; /* bytes per each color */
|
unsigned int bytes_per_color; /* bytes per each color */
|
||||||
|
|
||||||
unsigned int x_resolution; /* scan-resolution for x in dpi */
|
unsigned int x_resolution; /* scan-resolution for x in dpi */
|
||||||
unsigned int y_resolution; /* scan-resolution for y in dpi */
|
unsigned int y_resolution; /* scan-resolution for y in dpi */
|
||||||
double scale_x; /* x-scaling of optical resolution */
|
double scale_x; /* x-scaling of optical resolution */
|
||||||
double scale_y; /* y-scaling of optical resolution */
|
double scale_y; /* y-scaling of optical resolution */
|
||||||
int upper_left_x; /* thats the left edge in points at 1200pt/inch */
|
int upper_left_x; /* that's the left edge in points at 1200pt/inch */
|
||||||
int upper_left_y; /* thats the top edge in points at 1200pt/inch */
|
int upper_left_y; /* that's the top edge in points at 1200pt/inch */
|
||||||
|
|
||||||
unsigned int x_coordinate_base; /* x base in pixels/inch, normaly 1200 */
|
unsigned int x_coordinate_base; /* x base in pixels/inch, normally 1200 */
|
||||||
unsigned int y_coordinate_base; /* y base in pixels/inch, normaly 1200 */
|
unsigned int y_coordinate_base; /* y base in pixels/inch, normally 1200 */
|
||||||
|
|
||||||
unsigned int bits_per_pixel; /* number of bits per pixel */
|
unsigned int bits_per_pixel; /* number of bits per pixel */
|
||||||
int bits_per_pixel_code; /* 1 = 24bpp, 4 = 30 bpp, 8 = 36 bpp */
|
int bits_per_pixel_code; /* 1 = 24bpp, 4 = 30 bpp, 8 = 36 bpp */
|
||||||
|
@ -396,7 +396,7 @@ typedef struct Umax_Device
|
||||||
int adf; /* 1 if ADF turned on */
|
int adf; /* 1 if ADF turned on */
|
||||||
int uta; /* 1 if UTA turned on */
|
int uta; /* 1 if UTA turned on */
|
||||||
int calibration; /* calibration :0=ignore, 1=driver, 2=by image */
|
int calibration; /* calibration :0=ignore, 1=driver, 2=by image */
|
||||||
int low_byte_first; /* 10 bit mode: 0=high byte frist, 1=low byte frist */
|
int low_byte_first; /* 10 bit mode: 0=high byte first, 1=low byte first */
|
||||||
int colormode; /* LINEART, HALFTONE, GRAYSCALE or RGB */
|
int colormode; /* LINEART, HALFTONE, GRAYSCALE or RGB */
|
||||||
# define LINEART 1
|
# define LINEART 1
|
||||||
# define HALFTONE 2
|
# define HALFTONE 2
|
||||||
|
|
|
@ -557,7 +557,7 @@ Supported scanners:
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">*** Astra 6400 and 6450 are firewire scanners: not tested.</font>
|
<font color="#990000">*** Astra 6400 and 6450 are firewire scanners: not tested.</font>
|
||||||
<p>
|
<p>
|
||||||
<font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -121,7 +121,7 @@ and how you have to set the permissions of that device, have a look at
|
||||||
<blockquote>
|
<blockquote>
|
||||||
When the generic scsi driver of the system supports selection
|
When the generic scsi driver of the system supports selection
|
||||||
of scsi buffer sizes the umax backend calculates the scsi buffer
|
of scsi buffer sizes the umax backend calculates the scsi buffer
|
||||||
sizes in dependance of the numbers of bytes per scanline.
|
sizes in dependence of the numbers of bytes per scanline.
|
||||||
With <i>scsi-buffer-size-min</i> and <i>scsi-buffer-size-max</i>
|
With <i>scsi-buffer-size-min</i> and <i>scsi-buffer-size-max</i>
|
||||||
the scsi buffer size can be defined in a range between 4KB and 1MB.
|
the scsi buffer size can be defined in a range between 4KB and 1MB.
|
||||||
Especially the minimum value is very important. If this value is
|
Especially the minimum value is very important. If this value is
|
||||||
|
@ -150,7 +150,7 @@ work you can set the option <i>force-preview-bit-rgb 1</i>.
|
||||||
This always sets the preview bit when acquiring a color scan.
|
This always sets the preview bit when acquiring a color scan.
|
||||||
The image quality may be reduced.
|
The image quality may be reduced.
|
||||||
<p>
|
<p>
|
||||||
Some scanners (especally very old scanners) may need the options
|
Some scanners (especially very old scanners) may need the options
|
||||||
<i>slow-speed</i> and/or <i>care-about-smearing</i>. The value
|
<i>slow-speed</i> and/or <i>care-about-smearing</i>. The value
|
||||||
-1 uses the value defined by the driver, 0 disables the feature,
|
-1 uses the value defined by the driver, 0 disables the feature,
|
||||||
1 enables the feature. <b>Do not change these options unless
|
1 enables the feature. <b>Do not change these options unless
|
||||||
|
@ -411,7 +411,7 @@ export SANE_DEBUG_UMAX=8
|
||||||
<center>
|
<center>
|
||||||
<hr WIDTH="100%">
|
<hr WIDTH="100%">
|
||||||
<br>
|
<br>
|
||||||
<font color="#009900">This page has been changed on 27th. feburary 2001</font>
|
<font color="#009900">This page has been changed on 27th. february 2001</font>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</center>
|
</center>
|
||||||
|
|
|
@ -258,7 +258,7 @@ series:</b></td>
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">* Mirage D-16L scanners allow scanning up to 800x800 / 1600x1600 dpi.</font>
|
<font color="#990000">* Mirage D-16L scanners allow scanning up to 800x800 / 1600x1600 dpi.</font>
|
||||||
<p>
|
<p>
|
||||||
<font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -217,7 +217,7 @@ and USB- scanners are not supported!</b>
|
||||||
</table></center>
|
</table></center>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<p><font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<p><font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -517,7 +517,7 @@ Supported scanners:
|
||||||
<font color="#990000">* Powerlook 1100 is a firewire scanner: not tested</font>
|
<font color="#990000">* Powerlook 1100 is a firewire scanner: not tested</font>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br>
|
<br>
|
||||||
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -686,7 +686,7 @@ Here is a list of the UMAX-compatible scanners:
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<p><font color="#990000">* Scanner is able to scan up to 1200 x 1200 dpi.</font>
|
<p><font color="#990000">* Scanner is able to scan up to 1200 x 1200 dpi.</font>
|
||||||
<p><font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<p><font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
@ -1028,7 +1028,7 @@ Here is a list of the UMAX-compatible scanners:
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<p><font color="#990000">* Scanner is able to scan up to 1200 x 1200 dpi.</font>
|
<p><font color="#990000">* Scanner is able to scan up to 1200 x 1200 dpi.</font>
|
||||||
<p><font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<p><font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
</center>
|
</center>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -82,7 +82,7 @@ is an example of the frontend
|
||||||
<p><br>
|
<p><br>
|
||||||
The options Gamma, brightness, contrast and negative in the
|
The options Gamma, brightness, contrast and negative in the
|
||||||
main window come from xsane that calculates a gamma table using this values.
|
main window come from xsane that calculates a gamma table using this values.
|
||||||
These values are corelated to highlight, midlight and shadow sliders in
|
These values are correlated to highlight, midlight and shadow sliders in
|
||||||
the Histogram window.
|
the Histogram window.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -595,7 +595,7 @@ Supported scanners:
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
|
||||||
<p><font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<p><font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -599,7 +599,7 @@ Supported scanners:
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<p><font color="#990000">* Supervista S12 scanners allow scanning up to 1200x1200 dpi.</font>
|
<p><font color="#990000">* Supervista S12 scanners allow scanning up to 1200x1200 dpi.</font>
|
||||||
<p><font color="#990000">UTA = Umax Transparancy Adapter, ADF = Automatic Document Feeder</font>
|
<p><font color="#990000">UTA = Umax Transparency Adapter, ADF = Automatic Document Feeder</font>
|
||||||
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
<br><font color="#990000">(X = supported by scanner, incl = is included)</font>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@ umax -> sane-0.6:
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
* umax-sane-backend created:
|
* umax-sane-backend created:
|
||||||
- umax.c splitted in:
|
- umax.c split in:
|
||||||
umax-cli.c, umax-scsi.c, umax-driver.c, umax-text.c
|
umax-cli.c, umax-scsi.c, umax-driver.c, umax-text.c
|
||||||
- umax.h splitted in:
|
- umax.h split in:
|
||||||
umax-scanner.h, umax-scsi.h, umax-scsidef.h, umax-struct.h
|
umax-scanner.h, umax-scsi.h, umax-scsidef.h, umax-struct.h
|
||||||
- outputs done by DBG(level,msg,args...) defined in debug.h
|
- outputs done by DBG(level,msg,args...) defined in debug.h
|
||||||
- scsi-calls changed to sane-format (of sane-0.57)
|
- scsi-calls changed to sane-format (of sane-0.57)
|
||||||
|
@ -91,7 +91,7 @@ sane-0.6 / 0.61 / 0.62 -> 0.63
|
||||||
|
|
||||||
* reset adf and uta flag when not used (in sane_start)
|
* reset adf and uta flag when not used (in sane_start)
|
||||||
|
|
||||||
* added possibilty to change calibration-mode if available
|
* added possibility to change calibration-mode if available
|
||||||
|
|
||||||
* added send_halftone_pattern to umax-scsi.c
|
* added send_halftone_pattern to umax-scsi.c
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ sane-0.6 / 0.61 / 0.62 -> 0.63
|
||||||
and added missing 3 wid-bytes in scan.cmd
|
and added missing 3 wid-bytes in scan.cmd
|
||||||
|
|
||||||
* removed parameter color in three_pass_function_headers,
|
* removed parameter color in three_pass_function_headers,
|
||||||
the color ist taken from us->three_pass_color now.
|
the color is taken from us->three_pass_color now.
|
||||||
|
|
||||||
|
|
||||||
sane-0.63/0.64/0.65 -> 0.66
|
sane-0.63/0.64/0.65 -> 0.66
|
||||||
|
@ -189,7 +189,7 @@ sane-0.66 -> 0.67
|
||||||
|
|
||||||
* removed bug (wrong length for 10 bit-gamma) in send_gamma_data
|
* removed bug (wrong length for 10 bit-gamma) in send_gamma_data
|
||||||
|
|
||||||
* changed all buffer-definitions to unsigned char and insterted
|
* changed all buffer-definitions to unsigned char and inserted
|
||||||
type conversions, so there are no more warnings because of
|
type conversions, so there are no more warnings because of
|
||||||
typemismatches.
|
typemismatches.
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ sane-0.67 -> 0.68
|
||||||
|
|
||||||
* changed open config to fp = sanei_config_open(UMAX_CONFIG_FILE)
|
* changed open config to fp = sanei_config_open(UMAX_CONFIG_FILE)
|
||||||
|
|
||||||
* changed all set OPT...BIND commands, endless-loop happend in sane-0.67
|
* changed all set OPT...BIND commands, endless-loop happened in sane-0.67
|
||||||
=>ane-0.67-umax-fix.diff.gz
|
=>ane-0.67-umax-fix.diff.gz
|
||||||
after that patch changed same for ten_bit_mode
|
after that patch changed same for ten_bit_mode
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ sane-0.68 -> 0.69
|
||||||
|
|
||||||
* changed name: umax_read_data_block -> umax_read_image_data
|
* changed name: umax_read_data_block -> umax_read_image_data
|
||||||
|
|
||||||
* changed length offest in do_inquiry from 5 to 4
|
* changed length offset in do_inquiry from 5 to 4
|
||||||
and changed set_inquiry_length-offset from 5 to 4
|
and changed set_inquiry_length-offset from 5 to 4
|
||||||
|
|
||||||
* added calib_lines to structure US and added it to
|
* added calib_lines to structure US and added it to
|
||||||
|
@ -278,7 +278,7 @@ sane-0.69 -> 0.70
|
||||||
* moved reader_process from umax.c to umax-scsi.c
|
* moved reader_process from umax.c to umax-scsi.c
|
||||||
and added routine for color ordering.
|
and added routine for color ordering.
|
||||||
|
|
||||||
* reset length offest in do_inquiry from 4 to 5
|
* reset length offset in do_inquiry from 4 to 5
|
||||||
and set_inquiry_length-offset from 4 to 5
|
and set_inquiry_length-offset from 4 to 5
|
||||||
because umax-S6E didn't work with it!
|
because umax-S6E didn't work with it!
|
||||||
|
|
||||||
|
@ -395,7 +395,7 @@ sane-0.73 -> 0.74
|
||||||
There must'nt be a "wait_scanner" in calibration by driver routine!!!
|
There must'nt be a "wait_scanner" in calibration by driver routine!!!
|
||||||
|
|
||||||
* added usage of driver internal values for calibration by driver if
|
* added usage of driver internal values for calibration by driver if
|
||||||
the scanner does not give back the informations about the shading data:
|
the scanner does not give back the information about the shading data:
|
||||||
width = dev->width * dev->inquiry_optical_res ( * 3 in RGB-mode )
|
width = dev->width * dev->inquiry_optical_res ( * 3 in RGB-mode )
|
||||||
|
|
||||||
* added 2 calibration-routines:
|
* added 2 calibration-routines:
|
||||||
|
@ -497,7 +497,7 @@ build-2 -> build-3 (sane-1.0.1)
|
||||||
|
|
||||||
* inversion of calibration is automatically set for Astra 6X0S and Vista S6E
|
* inversion of calibration is automatically set for Astra 6X0S and Vista S6E
|
||||||
|
|
||||||
* check for machine endianess is done only at backend start now!
|
* check for machine endianness is done only at backend start now!
|
||||||
|
|
||||||
* made umax_do request_sense static
|
* made umax_do request_sense static
|
||||||
|
|
||||||
|
@ -566,7 +566,7 @@ build-7 -> build-8
|
||||||
* for Mirage D-16L the driver does not wait any more until scanner is repositioned
|
* for Mirage D-16L the driver does not wait any more until scanner is repositioned
|
||||||
this is experimental, it may work with other scanners too!
|
this is experimental, it may work with other scanners too!
|
||||||
|
|
||||||
* Mirage D-16L does not give back informations for calibration by driver,
|
* Mirage D-16L does not give back information for calibration by driver,
|
||||||
added new modus that "guesses" the values for Mirage D-16L.
|
added new modus that "guesses" the values for Mirage D-16L.
|
||||||
|
|
||||||
* Added read_shading_data to 16 bit calibration routine and made a routine for
|
* Added read_shading_data to 16 bit calibration routine and made a routine for
|
||||||
|
@ -594,7 +594,7 @@ build-8 -> build-9
|
||||||
|
|
||||||
* gamma table is disabled in lineart and halftone modes
|
* gamma table is disabled in lineart and halftone modes
|
||||||
|
|
||||||
* if image is transmitted completly sane_read (close_pipe)
|
* if image is transmitted completely sane_read (close_pipe)
|
||||||
returns with SANE_STATUS_GOOD in adf mode and in any other case
|
returns with SANE_STATUS_GOOD in adf mode and in any other case
|
||||||
with SANE_STATUS_EOF
|
with SANE_STATUS_EOF
|
||||||
|
|
||||||
|
@ -735,7 +735,7 @@ build-19 -> build-20
|
||||||
* added variable calibration_width_offset, Mirage D-16L offset of 308 is defined there
|
* added variable calibration_width_offset, Mirage D-16L offset of 308 is defined there
|
||||||
and added offset of 28 for PowerLook III
|
and added offset of 28 for PowerLook III
|
||||||
|
|
||||||
* umax_do_calibration: guessed calibration data vaules use 2 bytes/color if scanner
|
* umax_do_calibration: guessed calibration data values use 2 bytes/color if scanner
|
||||||
supports gamma input bit depth supports 2 bytes/color
|
supports gamma input bit depth supports 2 bytes/color
|
||||||
|
|
||||||
* calibration by driver now does work for PowerLook III
|
* calibration by driver now does work for PowerLook III
|
||||||
|
@ -780,7 +780,7 @@ build-21 -> build-22
|
||||||
higher scsi-ID (=priority) does scan without stops,
|
higher scsi-ID (=priority) does scan without stops,
|
||||||
the other scanner has to wait long time between the
|
the other scanner has to wait long time between the
|
||||||
scsi-read commands, it also is possible to give
|
scsi-read commands, it also is possible to give
|
||||||
bothe scanners different scsi command queueing depth).
|
both scanners different scsi command queueing depth).
|
||||||
|
|
||||||
* prepared replacement of pipe by sanei_ipc_* routines
|
* prepared replacement of pipe by sanei_ipc_* routines
|
||||||
|
|
||||||
|
@ -915,7 +915,7 @@ build-25 -> build-26
|
||||||
* added Mirage II as supported scanner
|
* added Mirage II as supported scanner
|
||||||
|
|
||||||
* added routine umax_set_max_geometry that defines available surface
|
* added routine umax_set_max_geometry that defines available surface
|
||||||
and resolution in dependance of scansource and double optical resolution
|
and resolution in dependence of scansource and double optical resolution
|
||||||
(before this bugfix the change of dor mode overwrote the settings of
|
(before this bugfix the change of dor mode overwrote the settings of
|
||||||
scansource and vice versa)
|
scansource and vice versa)
|
||||||
|
|
||||||
|
@ -927,7 +927,7 @@ build-25 -> build-26
|
||||||
|
|
||||||
* sane_exit does free devlist
|
* sane_exit does free devlist
|
||||||
|
|
||||||
* added some options for Powerlook 3000 - still is not completly supported
|
* added some options for Powerlook 3000 - still is not completely supported
|
||||||
|
|
||||||
|
|
||||||
build-26 -> build-27
|
build-26 -> build-27
|
||||||
|
@ -1140,7 +1140,7 @@ build-41 -> build-42
|
||||||
|
|
||||||
* replaced fork() routines by sanei_thread routines
|
* replaced fork() routines by sanei_thread routines
|
||||||
|
|
||||||
* added call sanei_scsi_req_flush_all(); to do_cancel - in threaded case this is not done when reader_process is cancled
|
* added call sanei_scsi_req_flush_all(); to do_cancel - in threaded case this is not done when reader_process is canceled
|
||||||
|
|
||||||
* in reader_process: marked freed scsi buffers as freed(NULL). This is necessary when reader_process is run as thread!
|
* in reader_process: marked freed scsi buffers as freed(NULL). This is necessary when reader_process is run as thread!
|
||||||
|
|
||||||
|
@ -1156,7 +1156,7 @@ build-42 -> build-43
|
||||||
build-43 -> build-44
|
build-43 -> build-44
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* the sense_hanlder stores the sense data in buffer[0] when valid sense data is avialable
|
* the sense_hanlder stores the sense data in buffer[0] when valid sense data is available
|
||||||
|
|
||||||
* do_calibration:
|
* do_calibration:
|
||||||
- corrected bug in reading calibration width from scanner (added /bytespp)
|
- corrected bug in reading calibration width from scanner (added /bytespp)
|
||||||
|
@ -1167,5 +1167,5 @@ build-43 -> build-44
|
||||||
build-44 -> build-45
|
build-44 -> build-45
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* added defualt options for Linotype Opal2
|
* added default options for Linotype Opal2
|
||||||
* changed bug in highlight-blue function (using green value)
|
* changed bug in highlight-blue function (using green value)
|
||||||
|
|
|
@ -64,7 +64,7 @@ A: There are at least two kind of scsi controller cards that
|
||||||
Q: I use linux with a NCR/Symbios logic SCSI-Controller, sane does not work
|
Q: I use linux with a NCR/Symbios logic SCSI-Controller, sane does not work
|
||||||
right.
|
right.
|
||||||
|
|
||||||
A: There are two differen drivers in the linux Kernel/modules.
|
A: There are two different drivers in the linux Kernel/modules.
|
||||||
Use the BSD-driver ncr53c8xx or sym53c8xx.
|
Use the BSD-driver ncr53c8xx or sym53c8xx.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
@ -141,5 +141,5 @@ A: The optimization set by "-O2" makes problems, try which one of the following
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
You find a lot of tips and informations in the internet. E.g. take a look
|
You find a lot of tips and information on the internet. E.g. take a look
|
||||||
at http://www.scantips.com
|
at http://www.scantips.com
|
||||||
|
|
Ładowanie…
Reference in New Issue