Wykres commitów

2471 Commity (5aa3d2090da5f99e3d6fb60b654a131e83d5161a)

Autor SHA1 Wiadomość Data
Stéphane Voltz 6bcc1fb121 handling of x start position is working 2010-05-26 06:23:58 +02:00
Stéphane Voltz 661933ecdb fixed long standing bug in last fragment handling in bulk data read 2010-05-25 22:40:10 +02:00
Stéphane Voltz d6c2184999 working SHDAREA
- offset in data reading remians to be fixed
- data is read line by line
2010-05-25 22:01:55 +02:00
m. allan noah 909919d0d5 add Fujitsu fi-5015C 2010-05-24 13:44:15 -04:00
Stéphane Voltz 7cd2ed8ac9 scan alignment troubles 2010-05-24 06:41:27 +02:00
Stéphane Voltz a78b0edee7 odd/even handling step2
- shading coefficients are too short and truncate picture
- need to compute startx
- SHDAREA should be doable
2010-05-22 14:24:37 +02:00
Stéphane Voltz 304d84d5e1 even/odd pixels handling frist step 2010-05-22 10:22:48 +02:00
Stéphane Voltz 3d9bcda3f0 Merge branch 'gl847' 2010-05-20 06:19:18 +02:00
Stéphane Voltz adc2060579 gl847 shading calibration refactor 2010-05-20 06:17:51 +02:00
Stéphane Voltz 55d5ef6fd9 expdumy tests 2010-05-19 21:36:12 +02:00
Stéphane Voltz b02acbd283 working calibration (led and shading) 2010-05-19 06:01:43 +02:00
m. allan noah 5ce0013b63 Corrected fujitsu backend v99 patch
- sense_handler(): collect rs_info for any ILI, not just EOM
- do_usb_cmd(): use rs_info whenever set, not just EOF
- read_from_*(): better handling of EOF from lower level functions
- sane_read(): improve duplexing logic
2010-05-17 10:23:19 -04:00
Stéphane Voltz f805e27531 Merge branch 'gl847' 2010-05-16 21:19:52 +02:00
Stéphane Voltz d75e0b30cf tune motor settings for scan 2010-05-16 08:06:26 +02:00
Stéphane Voltz b52b8fbfd5 100 and 150 dpi tuning 2010-05-16 07:58:01 +02:00
Stéphane Voltz 89de65c6cd work ing full width uncalibrated scans for GL847 2010-05-16 07:37:00 +02:00
Stéphane Voltz 587cc576f4 add gl847 compilation 2010-05-13 07:12:00 +02:00
Stéphane Voltz 296f63496b reset with dummy scan 2010-05-12 05:45:13 +02:00
Stéphane Voltz 2657f0a358 all motor modes/optical are working 2010-05-11 22:26:21 +02:00
Stéphane Voltz ca3b005946 working 75, 150, 600 and 1200 dpi modes uncalibrated 2010-05-11 21:56:03 +02:00
Stéphane Voltz 96b29ca201 working full width 1200 dpi scan 2010-05-10 06:16:51 +02:00
Stéphane Voltz 4fd418daef improved bulk read data 2010-05-09 09:47:17 +02:00
Stéphane Voltz e726900b56 park after scan working ! 2010-05-09 09:06:04 +02:00
m. allan noah 425b847a7b * fujitsu backend v99
- add read_from_PNMduplex() to better handle alternating duplex logic
- call read_from_* even if front eof has been received
2010-05-05 22:16:07 -04:00
Stéphane Voltz 0776a18630 1200 dpi about to work 2010-05-05 07:01:58 +02:00
Alex Belkin 043cc4b165 Corrected color mode malfunction.
Bug was introduced by mass change to SANE_VALUE macro, (commit ff048f4176).
2010-05-03 04:28:47 +04:00
Stéphane Voltz 188411dd3f before LiDE 100 init 2010-04-30 14:26:31 +02:00
Stéphane Voltz fdd4fefde6 slow_back_home working
- bulk data read fails on read remainder
2010-04-29 22:01:34 +02:00
Stéphane Voltz 530ebc8d3e about to scan: slow back home to tackle 2010-04-28 07:28:10 +02:00
Stéphane Voltz 3dba8c1d66 WIP setup optical regs ~OK 2010-04-25 21:32:44 +02:00
m. allan noah 9c6d774483 kvs1025 backend v3, usb bugfixes 2010-04-16 15:13:36 -04:00
Stéphane Voltz b445223349 canon lide 200 WIP 2010-04-14 07:02:07 +02:00
Nicolas Martin c27108d348 pixma: changes from Gernot Hassenpflug for Canoscan 8800F support.
backend/pixma_mp150.c: changes for Canoscan 8800F, debug clean-up code
backend/pixma_io_sanei.c: debug clean-up code
doc/descriptions/pixma.desc, doc/sane-pixma.man: doc updates for Canoscan 8800F
2010-04-12 22:45:58 +02:00
Chris Bagwell f5dde0e1dc New fix for conflicting connect() failure in p5 BE
Traced source of conflicting connect() defines to p5
backend including libc.h header file.  On OSX, this
includes socket.h.  Since backend didn't really need
libc.h header and is not a networked backend, reverted
last fix and implement header based fix.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-12 12:28:46 -05:00
Chris Bagwell bdc81be0da Fix compile fail with connect() on OSX.
socket.h is being included on OSX currently and P5's
static connect is conflicting with socket.h's connect().

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-08 21:05:50 -05:00
Alessandro Zummo a0f203c998 epson2: fix faulty command set definition for D8 scanners 2010-04-07 19:43:55 +02:00
Stéphane Voltz af71eda58a replace u_int8_t and u_int16_t by uint8_t and uint16_t 2010-04-06 21:35:17 +02:00
Chris Bagwell 0109113ea3 Don't include -lresmgr in all backends
resmgr library is only used (optionally) by
sanei_usb and sanei_scsi.  So only need to
link it in for those backends.  This was
a stray piece from initial cleanup of LIBS
in sane-backends 1.0.20.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-06 09:49:58 -05:00
Alessandro Zummo e75d6e5e0c epson2: do not call set_color_correction_coefficients where unsupported 2010-04-04 17:07:06 +02:00
Alessandro Zummo 74c0db99eb epson2: disable thresholding by default 2010-04-04 17:05:34 +02:00
Chris Bagwell 1df16a29aa Fix kvs1024 compiling on platforms without libusb
Removed direct include of usb.h in backend since it
should be using sanei_usb.  Completed prototype
of sane_exit(void) for some versions of gcc that are
strict about that.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-02 16:02:21 -05:00
Stéphane Voltz fc69168373 change usb_init() to sanei_usn_init() 2010-04-01 21:33:50 +02:00
m. allan noah 93bba440b0 convert kvs1025 backend from libusb to sanei_usb, and enable it 2010-03-26 00:01:16 -04:00
Stéphane Voltz 1dacd8d4be fix register 11 setting for sensor type XPA 2010-03-16 06:38:48 +01:00
Nicolas Martin a94ff26045 pixma: fix color shifts for Pixma MP990, updated descs for several models. 2010-03-15 22:16:47 +01:00
Stéphane Voltz b686021c07 Merge branch 'genesys' 2010-03-15 06:30:43 +01:00
Stéphane Voltz f91ceaddf4 working transparency support for gl646 based scanners
- add move to transparency adapter function to command set
- no warmup when using transparency adapter
- increase maximum warmup time to match HP3670 requirements
- tune HP3670's transparency adapter geometry
- handle calibration area geometry in gain calibration
- add simple move head function for gl646 based scanners
2010-03-15 06:24:23 +01:00
Stéphane Voltz 04e06db3e0 Merge branch 'rts8891' 2010-03-11 06:27:48 +01:00
Stéphane Voltz eb661970bb fix registers settings for 600 dpi scans for sensor type 1 2010-03-11 06:19:43 +01:00
Stéphane Voltz 598d3c82ba XPA support fixes 2010-03-11 06:12:04 +01:00
Stéphane Voltz 7e95fd8365 fixed ta size handling and gl646 calibration 2010-03-09 22:22:43 +01:00
Stéphane Voltz 32c1b061b8 adapt gl646 calibration to XPA usage 2010-03-08 06:39:22 +01:00
Stéphane Voltz 25d88944f9 set dpi list for sensor type 7 2010-03-08 05:58:33 +01:00
Stéphane Voltz e253e63695 tweak register settings for sensor type 1 at 600 dpi 2010-03-07 23:20:57 +01:00
Stéphane Voltz c2440fc395 fix sensor detection for HP4470 2010-03-05 13:43:30 +01:00
Stéphane Voltz 4d19a35456 change build number 2010-03-04 06:24:13 +01:00
Stéphane Voltz fda12eb959 add debug traces for sensor used 2010-03-03 06:29:59 +01:00
Stéphane Voltz a352a1172f rename configuration enum 2010-03-03 06:29:59 +01:00
Stéphane Voltz e5b413ea32 tune HP3670 XPA parameters 2010-03-02 06:39:57 +01:00
Stéphane Voltz 84ef34005f enforce source geometry based on device description on source change
- dynamically allocate SANE_Range for geometry
- recompute ranges when source change using flatbed or xpa description
2010-03-02 06:38:19 +01:00
Stéphane Voltz bc652842a5 enable warming up and calibration caching for HP3670 2010-03-01 21:42:38 +01:00
Stéphane Voltz 00da89b379 tune HP2400/G2410 settings for genesys backend 2010-02-28 07:10:31 +01:00
Chris Bagwell 1903d646b2 align autoconf/automake output to common version.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-02-27 23:27:32 -06:00
m. allan noah 778c21922d add S1500M entry by Harald Weis 2010-02-27 21:02:53 -05:00
m. allan noah 54a84f2053 Use standard gettext infrastructure, from Adi Roiban 2010-02-27 20:51:31 -05:00
Stéphane Voltz 7e0347ad72 make 1200 dpi scans work for HP3670
- tune motor settings for HP3670 at 1200 dpi
- tune stagger value for HP3670
2010-02-27 20:20:59 +01:00
Stéphane Voltz cfcccda5df fix 1200 dpi stagger effect for HP3670
- fix motor information for 1200 dpi mode for HP3670
- fix motor max resolution for HP3670
- handle stagger effect for HP3670
2010-02-26 21:46:19 +01:00
Stéphane Voltz 56107960af tune shading offset at 1200 dpi for HP3670 2010-02-26 13:59:42 +01:00
Stéphane Voltz cd310cdcc8 make shading calibration work for HP3670
- enable calibration flag
- tune offset for shading data
- compute resolution to use for shading using cksel
2010-02-26 13:34:08 +01:00
Stéphane Voltz 0b482a0273 fix regression for gl646 CCD based scanners 2010-02-25 20:52:39 +01:00
Stéphane Voltz 35b804661b Merge branch 'genesys' 2010-02-23 21:20:20 +01:00
Stéphane Voltz d7e193db91 fix line cnt computing to make lineart work again 2010-02-23 14:06:24 +01:00
Stéphane Voltz 3cd5f07268 XP200 calibration rework
- simplify sensor setting structure
- fix analog device fe set up
- re-tune calibration for AD frontends
- fix true gray issue with XP200
- improve end_scan status detection for sheetfed scanners
2010-02-23 08:13:11 +01:00
Stéphane Voltz 11023490fb XP200 and HP3670 descriptions tuning 2010-02-23 08:11:51 +01:00
Stéphane Voltz 12c408ba5a fix COLOR_FILTER issues by adding 'None' value at end of list
- restore correct gamma table size for gl841 scanners
- add 'None' value at the and of the possible filter list so we don't
  break existing code
