kopia lustrzana https://gitlab.com/sane-project/backends
- made /dev/parport0 the default device for scanning
- small picture quamity improvementRELEASE_1_0_11_BRANCH
rodzic
6a432ce796
commit
34ba009415
|
@ -1,3 +1,8 @@
|
|||
2003-01-05 Stéphane Voltz <svoltz@wanadoo.fr>
|
||||
|
||||
* backend/umax_pp_low.c: small image quality improvement
|
||||
* backend/umax_pp.conf: ppdev device is now default option
|
||||
|
||||
2003-01-04 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* frontend/saned.c: Print version number.
|
||||
|
|
|
@ -10,10 +10,10 @@ option buffer 2097152
|
|||
|
||||
# specify the port your scanner is connected to. Possible are 0x378 (lp0)
|
||||
# 0x278 (lp2) and 0x3c8 (lp1)
|
||||
# on linux systems, you may provide the device name of the ppdev character device
|
||||
# /dev/parport0, /dev/parport1, ......
|
||||
# default is direct hardware access since ppdev is available for linux only
|
||||
port 0x378
|
||||
# on linux systems, you may provide the device name of the ppdev character
|
||||
# device : /dev/parport0, /dev/parport1, ......
|
||||
# default is ppdev since major use of the backend is for linux
|
||||
port /dev/parport0
|
||||
|
||||
# the following options are local to this scanner
|
||||
# gain for red channel, if not given, will be automatically computed
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* sane - Scanner Access Now Easy.
|
||||
/**
|
||||
Copyright (C) 2001 Stéphane Voltz <svoltz@wanadoo.fr>
|
||||
This file is part of the SANE package.
|
||||
|
||||
|
@ -7813,6 +7813,7 @@ sanei_umax_pp_StartScan (int x, int y, int width, int height, int dpi,
|
|||
-1
|
||||
};
|
||||
|
||||
|
||||
#ifdef UMAX_PP_DANGEROUS_EXPERIMENT
|
||||
FILE *f = NULL;
|
||||
char line[1024], *ptr;
|
||||
|
@ -8146,8 +8147,10 @@ sanei_umax_pp_StartScan (int x, int y, int width, int height, int dpi,
|
|||
|
||||
if (color >= RGB_MODE)
|
||||
{
|
||||
opsc53[6] = 0x00;
|
||||
opsc53[7] = 0x2F;
|
||||
/* 00 seems to give better results ? */
|
||||
/* 80 some more gain, lamp power level ? */
|
||||
/* 8x does not make much difference */
|
||||
opsc04[6] = 0x8F;
|
||||
if (sanei_umax_pp_getastra () == 1600)
|
||||
{
|
||||
|
@ -8156,13 +8159,12 @@ sanei_umax_pp_StartScan (int x, int y, int width, int height, int dpi,
|
|||
}
|
||||
else
|
||||
{
|
||||
opsc04[7] = 0xA0;
|
||||
opsc04[7] = 0xF0;
|
||||
opsc53[13] = 0x09;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
opsc53[6] = 0x60;
|
||||
opsc53[7] = 0x40;
|
||||
opsc53[13] = 0xC0;
|
||||
opsc04[6] = 0x80 | ((gain / 16) & 0x0F);
|
||||
|
|
Ładowanie…
Reference in New Issue