Wykres commitów

2858 Commity (fd47a2512c60fd9f8f1c5200d08fb3443abedf7a)

Autor SHA1 Wiadomość Data
Stéphane Voltz 261905e759 GL847/GL124 data interleaving rewrite
- made data interleaving use an order matrix to handle different sensors
2012-05-26 09:41:39 +02:00
m. allan noah c72e11a044 Add paper-protect, staple-detect and df-recovery options 2012-05-12 20:43:14 -04:00
m. allan noah 7303da89ee Fujitsu backend v111
- call send_* and mode_select_* from sane_start
- split read payloads into new debug level
2012-05-11 21:59:54 -04:00
m. allan noah 924498f608 Fujitsu backend v110
- correct max_y_fb for fi-62x0 series
- add must_fully_buffer helper routine
- add hwdeskewcrop option, with fallback to software versions
- add 'actual' param to get_pixelsize for post-scan
- add recent model VPD params
- only set params->lines = -1 when using ald without buffering
- fix bugs in background color when using software deskew
2012-05-09 21:17:33 -04:00
m. allan noah 3a3ff4b05f Add many new inquiry and mode select values 2012-05-09 21:17:32 -04:00
m. allan noah 7269ff0158 correct fb max size 2012-05-09 21:17:32 -04:00
Rolf Bensch 3c5cc2ab08 patch for Canon Pixma MP280
- PIXMA_EOF mapped to PIXMA_ETIMEDOUT
- maximum resolution reduced to 600dpi
- scanner added to doc files
2012-05-04 14:27:37 +02:00
Rolf Bensch 9b83cf6dc4 new description for device specific option "source" 2012-04-17 11:02:08 +02:00
Rolf Bensch 641e7f6e2a select first entries of dynamic dpi list and dynamic mode list as default values 2012-04-17 10:07:09 +02:00
Rolf Bensch d723944fae new scanners Canon Pixma MX510 and Canon Pixma MX890
both are untested
2012-04-04 18:49:32 +02:00
Rolf Bensch 9fc0ac9d1b color and grayscale negatives scan in TPU mode
for CS8800F and CS9000F
2012-04-04 15:15:18 +02:00
Rolf Bensch 9c6afe1b95 cropping y and h to scanable area in TPU mode
for CS8800F and CS9000F
2012-04-04 14:35:20 +02:00
Stéphane Voltz a1d3481265 update LiDE 110/210 scan area width 2012-03-29 21:57:31 +02:00
Stéphane Voltz 451badecc8 tune LiDE 110/210 geometry and feeding
- tune use of gl124_feed at high resolution
- tune LiDE 110/210 geometry
2012-03-29 21:42:00 +02:00
Mike Kelly d46d19808c Bumped version number. 2012-03-25 15:05:00 -07:00
Mike Kelly 2903d6687c Fixed bug using wrong enum in x/y range check.
In the "check if x/y ranges are valid" section of the attach() function, the
enum source_mode was being used instead of source_mode_dim.  Since these two
enums are very similar, it's not likely this change will affect anything, but
it does fix the compiler warning.
2012-03-25 15:04:00 -07:00
Mike Kelly bd7faf0917 Fixed warning about printf and size_t. 2012-03-25 15:03:00 -07:00
Mike Kelly 23ecd9bc5c Reverted AV610 USB IDs and removed AV_INT_STATUS
Previously I had changed the USB ID of this scanner from 0x0a18 back to
0x0a19, believing a previous commit to have been in error since it went
unmentioned in the commit log and duplicated the AV600U Plus scanner's USB
IDs.  Rolf Würdemann reported that his AV610 scanner used the 0x0a18 ID and
that it wasn't compatible with the AV_INT_STATUS flag.  This commit reverts
my USB ID changes and removes the AV_INT_STATUS flag for the AV610.