2010-02-23 08:09:42 +01:00
m. allan noah c3542bde5d force enable flatbed for M3092, by Jochen Hepp 2010-02-22 23:11:11 -05:00
Stéphane Voltz 5fdad99f95 basic XPA support for HP3670 2010-02-16 07:24:56 +01:00
Stéphane Voltz b8a7f1ec2f button support for HP3670
- button support for hp3670
- fix visibility of gl646_public_set_fe
- scanning area fix
2010-02-16 06:44:36 +01:00
Stéphane Voltz b37621d86a addition of the p5 backend to the distribution 2010-02-15 22:15:43 +01:00
Stéphane Voltz 55666f3c55 compile fixes when no PPDEV 2010-02-15 22:07:01 +01:00
Stéphane Voltz 372f9985f9 compile and warnings fixes for p5 backen 2010-02-15 21:47:04 +01:00
Stéphane Voltz 982bf43a64 p5 (Parallel Port Primax PagePartner) backend files addition 2010-02-15 06:46:04 +01:00
m. allan noah 1465e3b12e updated settings for Visioneer 9450 2010-02-13 13:09:38 -05:00
m. allan noah 5d12e39b7c Adding new files for new kvs1025 backend 2010-02-12 22:23:14 -05:00
m. allan noah 07cd144f72 Add new kvs1025 backend from Panasonic Russia, Ltd. 2010-02-12 22:06:36 -05:00
m. allan noah 12eff8286d disable bg_color for S1500 2010-02-12 20:32:24 -05:00
Stéphane Voltz 23284110c4 fix MD5345 calibration 2010-02-12 16:24:21 +01:00
Stéphane Voltz 150f001b0a hp3670 support tuning 2010-02-12 14:43:59 +01:00
Stéphane Voltz 1079cfdde9 Merge branch 'genesys' 2010-02-12 14:18:23 +01:00
Stéphane Voltz a0fd2c5012 HP3670 working uncalibrated at all resolutions 2010-02-12 13:49:26 +01:00
m. allan noah ff048f4176 add three new SANE_VALUE macros and use mode name macros from saneopts.h 2010-02-10 23:48:21 -05:00
m. allan noah cc1776b571 don't fail if sanei_scsi_open gives smaller buffer than asked for
minor doc updates
2010-02-10 22:38:37 -05:00
m. allan noah e4e9eedc7f enable translations of all static strings via SANE_I18N macro 2010-02-10 22:07:49 -05:00
m. allan noah fc49cc4076 maximum exposure 245 not 248, see bug #312113 2010-02-10 21:14:45 -05:00
m. allan noah 95aeeee4fd basic support for 600C 2010-02-10 16:15:53 -05:00
m. allan noah 39a9121058 add GT68XX_FLAG_NO_STOP to SF600 2010-02-10 09:09:36 -05:00
m. allan noah bb861109c9 cleanup manuals, .desc files, copyrights and #includes 2010-02-09 22:44:08 -05:00
m. allan noah fcc43f328c cleaned #include lines and copyrights. added new models. 2010-02-09 22:02:08 -05:00
m. allan noah 3ebe2b6cd0 cleanup #include lines 2010-02-09 21:20:15 -05:00
Stéphane Voltz 43512a7a0a hp3670/hp2400 like scanners progress
- managed to get AFE working for HP2400/HP3670
- cleaned up gpio usage
- add custom gamma for GL841 models
- turned default lineart to 'dynamyc'
2010-02-08 06:19:17 +01:00
Stéphane Voltz bec7607e9d fix pixel computing for gl646 scanners using a cksel different from 1 2010-02-04 05:33:14 +01:00
Stéphane Voltz 166c6219ff HP3670 WIP 2010-02-03 06:23:40 +01:00
Stéphane Voltz 8758d7de00 more hp3670 experiments 2010-02-03 06:23:40 +01:00
Stéphane Voltz 2316b35a60 working version of AFE setting for HP3670 like scanners 2010-02-03 06:23:40 +01:00
Stéphane Voltz cef64f7546 hp3670 tuned good enough for now 2010-02-03 06:23:40 +01:00
Stéphane Voltz d9c8777e61 before tuning offset and gain for hp3670 2010-02-03 06:23:40 +01:00
Stéphane Voltz 5b26b1b41c raise VSMP clamp for hp3670 2010-02-03 06:23:40 +01:00
Stéphane Voltz 64f190d179 init struct and reset fe 2010-02-03 06:23:39 +01:00
Stéphane Voltz 421b1fe240 about to get HP3670 fe working 2010-02-03 06:23:39 +01:00
Stéphane Voltz acab26a240 add safeguard in gray normalization 2010-02-03 06:21:39 +01:00
Stéphane Voltz a9f390dbfc add line normalization before doing dynamic lineart 2010-01-31 16:47:53 +01:00
Stéphane Voltz 8cbf99c051 add Xerox Travel Scanner 100 2010-01-30 14:15:32 +01:00
Stéphane Voltz 17a1d21899 add Xerox Travel Scanner 100 model
- add Xerox Travel Scanner 100 device entry based on
Andrey Loginov <avloginov@gmail.com> work
2010-01-30 14:12:23 +01:00
Nicolas Martin 939acce04a pixma: usb timeouts to 20 sec as needed by ImageClass MF3240, source code comments and documentation updates for this model.
- backend/pixma_io.h: usb timeouts change
- backend/pixma_imageclass.c, doc/sane-pixma.man, doc/descriptions/pixma.desc: doc and comments updates.
2010-01-29 21:39:33 +01:00
Oliver Schwartz 13cded1269 snapscan-mutex.c: Use hash instead of parsing the device string. 2010-01-28 21:52:20 +01:00
Stéphane Voltz 586153f5ae make sure TL_X and TL_Y are always lesser than BR_X and BR_Y 2010-01-27 05:45:59 +01:00
Stéphane Voltz 6cb3d76966 minor options cleanup
- enable dynamic lineart only when lineart enabled
- no desc for buttons option group
2010-01-26 21:31:24 +01:00
Stéphane Voltz f42cb07d8d enable dynamic rasterization for lineart scans
- use emulated lineart mode to apply binarize function pulled from
the epjitsu backend (by m. allan noah).
2010-01-26 21:31:23 +01:00
Nicolas Martin bd45ab5b5f Merge branch 'crop' 2010-01-19 23:03:40 +01:00
Nicolas Martin c5411c2cbe pixma: set#3 of changes for cropping enhancement 2010-01-19 22:58:54 +01:00
Stéphane Voltz 227f8e6e06 fix typo in copyright notice 2010-01-19 21:44:48 +01:00
Stéphane Voltz 3cfa6b8058 small cleanup 2010-01-19 21:39:29 +01:00
Stéphane Voltz db46aac928 add an option to use software lineart for GL841 based scanners 2010-01-19 21:39:29 +01:00
Stéphane Voltz f5d5d067e8 add visioneer 7100 support
- add visioneer 7100 support, patch by Jack McGill
2010-01-19 21:39:28 +01:00
Stéphane Voltz 397f3faece HP3670 work
- prepare for hp3670 buttons
- add specific init code
2010-01-19 21:39:28 +01:00
Stéphane Voltz e363557cdb add specific function for HP3670 analog frontend 2010-01-19 21:39:28 +01:00
Alex Belkin 80f5e4eb31 add CLX-3175FW 2010-01-19 21:25:18 +03:00
Nicolas Martin 1225d43561 pixma: set#2 of changes for enhancing cropped area scanning for generation >= 3 devices. 2010-01-18 22:53:03 +01:00
Nicolas Martin 1430217e19 pixma: set#1 of changes for crop enhancement, supplied by Christian Scholtz 2010-01-17 15:05:51 +01:00
Stéphane Voltz 260c917e6d fix shading calibration for CCD GL646 scanners
- for CCD scanners, shading calibration is always done in color mode
2010-01-17 14:49:57 +01:00
Stéphane Voltz ad7bb2ac18 fix wpl computing for HP2400/HP3670 2010-01-16 13:40:10 +01:00
Stéphane Voltz ab33e9a4d1 make threshold option active 2010-01-14 06:51:02 +01:00
Stéphane Voltz 8295a602bb GL646: don't set LEDADD for color scans 2010-01-13 06:55:42 +01:00
Stéphane Voltz 9cf351b43b true gray improvements
- fixed true gray resetting
- make GL646 parts use the option filter for true gray
2010-01-13 06:55:42 +01:00
Stéphane Voltz 802987f983 disable GL841 shading and gamma correction when searching for strip 2010-01-13 06:55:42 +01:00
Stéphane Voltz 7724df7c8b modified color filter option to enable true gray for cis GL841 scanners 2010-01-13 06:55:42 +01:00
Stéphane Voltz 54e8a24da6 true gray scanning for CIS scanners
- turn on LEDADD when doing a gray scan for CIS scanners
2010-01-13 06:55:41 +01:00
Alessandro Zummo 967c9e6799 epson2: more error debugging 2010-01-09 23:58:24 +01:00
Alessandro Zummo 63a8dd4ebc epson2: improved error detection 2010-01-09 23:21:50 +01:00
Alessandro Zummo 506c1be1a4 epson2: fixed handling of cancel requests 2010-01-09 22:08:41 +01:00
Alessandro Zummo 08a27b7b5a epson2: improved capabilities reporting and maximum resolution detection 2010-01-09 19:11:33 +01:00
Alessandro Zummo 3e1dc30cde epson2: updated cct profiles from iscan 2.23.0 2010-01-09 18:10:25 +01:00
Alessandro Zummo 503f9a6d46 epson2: simplified color correction, built in profiles active by default 2010-01-09 17:24:33 +01:00
Alessandro Zummo 8013bd7acb epson2: improved debug messages and comments 2010-01-09 15:25:27 +01:00
Alessandro Zummo 2668cf8062 epson2: increased transfer buffer for CX11 / LP-A500 2010-01-09 15:25:27 +01:00
Alessandro Zummo dd0e0dd7d4 epson2: fixed color shuffling bug for Perfection 610, added more debugging 2010-01-09 15:25:27 +01:00
Nicolas Martin 2482974b96 pixma: updated documentation for MP490 and MP550 (supported models). 2010-01-08 21:09:22 +01:00
Alessandro Zummo b7c37f5aef epson2: limit the capabilities of group options to SANE_CAP_ADVANCED 2010-01-04 02:59:42 +01:00
Stéphane Voltz 38276f32ff improve init time debug messages 2009-12-30 08:23:52 +01:00
Nicolas Martin f9e6dc5ce1 pixma: some routine maintenance updates to backend and documentation. 2009-12-26 14:40:39 +01:00
Stéphane Voltz e6dd25adb7 fix image size when document shorter than expected for gl841 scanners
- add a function to read count of lined scanned
- use real scanned count line to compute the number of line to read to
  flush the current scan
