Wykres commitów

189 Commity (2c3100dd18fd35b28437c7283ce572fd93eb6bad)

Autor SHA1 Wiadomość Data
Matthew Duggan 8519f13eb4 Added support for FB620P to canon_pp backend. 2002-09-01 08:57:29 +00:00
Matthew Duggan e4414bbd32 * backend/canon_pp.c backend/canon_pp-dev.c backend/caon_pp-io.c
backend/canon_pp-dev.h: Many changes: Bug fixes, less memory leaks                                       (none left now?), more relaible, faster.  Biggest changes are                                            speculative reads (ask scanner to read more while data processing
occurs) and more reliable sending of commands.  Slight performance
increase over previous version.
* doc/sane-canon_pp.man: Added discussion noting that scanning
greyscale in green is bad for colour.
2002-08-07 07:56:09 +00:00
Matthew Duggan 7e08793645 * backend/canon_pp-dev.c: Misc bug fixes for fast machines, more
useful debug messages, more reliable file reads/writes.
2002-08-01 07:36:09 +00:00
Henning Geinitz c664285078 Changed timeouts and added scanner sleeps to improve reliability of 6x0P
models.  Also corrected typo which caused full bed scans to fail.  Disabled
problematic detect for now, will make detection slightly slower. Patch from
Matthew Duggan <stauff1@users.sourceforge.net>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-07 11:20:46 +00:00
Henning Geinitz 21c146f14b Added new canon_pp backend for the CanoScan FB330P, FB630P, N340P, and N640P
scanners. Patch from "Matthew Duggan" <stauff@guarana.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-01 22:54:24 +00:00
Stéphane Voltz 61b8100c90 * DBG() macro clean-up
* fixed color transfer for 1600P models
        * fixed potential crash if dump file couldn't be opened for writing
        * added ppdev device name handling
        * added model override
1994-02-15 08:43:42 +00:00
Stéphane Voltz f02205558f - tuned down pauses in scanner (EPAT in fact) ringing
- include header files accordingly to config.h
	- 'indent' all files to get them all right
2002-02-05 07:14:53 +00:00
Stéphane Voltz 4548a075aa - added udelay() in epat wake up function to get some 2000P correctly
detected on fast hardware.
2002-01-24 05:56:13 +00:00
Stéphane Voltz e118d4e33b - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- corrected mode setting before claiming parport
2002-01-06 16:23:02 +00:00
Stéphane Voltz d7aefb2efe - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- better color calibration
2002-01-06 16:22:07 +00:00
Stéphane Voltz acfec05565 - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
2002-01-06 16:21:14 +00:00
Stéphane Voltz c22a71f12c - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- improved warming up
	- improved color calibration
2002-01-06 16:20:45 +00:00
Abel Deuring c9cb6e30fb Replaced the configure option --enable-diretio with --enable-scsi-directio
and --enable-parport-directio.

NOTE: While I know, what the SCSI direct IO means, I have no idea, what
direct IO means in the context of the parport, so somebody needs to add
some useful description about parport direct io to configure.in and to
README (or README.linux)
2001-12-28 13:26:10 +00:00
Stéphane Voltz c75d696770 - corrected a color calibration bug which prevented correct use
of manual settings. Scans are also of much better quality now.
2001-11-23 13:37:26 +00:00
Stéphane Voltz be12d73aa3 - fixed umax_pp build problem on non i386 arch when no sys/io.h
present.
2001-11-22 05:09:07 +00:00
Stéphane Voltz 60502fe47b - removed buggy extra ifdef, this should fix PPC compil problem 2001-11-12 05:52:00 +00:00
Stéphane Voltz ab7dfb5804 * use ENABLE_DIRECTIO to compile in direct I/O. Corrected the long
standing scan area origin detection bug. Improved parport mode
	  negociation.