However, because this scanner shares its USB ID with the AV600U Plus, it's
possible that the AV600U Plus may require that the AV_INT_STATUS flag be set
in order to function, and thus will break with this change.  The code, as
it's written, isn't designed to deal well with the possibility of shared USB
IDs, so I'll wait to see if this actually becomes a problem before embarking
on the lengthy challenge of getting that to work.
2012-03-25 15:02:00 -07:00
Mike Kelly fec4800d7d Added firmware checking for HP5370c scanners 2012-03-25 15:01:00 -07:00
Mike Kelly b051c955e3 Added Xerox Documate 632. 2012-03-25 15:00:00 -07:00
Mike Kelly a66812940c Bumped build number. 2012-03-21 21:07:00 -07:00
Mike Kelly 557d60f156 Keep the number of lines to flip as a negative num
Keep track of the number of lines to flip on the reverse page using a negative
number.  This uses the ill-advised principle of overloading the meaning of a
variable.  Still, it kind of makes sense because these lines are upside down,
so the number should be "upside down" too.  Besides, leaving it as a positive
number trips up the code which does page padding, which would require even
more special case code.
2012-03-21 21:06:00 -07:00
Mike Kelly 0245820f6b Fix calculations when flipping back of duplex page. 2012-03-21 21:05:00 -07:00
Mike Kelly 983d44887c Corrected the logic to set lines = -1 for ADF mode. 2012-03-21 21:04:00 -07:00
Mike Kelly 33bb529c5f Added sane_reload_devices() to sane_init().
Adding sane_reload_devices() to sane_init() required sane_init() to be moved
below the sane_reload_devices() declaration.  This restores the original
functionality present before I split the sane_reload_devices() code out of
sane_init() so that it could be called from sane_get_devices().
2012-03-21 21:03:00 -07:00
Mike Kelly 11b3604e92 Moved a comment nearer its code. 2012-03-21 21:02:00 -07:00
Mike Kelly 0ab145c316 Skip post-processing when caching flipping duplex
In a previous patch, I attempted to avoid the possibility of a page remaining
partially inside the ADF unit of a flipping duplex scanner after a scan.
Unfortunately, I introduced a bug where the backside page was accidentally
returned to the client in addition to being cached.  This was because I had
a misunderstanding of the post-processing code.  This patch skips the post-
processing section altogether, avoiding any unnecessary post-processing and
subsequent unwanted output.  The other alternative here was to try to monkey
with the buffers (as is done for LINE deinterlacing), but I felt this would
be harder to implement and even harder to debug in the future.
2012-03-21 21:01:00 -07:00
Mike Kelly 0e159fc516 Added Gray mode support for Kodak i30 and i40. 2012-03-21 21:00:00 -07:00
Stéphane Voltz 9ffa856022 document end detection fix 2012-03-20 21:57:57 +01:00
Stéphane Voltz 19c43b4184 build number and copyright updates 2012-03-20 21:54:29 +01:00
Stéphane Voltz a61e2be3a5 gl841 sheetfed calibration improvement
- use maximum gain to detect first white strip for sheetfed calibration
- bpl/wpl correctness
2012-03-20 21:54:29 +01:00
Gerhard Jäger 67379f2684 Fix batch scanning.
Apply patch submitted by Elias Oltmanns <eo@nebensachen.de>
2012-03-19 17:27:54 +01:00
Stéphane Voltz 9b3ea47cf3 handle 4850c model when setting initial registers values 2012-03-19 06:51:12 +01:00
Stéphane Voltz 5a59a1c7ab update HP 4850 geomtry with values provided by Daniël Sonck <dsonck92@gmail.com> 2012-03-19 06:51:12 +01:00
Rolf Bensch 66fb96d9ad Replace index() with strchr(). Bug #313563. 2012-03-06 11:10:44 +01:00
Rolf Bensch d897992226 offset depends on size of windowX
do not allow negative sum
2012-02-29 23:42:00 +01:00
Rolf Bensch 4fb29c00f2 new device specific option 'theshold_curve' 2012-02-29 11:40:18 +01:00
Rolf Bensch e3e2ca1aab constraint range for threshold 2012-02-27 15:31:37 +01:00
Rolf Bensch aaa97ac050 new scanner Canon imageCLASS MF4410 from Vasiliy Olekhov 2012-02-27 10:25:00 +01:00
Rolf Bensch 9513986d96 MX360: no pixel reorder at high dpi 2012-02-21 21:24:09 +01:00
Rolf Bensch 9d931359d6 new device specific option 'gamma' 2012-02-16 19:58:23 +01:00
Rolf Bensch a749b0f48a enable threshold if scanner capability is PIXMA_CAP_LINEART 2012-02-16 18:11:52 +01:00
Rolf Bensch 050707e804 lineart: custom_gamma always enabled 2012-02-16 18:05:42 +01:00
Nils Philippsen 4911e3e1a0 fix install-lockpath target
Actually, current mkinstalldirs can't set users or groups anymore. Don't
attempt to do so.
2012-02-11 19:44:53 +01:00
Nils Philippsen 7de900d057 improve install-lockpath target
Make install process robust against problems with setting group on the
sane lock directory. This can e.g. happen if packaging sane-backends and
building as a user other than root.
2012-02-11 19:06:44 +01:00
Rolf Bensch dde5782ede 1 bit B/W lineart for CIS scanners with c=1
update ChangeLog for previous 1 bit B/W lineart commit
2012-02-09 09:57:19 +01:00
Rolf Bensch d8def30f36 updated device definition for mx360 2012-02-07 07:48:59 +01:00
Rolf Bensch 2ffa16dcdd new scanner Canon PIXMA MX360 2012-02-06 16:48:00 +01:00
Rolf Bensch 974ee17cf4 1 bit B/W lineart for pixma_mp150 and pixma_810 subdrivers 2012-02-03 22:05:32 +01:00
Rolf Bensch bd379a59aa set 600 dpi when switching the source 2012-02-03 21:26:50 +01:00
Rolf Bensch 55e7079002 allow TPU scans at 9600 dpi 2012-02-03 21:15:03 +01:00
Rolf Bensch 873eba4fa4 set pixma version to 0.16.3 2012-02-03 15:22:53 +01:00
Rolf Bensch 4b86c157a3 script to generate pixma_sane_options.c and pixma_sane_options.h
from pixma.c
2012-02-03 15:12:01 +01:00
Rolf Bensch 5e87569ac4 modify dpi_list dependent on different scanner capabilities
for normal (flatbed) and ADF/TPU modes.
2012-01-31 11:39:53 +01:00
Rolf Bensch 6aeb05275e MX882 belongs to MX880 Series
update ChangeLog for previous version
2012-01-23 11:21:02 +01:00
Rolf Bensch e9fd4b2d20 api / doc use the product name PIXMA MX882 instead of MX880
update ChangeLog for previous commit
2012-01-23 10:08:18 +01:00
Ruediger Meier f3a8705525 add checks for ntddscsi.h and ddk/ntddscsi.h (to be used for win32) 2012-01-21 22:10:10 -06:00
Ruediger Meier 5311781404 cleanup, uniq PATH_SEP defines
Always use the same portable PATH_SEP define (note _WIN32
is not defined on cygwin).
2012-01-21 22:02:20 -06:00
Ruediger Meier 3078e16435 cleanup, remove all unused PATH_SEP defines 2012-01-21 22:02:20 -06:00
Rolf Bensch 1456ca2219 new scanner MX880 2012-01-18 08:58:52 +01:00
Rolf Bensch 5f3c69ab7b flatbed mode supports max. 4800 dpi 2012-01-17 20:44:46 +01:00
m. allan noah 1da5bcc2aa Updated Pixma backend from Gernot Hassenpflug. 2012-01-14 21:48:19 -05:00
Stéphane Voltz c90128efff use CKSEL=1 for XPA 2012-01-02 22:11:33 +01:00
Stéphane Voltz 562c301059 fix GL646 CCD line number calculation 2012-01-02 22:11:33 +01:00
Stéphane Voltz bd718256e3 G4050 XPA slider control
- function to light on XPA
- functions to enable/disable XPA slider's motor
2012-01-02 22:11:33 +01:00
Stéphane Voltz 06847a5673 led calibration tuning 2012-01-02 22:10:59 +01:00
Alex Belkin 6c61cfff8a usb id for Samsung SCX-3205W, reported by sane tester.
Long forgotten usb id from the tracker:
https://alioth.debian.org/tracker/index.php?func=detail&aid=312902&group_id=30186&atid=410366
2011-12-30 10:17:58 +04:00
Alessandro Zummo 909aa82085 epson2: handle TPU2 as a separate transparency unit (Claus <claus@egehuset.dk>) 2011-12-25 02:43:14 +01:00
m. allan noah 5a48db9490 Fujitsu backend v109 2011-12-20 09:43:37 -05:00
Alessandro Zummo 56cac490f9 epson2: support TPU2 on GT-X800/V700 2011-12-02 00:27:28 +01:00
Stéphane Voltz b5eae79777 increase internal build number 2011-11-29 21:32:31 +01:00
Stéphane Voltz db23500243 improve GL847 shading calibration
- repark between each shading step
2011-11-29 21:32:31 +01:00
Stéphane Voltz f2acf37faa change led calibration for gl847 2011-11-29 21:32:31 +01:00
Stéphane Voltz f9447a43ff initialize fe before using it 2011-11-29 21:32:31 +01:00
m. allan noah 69b5f8cfcf Fujitsu backend v107 and v108
- M3091 does not support scanner_control(adf)
- Correct buffer overflow in read_from_3091duplex()
- sane_read() now always calls read_from_*()
- read_from_*() are callable when there is no data, and read to eof
- sane_read() will keep alternate duplex reads to similar length
- Added debugging statements
- Corrected comments
- Updated Copyright
- merged x/y resolution options
- moved page width/height to start of geometry group
- use mode to pick resolution list v/s range
- improved M3091 resolution choices
2011-11-21 15:19:26 -05:00
Chris Bagwell 2c4b1da0bf add FreeBSD Port's patches
epson2-commands.c: Include <sys/types.h> to resolve u_long.
epson2.c, magicolor.c, xerox_mfp-tcp.c: Include <sys/types.h>
and to <sys/socket.h> for anyone using setsockopt().
sanei_tcp.h: Include <sys/types.h> since ssize_t is referenced.
sanei_usb.c: Newer FreeBSD version checks.