2009-12-09 20:54:42 +01:00
Nicolas Martin 3fc69a358e pixma: updated backend, docs and desc for support to MP560 and MF4330d/ADF
backend/pixma_imageclass.c: added PIXMA_CAP_ADF to model imageclass MF4320, to support MF4330d
backend/pixma_mp150.c: removed untested state for MP560 (comment)
doc/descriptions/pixma.desc, doc/sane-pixma.man: doc update for both MP560 and MF4330d
2009-12-09 21:49:19 +01:00
Nicolas Martin f2e98f7975 pixma: bumped version, added compilation type debug message, updated docs for MX330.
doc/descriptions/pixma.desc
doc/sane-pixma.man
backend/pixma_mp150.c
  Updated docs for MX330, supported by the pixma backend.

backend/pixma.h: Bumped pixma backend version added debug message.
backend/pixma.c: added compilation type (w or w/o pthread) debug message.
2009-12-06 15:40:58 +01:00
Nicolas Martin 7d659f87df pixma: bumped minor, added compilation type debug message, updated MX330 doc.
- doc/descriptions/pixma.desc
  doc/sane-pixma.man
  backend/pixma_mp150.c
            updated doc and desc (support for MX330)
- backend/pixma.h
  backend/pixma.c
            bumped backend minor