2001-11-10 16:43:15 +00:00
Stéphane Voltz 33ab575684 * fix a compile problem when no 'ppdev device' is available. 2001-09-18 04:57:51 +00:00
Stéphane Voltz a7a2ab7f11 * added handling of ppdev for kernels prior to 2.4.5 2001-09-16 05:55:35 +00:00
Stéphane Voltz a167ab7164 * made CmdSetDataBuffer static 2001-09-06 04:27:25 +00:00
Stéphane Voltz b45760ec45 * switched to use of ppdev device when available. Scans as normal
user are possible.
2001-09-03 12:43:26 +00:00
Stéphane Voltz ce357e613a * ended probe code cleaning 2001-08-19 04:58:33 +00:00
Stéphane Voltz d266220666 * added detection of EPP mode failure, and added a message to read
the doc forthis case.
	* one more step in cleaning scanner probing: InitBuffer001 and 002
		gone away.
2001-08-01 06:27:14 +00:00
Stéphane Voltz d78110e38d * started code rewrite/cleanup of probe sequence
* fixed 'greenish' looking scans
2001-07-24 04:42:48 +00:00
Stéphane Voltz 73c7e19d2d * fixed 'highlight' option parsing 2001-07-24 04:41:18 +00:00
Stéphane Voltz 3553dfc927 * backend/umax_pp_low.c backend/umax_pp_low.h backend/umax_pp_mid.c:
make use of PPGETMODES only when available in ppdev.h. Corrected OS/2
	  typo in Outb() and rename sanei_umax_pp_Lamp() to
	  sanei_umax_pp_SetLamp().
2001-06-11 04:46:51 +00:00
Stéphane Voltz e0fa6483c5 * use PPGETMODES ioctl to get ppdev available modes 2001-06-07 04:39:06 +00:00
Stéphane Voltz 6ae6c96191 * backend/umax_pp_low.c: OS/2 compile fixes (again). Backend
successfully built on Warp with EMX 0.9d.
2001-06-06 16:13:29 +00:00
Stéphane Voltz f75abf6660 * OS/2 compile fixes (use EMX direct I/O primitives) 2001-06-06 04:41:54 +00:00
Stéphane Voltz e2ff628346 2001-06-03 Stéphane Voltz <svoltz@wanadoo.fr>
* backend/umax_pp_low.c: Fixed compile problem on archs that
	  have inb/outb and not insb/outsb. Cleaned up and simplified probing
	  code.
2001-06-03 05:48:05 +00:00
Henning Geinitz 56a651ff89 Fixed the FreeBSD problems by checking /dev/io before accessing
io ports (patch from Stéphane Voltz <svoltz@wanadoo.fr>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-01 16:57:25 +00:00
Henning Geinitz 7f5bead68b Fixed bus error with FreeBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-28 18:57:14 +00:00
Stéphane Voltz c31543e6d5 * backend/umax_pp_low.c: commented out a useless command sequence.
Added 55 AA pattern escaping in data block sending.
2001-05-23 06:18:54 +00:00
Stéphane Voltz fdaea39018 * backend/umax_pp.c: changed option names to use lower case characters
and dashes instead of spaces.
2001-05-23 06:18:20 +00:00
Stéphane Voltz feffdc6b5d * added a function to parse /proc if exist, in order to get
base addr of /dev/parport devices

	* added pauses during 610P probe sequence
2001-05-16 04:54:40 +00:00
Stéphane Voltz e12c396ba5 * fixed memory leak in sane-exit() 2001-05-16 04:52:43 +00:00
Henning Geinitz 13c50862ed Added umax_pp backend (patch from Stéphane Voltz
<svoltz@wanadoo.fr>).
2001-05-03 19:34:02 +00:00
Stéphane Voltz 7d7a3ae2ea * port defaults to direct hardware access, but comment added for
ppdev configuration
	* no model by default, rely on autodetection
1994-02-15 08:41:47 +00:00
Henning Geinitz 5dd254bb7b Added umax_pp backend (patch from Stéphane Voltz
<svoltz@wanadoo.fr>).
2001-05-03 19:34:00 +00:00