Wykres commitów

41 Commity (801558f959a03b5042d6df288cb1fd2c87035798)

Autor SHA1 Wiadomość Data
Dave Platt 755e829caa avision.c: abort "wait for light" loop if interrupted
Adds a "cancelled" flag to the Avision device structure, cleared
in sane_start() and set in sane_cancel().  Test this flag in
wait_4_light() and bail out of the 90-second "wait for the
light to warm up" loop if the scan is cancelled.
2016-12-15 23:12:07 -08:00
René Rebe 9511c27e59 fixed new avision feature bits for 32-bit build 2015-03-07 18:51:14 +00:00
René Rebe f69a1ad50e removed unnecessary feature_type2 clutter by using a uint64_t to share all bits 2015-03-07 11:16:47 +00:00
Mike Kelly d7b3076142 Add page re-flipping as an option
Flipping duplex scanners must flip the page in order to scan the back side
of the page.  With this option set (which is the default), the page is
flipped back to the original orientation.  This is important if you have
a stack of papers.  However, if you don't care if every page ends up
flipped compared to how it was loaded, turning this option off might save
some scanning time as the paper won't have to be pulled back through the
ADF mechanism a third time.
2011-01-29 11:50:14 +09:00
Mike Kelly 104b43a183 Removed inquiry_adf_need_mirror_rear variable
After fixing the duplexer initialization, it became clear that the code was
mirroring the back pages.  Since the scanner already supports page
mirroring internally with an optional bit setting (which was already set)
it made the most sense to simplify the code base and remove the variable.
2011-01-29 11:50:12 +09:00
Mike Kelly 12924236c6 Enable firmware reading for some scanners.
Sometimes scanners like to have their firmware read to cause them to
function properly.
2011-01-29 11:50:10 +09:00
Mike Kelly 1b1df46e41 Add feature type for flipping duplexing ADF units
Added the AV_ADF_FLIPPING_DUPLEX flag to activate the flipping duplex code
only for models known to have such duplexing ADFs.  Prior to this a doubious
huristic was used to guess when the hardware had a flipping duplex unit.
2011-01-29 11:50:09 +09:00
Mike Kelly 1904dad962 Removed additional_probe gatekeeper variable
The additional_probe variable protected add_source_mode() and
add_color_mode() from being entered upon subsequent calls.  These functions
were patched to not insert duplicate records in this case, removing the
need for the gatekeeper variable.
2011-01-29 11:50:08 +09:00
Mike Kelly b45400222d Added paper-length option to prevent double feeds
There was an old TODO in the code which suggests creating an option for using
the paper_length field to detect double feeds in the ADF.  I've added it as
an option, but set the default to not use it since it might cause older
scanners to get confused.
2011-01-29 11:50:05 +09:00
Mike Kelly 42cdb00aa1 Added a Misc option group to hold misc features
I felt that the ehancements group was doing double duity for image tuning and
other more hardware related options.  This new group takes ownership of those.
I'm not happy with the name, but that can always be changed.
2011-01-29 11:50:04 +09:00
Mike Kelly 24237f2562 Added support for the Avision AV210D2+ scanner
Added support for the Avision AV210D2+ scanner.  This is the first scanner
to require the use of the gray filter bits, so code was added to enable them.
Regenerated description file to reflect this change.
2010-12-23 19:47:56 +09:00
Mike Kelly 7999eeb19d Changed AVISION_FILTER_* defs to use final values
Changed the AVISION_FILTER_* defines to their final values rather than
bit-shifting them prior to use.  This make reading the code much easier
since no mental calculation is necessary to determine what the final
bit-pattern/value will be.
2010-12-23 19:38:13 +09:00
m. allan noah 1465e3b12e updated settings for Visioneer 9450 2010-02-13 13:09:38 -05:00
Rene Rebe 3f0f3be9e3 * backend/avision.{c,h}: merged latest upstream SVN changes, bug fixes
and device ID updates, including fixing uninitialized variables due
          former defect merge and exposure control for film / dia scanners
2008-05-26 09:57:28 +00:00
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Rene Rebe 6b45291c02 * backend/avision.[ch]:
Implemented support for latest Avision ASICs and features,
          including overscan, background raster, software scaling for
          cheaper ASICs used in HP scanners. Changed types used to
          more portable uint* ones, without underscore (_), removed
          in-file ChangeLog history, as the files became big enough.
          Implemented early calibration for easier handling of
          Avision-based film scanners and implemented support for
          2-pass duplex scanners.
2007-11-17 16:19:53 +00:00
Rene Rebe 66fe987c4d Avision backend update (Build 182 -> 201), the ChaneLog has the details 2006-06-06 11:24:18 +00:00
Rene Rebe dff12fc90b * backend/avision.c backend/avision.h: updated the Avision backend
from BUILD 167 to 179, including support for HP 5370, AV600U,
          AV210C2, AV220C2,  et. al. The USB i/o paths got hardened, and a
          lot of fixes as well es enhancements and optimizations where added
          and a lot of typos, mostly in debug output and comments, got fixed.
          The "Line Art" mode was renamed to "Lineart" to match the other
          backends.