2009-12-06 15:33:10 +01:00
Stéphane Voltz 4e7c47fa33 handle unattended document height for sheetfed scanners
- make sheefed scanners report a -1 line number to allow for variable
  document height
2009-12-05 08:33:27 +01:00
Stéphane Voltz ef4c5102ca add support for Ambir/Syscan DS685 2009-12-05 07:26:25 +01:00
Nicolas Martin eb66f734ba pixma: fix pixma backend bug for compilation with USE_PTHREAD/-lpthread
backend/pixma_mp150.c: correctly reset state to idle at end of scan, as threading
                       will use the same address space and variables between pages.
2009-12-04 22:52:16 +01:00
Stéphane Voltz 56ade2e8c5 take data buffered in scanner into account at end of document
- when document end is detected while scanning, we must take the amount
  of data buffered in scanner to compute the number of data bytes needed
  to flush.
2009-12-01 21:42:48 +01:00
Stéphane Voltz ff0fb4ba9c use document presence detection before scans for sheetfed scanners 2009-11-30 21:48:16 +01:00
Stéphane Voltz 157587e90e add page loaded sensor option
- add page loaded sensor option
- detect page loaded status by usign '0x59' request
2009-11-30 21:36:12 +01:00
Stéphane Voltz 409e1d29d2 add document presence detection request to gt6816 2009-11-30 06:58:42 +01:00
Stéphane Voltz 36ea76f5a8 fix clear calibration and need calibration options 2009-11-29 21:19:56 +01:00
Stéphane Voltz 5d1ebac8e3 initialize clear and need claibration options 2009-11-29 21:19:56 +01:00
Stéphane Voltz 03ac144ac8 add clear calibration butto and need calibration sensor
- add a 'clear calibration' to clear sheetfed calibration
- add a 'needs calibration' sensor to signal that a sheetfed scanner
  needs to be calibrated