All changes in this patch set come from FreeBSD ports patches.
Bug #312503.
2011-11-20 20:08:15 -06:00
Stéphane Voltz 0af5d2f94f genesys backend build 66 changelog 2011-11-20 11:34:30 +01:00
Stéphane Voltz b7a62c1d54 align offset/gain calibration of gl847 on gl124 code 2011-11-20 10:47:20 +01:00
Stéphane Voltz d0931a27c8 update HP N6310 description 2011-11-20 08:05:39 +01:00
Stéphane Voltz d090c32918 first step for N6310 2011-11-20 08:03:54 +01:00
Stéphane Voltz 3cd3534e87 fix calibration crash for LiDE 100/200 2011-11-20 08:02:55 +01:00
Stéphane Voltz 0e409babcc Merge branch 'gl843' 2011-11-19 09:53:06 +01:00
Stéphane Voltz c84445039d add HP 4850c as an untested gl843 device 2011-11-19 09:50:44 +01:00
Stéphane Voltz d750676ed0 XPA support for gl843 preparation
- define exposure map for XPA
- define optical flag for XPA
2011-11-19 09:34:12 +01:00
Nils Philippsen c648a4411e avision: reenable grayscale and lineart modes for AV220
See https://bugzilla.redhat.com/show_bug.cgi?id=700725
2011-11-18 12:17:22 +01:00
Alessandro Zummo cafa49bb92 epson2: fixup detection of GT-7000 2011-11-17 20:34:09 +01:00
Stéphane Voltz 6ddaf6fbc1 G4050 XPA progress
- define and tune move_to_ta for gl843
- GPIO settings to light XPA lamp
- GPIO settings to enable XPA lamp motor
- park XPA lamp function for gl843
2011-11-14 06:16:17 +01:00
Stéphane Voltz 23727765f8 handle XPA light on
- select XPA is trnasparency method
- toggle GPIO for XPA if needed
2011-11-14 06:16:17 +01:00
Stéphane Voltz 11ff6cfaa6 includes cleanup
- remove uneeded includes from genesys.c
- move backend name define to C file for unit testing
2011-11-14 06:16:17 +01:00
Stéphane Voltz 389cef9ca8 includes cleanup 2011-11-14 06:16:17 +01:00
Stéphane Voltz ec8bdc31a3 define and use HAS_UTA flag for G4050
- remove unused ALT_SLOPE flag
- create HAS_UTA_FLAG
- ease some compilation warnings
2011-11-14 06:16:17 +01:00
Stéphane Voltz 99df6f2b0a lamp off at sane_close() 2011-11-14 06:16:17 +01:00
Chris Bagwell 3125506715 revert broken sleep()->usleep conversion.
Got unit conversion wrong.
2011-11-10 18:39:12 -06:00
Chris Bagwell 50475719ef portabilty mods to epson2 backend
No behavior changes.  Wrap some optional headers with #ifdef's and
use usleep() instead of sleep() since it exist everywhere.
2011-11-09 21:50:18 -06:00
Chris Bagwell e7f01c3b36 Add --disable-dynamic/--disable-preload and update docs
Options were in README but removed at some point.  They
are useful so add them back.