2005-12-04 21:29:22 +00:00
Rene Rebe e5a5f45497 Updated the Avision backend with the latest off-site maintained version:
fixed segmentation faults for some modes, many many new devices, two
different duplex modes are supported, vast speedup of multi page batch scans,
buttons as well a 7-segment LED readout and some quirks for old scanners not
filling all fields
2005-07-15 09:12:27 +00:00
Rene Rebe 5eb4ca04c1 * backend/avision.h backend/avision.c: update of the scanner ID table,
wait_4_light bugfixes, fixed color packing, fixed 16bit modes
  (especially for big-endian systems), avoid 16bit modes for default
  modes, fixed gamma-table for some models as well as spelling on the
  way
2004-10-21 15:01:04 +00:00
Rene Rebe 4897ea92fa * backend/avision.c, backend/avision.h, doc/sane-avision.man:
Fixed compilation warning (Bug #300399) and added a force-a3
  option, needed for A3 scanner returning bogus scan area definitions
2004-06-22 14:12:52 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Rene Rebe c4b01509ab 2004-04-14 Rene Rebe <rene@rocklinux.org>
* backend/avision.h, backend/avision.c: the current development state,
          including cleanups, code refactoring, dynamic color and scan source
          list creation, implemented ADF mirroring needed for some ASICs ,
          some scan window scaliing fixes for some ASICs, added 16bit gray
          and color support, fixed a tiny big-endian issue, fixed command
          error reporting for some ASICs, improved inquiry logging and some
          tiny fixes for film-scanners.

Sorry for such a bit chunk so late in feature freeze (...). But tested on Ultra
SPARC, PowerPC and x86 Linux ... ;-)
2004-04-14 20:20:39 +00:00
Rene Rebe 477b0029ff * backend/avision.c backend/avision.h: the current development state,
including cleanups, code refactoring and nearly complete HP
  53xx/75xx ADF support
2003-11-23 23:35:53 +00:00
Rene Rebe 023f7c1e7a Also fixed Bugs #300288 and #300196, removed the conflicting Option_Value
now present in sanei_backend.h and made requested clarifications (Bugs #300290,
#300291)
2003-10-28 11:24:21 +00:00
Rene Rebe 8425846c8e merge of the current Subversion revision of SANE/Avision. The fixes include:
endianess fixes, calibration code, ADF detection, correct lamp warmup,
gamma table for new ASICs, some workarounds for ASIC variations and the
convertion to use OPT_SOURCE instead of seperate OPT_ADF and OPT_TRANS.
2003-10-28 09:41:27 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Rene Rebe 8ce6e0d515 Updated the avision backend to latest build. This includes user-space
USB support and OS/2 thread handling.
2003-03-25 01:43:35 +00:00
Rene Rebe 2f8f90a79a Update to the latest Avision backend release. It includes feature
and stability improvements and bug fixes. The sane man-page now
mentions that the avision backend supports more than the AV 630 CS ...
2003-02-16 17:35:05 +00:00
Rene Rebe 3e1655a2ce New avision backend - including the auto-generated .desc file. 2002-12-01 13:42:18 +00:00
Rene Rebe 71bbc23961 Updated the Avisin backend to my todays snapshot. It supports more devices
as well as ADF and A3 size.
Massive code cleanups.
2002-11-23 16:17:07 +00:00
Rene Rebe c67286adee Commited the latest avision backend. 2002-08-30 09:21:51 +00:00
Rene Rebe baeb578a8f next Avision backend version 2002-06-04 17:27:00 +00:00
Rene Rebe e29b57f2df bug fixes (incl. the close bug in attach) 2002-04-12 00:14:01 +00:00
Rene Rebe 3c9ce35908 updated to Avision backend build 25. More stable for HP usb scanners,
suport for Misubishi scanners and various cleanups.
2002-04-08 14:35:32 +00:00
Rene Rebe 5a5f5a92fb many cleanups, fixed sane_cancel to not hang - but perform the
cancel, added a disable-gamma-table option and added the possible
options into the avision.conf file
2002-01-19 00:38:07 +00:00
Rene Rebe a4101b2fe5 Merged the Avision 0.3.0 backend (incl. genreal cleanups, USB handling ...)
also updated the homepage url and the man-page.
2002-01-16 23:18:43 +00:00
Rene Rebe e2169ec4e0 Some fixes for the Avision backend. (Brightness and contrast via gamma-table
clean up. First config option.)
2000-11-15 19:07:56 +00:00
Rene Rebe 83d084d8d3 Added gamma table support and brightness / contrast emulation via the gamma
-table to the avision backend. Additional code clean ups ...
Added my new e-mail address to the AUTHORS file.
2000-11-14 20:05:35 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 760423d864 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:25 +00:00