2009-11-29 21:19:56 +01:00
Nicolas Martin 13641ac5b3 pixma: fix for PTHREAD compilation, add support for MP990 in docs.
- backend/pixma.c: fix end of scan buggy exit when compiled with USE_PTHREAD/-lpthread
- backend/pixma_mp150.c, doc/descriptions/pixma.desc, doc/sane-pixma.man:
  change support to complete for MP990 in documentation, as reported by Jean-Michel Pouré.
2009-11-28 15:11:05 +01:00
Stéphane Voltz f0269dda83 update copyright notice for sheetfed calibration code 2009-11-28 13:54:22 +01:00
Stéphane Voltz ecf2aabb41 enable sheetfed calibration on iriscan express2 and Colorpage SF600 2009-11-28 13:33:22 +01:00
Stéphane Voltz 7c9bd4e0f5 honor y_offset_calib when doing sheetfed calibration 2009-11-28 08:20:05 +01:00
Stéphane Voltz 24cb242285 put correct y_offset_calib value for OpticSlim M12 2009-11-28 08:19:17 +01:00
Stéphane Voltz 4133e1b079 fix move paper before scan when required ydpy exceeds base ydpy 2009-11-28 08:04:58 +01:00
Stéphane Voltz 7d5958f52d fix OpticSlim M12 settgins and resolutions 2009-11-28 07:46:59 +01:00
Stéphane Voltz 2c42444ed5 fix init of calibration state at sane open 2009-11-28 07:32:39 +01:00
Stéphane Voltz 57634a7ec9 fix first scan uncalibrated
- compute parameters before restoring calibration
- some memleak fixes
2009-11-28 07:32:39 +01:00
Stéphane Voltz 496d332006 optimize default afe settings 2009-11-28 07:29:52 +01:00
Stéphane Voltz 014e14e953 calibration persistence in file
- added read/write calibration functions
- call write calibration at the end of calibration
- call calibration read at sane open
2009-11-28 07:29:52 +01:00
Stéphane Voltz fcb86641bf make sheetfed shading correction work for any width
- add pixel_x0 to GT68xx_Params to keep used pixel_x0
- use scan's pixel_x0 and calibration one to compute offset in
  calibration data