Document BACKENDS and PRELOADABLE_BACKENDS variables in
README as well as in configure --help output.
2011-11-08 21:28:30 -06:00
Chris Bagwell db068dd6b1 complete preload linking fix.
dll.c is were optional preload behavior is implemented.
Since its linked in using a convienence library, we need
to libraries to have different behavior.
2011-11-08 20:06:30 -06:00
Chris Bagwell 0a6d41ff59 Add missing sanei_magic.lo to libsane backend.
At least Fujitsu backend uses it so needed to be able
to run "configure PRELOADABLE_BACKENDS=fujtsu".
2011-11-07 19:29:38 -06:00
Chris Bagwell 1dd768d534 Do not link in preload backends for libsane-dll
Current backend/Makefile.am states difference between libsane and
libsane-dll as:

> libsane.la and libsane-dll.la are the same thing except for
> the addition of backends listed by PRELOADABLE_BACKENDS that are
> statically linked in.

We were (mistakenly) linking in dll-preload.h and thus symbols
for all preload backends for both libraries but we were only
linking in those symbols for libsane.

This mistake became obvious on mingw which does not allow for
any unresolved symbols.  Resolve by forcing an empty preload
backend list for libsane-dll.
2011-11-06 16:39:06 -06:00
Chris Bagwell 5061c2d5b2 More mingw portability updates.
Add check for winsock2.h for socket.h replancement. Also, use this
check to add ws2_32 library. Also, switch all winsock.h references
to winsock2.h.

Add check for getuid and getpass; which are not on mingw.

Add a syslog() replacement that is basically a print(). This
is also used by vsyslog() replacement.

Comment out parts of replacement sigprocmask.c on mingw.

To support these configure.in changes, I need to rebuild all
related files with autoconf 2.68 and libtool 2.4. Hand ported
our sane-backend specific changes to newer ltmain.sh.
2011-11-06 12:40:00 -06:00
Chris Bagwell e7d1932f5b use usleep consistently in umax_pp_low.c
It was about an 90/10 split with usleep/sleep. We have portablity
logic to make usleep on all platforms but not sleep. This is
needed to link tools directory under mingw.
2011-11-06 11:24:45 -06:00