- use final scan width for per scan calibration
- compute and use offset when copying from calibration data
2009-11-28 07:29:52 +01:00
Stéphane Voltz f8016c62e3 improve calibration data allocation and freeing 2009-11-28 07:29:52 +01:00
Stéphane Voltz 9154cb7ee1 initialisation fixes spotted by valgrind 2009-11-28 07:29:52 +01:00
Stéphane Voltz 249211ca81 add supported resolutions based on firmware disassembly 2009-11-28 07:29:52 +01:00
Stéphane Voltz c951328202 working full width in memory calibration
- added debug traces and calibration image files
- tuned default OpticSlim M12 exposure parameters
- bug fixes to make calibration work in memory
2009-11-28 07:29:51 +01:00
Stéphane Voltz 3a3e581f90 loop several time while searching for a white area
- when doing sheetfed calibration try 10 times to find a proper area for
  doing calibration
2009-11-28 07:20:58 +01:00
Stéphane Voltz 90e5b6427d add 'gt68xx' as default name for first available scanner 2009-11-28 07:20:58 +01:00
Stéphane Voltz 30d2fc7ec3 calibration for all modes groundwork
- GT68xx_Scanner is extended to hold calibration data for all
  resolutions
- gt68xx_sheet_fed_calibrate loops over all resolution and color
  mode, and stores result in scanner struct
- calibrators are created from stored data before each scan
2009-11-28 07:20:58 +01:00
Stéphane Voltz 558172a003 OpticSlim M12 geometry fixup 2009-11-28 07:20:57 +01:00
Stéphane Voltz 3268d78268 add needed flags to Optic Slim M12 2009-11-28 07:20:57 +01:00
Stéphane Voltz fa014b99e7 add an OPT_CALIBRATE option
- add an OPT_CALIBRATION option
- call gt68xx_sheetfed_scanner_calibrate() when the OPT_CALIBRATE
  option is set
2009-11-28 07:20:57 +01:00
Stéphane Voltz 20dc2ebfe3 add gt68xx_sheetfed_scanner_calibrate function 2009-11-28 07:20:57 +01:00
Stéphane Voltz f67da24316 add GT68XX_FLAG_HAS_CALIBRATE flag
- add a flag to handle the case of sheetfed scanners that will be
  calibrated using a dedicated function that uses an external
  calibration sheet
- enable image OPT_QUALITY_CAL for scanners with
  GT68XX__FLAG_HAS_CALIBRATE
2009-11-28 07:12:07 +01:00
Stéphane Voltz 09ec19e512 change gl841_detect_document_end byte to flush
- use only signed variables so ther is no mixe with unsigned values
- break calculation in several steps
2009-11-27 07:07:02 +01:00
Stéphane Voltz 145045bf89 one more trace in gl841_detect_document_end 2009-11-26 06:22:54 +01:00
Stéphane Voltz 4f9c3fed74 add debug traces in gl841_detect_document_end 2009-11-25 21:18:57 +01:00
Stéphane Voltz f7eb4b000d add docket port 467 model 2009-11-25 20:59:10 +01:00
Stéphane Voltz fc62d1ce20 OpticSlim M12 tuning
- remove non working 200 dpi mode
- tune y/x offsets
2009-11-23 05:51:46 +01:00
Stéphane Voltz 8eca0a163a call y move to scan area before final scan if needed 2009-11-23 05:51:46 +01:00
Stéphane Voltz 95fe9a0757 add a y move to scan area for sheetfed scanners 2009-11-23 05:51:46 +01:00
Stéphane Voltz 49c66099b9 add and use move_paper to command sets
- add move_paper to command sets
- define move_paper only for mustek_gt6816_sheetfed_command_set who
  needs it
2009-11-23 05:51:46 +01:00
Stéphane Voltz 8adddd187e add generic y move to scan area request
- implement reques 0x82 which moves the paper by the amount needed to
  reach the targeted scan area
2009-11-23 05:51:45 +01:00
Stéphane Voltz b7ed95bd63 add Iriscan Express 2 sheetfed scanner - added an entry for Iriscan Express 2 sheetfed scanner based on various reports on sane-devel 2009-11-23 05:51:45 +01:00
Stéphane Voltz 844c1da642 calibration and configuration fix
- fixed genesys.conf for 2 missing models
- updated desc file
- definitive fix for shhetfed calibration
2009-11-16 21:30:09 +01:00
Stéphane Voltz d4079557e4 sheetfed calibration tuning
- use sensor max resolution to do led/offset/gain calibration
- use different thresholds when detecting white/black pixels in search
  strip function
- tune device flags for DP485, DP487 and XP100
2009-11-16 06:37:15 +01:00