Wykres commitów

2454 Commity (093fff631c8e839c93dc32ba9fdffa67c81b19a0)

Autor SHA1 Wiadomość Data
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
Stéphane Voltz 9a8797876c fix compatible cache test for gl646 cis scanners 2009-11-06 21:24:43 +01:00
Stéphane Voltz 11383f0c15 improve docuement end detection for gl646 sheetfed scanners 2009-11-06 21:24:43 +01:00
Stéphane Voltz c348e5af7e calibrate and clear calibration set reload params 2009-11-06 21:24:43 +01:00
Stéphane Voltz 3c8b10d16b remove some special cases for shading calibration computing - remove DSMOBILE600 special case for calling compute_planar_coefficient - remove special case to compute words_per_color 2009-11-06 21:24:43 +01:00
Stéphane Voltz 6668b38d2c fix shading coefficient computing at dpi higher than sensor's one 2009-11-06 21:24:43 +01:00
Stéphane Voltz e0e9d639fd add soft sensor to signal that the scanner needs calibration 2009-11-06 21:24:42 +01:00
Stéphane Voltz 9ec73bcd22 enable shading calibration for doscketport 485 and 487 2009-11-06 21:24:42 +01:00
Stéphane Voltz cd1b8a1d20 docket port 485 and 487 are clones of XP300 2009-11-06 21:24:42 +01:00
Stéphane Voltz 6c3756d594 fix first scan after calibration for sheetfed gl646 scanners 2009-11-06 21:24:42 +01:00
Stéphane Voltz cb783e8c80 do calibration in gray for gray scans 2009-11-06 21:24:42 +01:00
Stéphane Voltz 6c8052f54d duplicate shading data on all channels for gray scans 2009-11-06 21:24:42 +01:00
Stéphane Voltz 7f5000407e exposure and white reference tuning for XP200 2009-11-06 21:24:42 +01:00
Stéphane Voltz b1fa40e873 tune led, offset and coarse calibration for XP200 2009-11-06 21:24:42 +01:00
Stéphane Voltz 5314cf8c2e add led calibration for GL646 based CIS scanners 2009-11-06 21:24:42 +01:00
Stéphane Voltz 8a6f2ed22e update search strip function with improvements done for gl841 part 2009-11-06 21:24:41 +01:00
Stéphane Voltz a11150afed add needed flags to XP200 2009-11-06 21:24:41 +01:00
Stéphane Voltz 649fc3c9d4 add OFFSET_CALIBRATION flag to DSmobile 600 2009-11-06 21:24:41 +01:00
Stéphane Voltz 4345b729d4 handle DS600 frontend like XP300 in coarse gain calibration 2009-11-06 21:24:41 +01:00
Pierre Willenbrock 5f3625ad7a Add Calibration for Visioneer Roadwarrior and DocketPort 665 2009-11-06 21:24:41 +01:00
Pierre Willenbrock 002172e95d Implement sensor update for DocketPort 665 compatibles 2009-11-06 21:24:41 +01:00
Pierre Willenbrock 17c0aa77ad Add offset/gain/led calibration for sheetfed scanners 2009-11-06 21:24:40 +01:00
Pierre Willenbrock cc77c4fa88 Fix usage of words_per_color.
I really don't know what i was thinking.
2009-11-06 21:24:40 +01:00
Pierre Willenbrock f44d6b5588 Init scanhead_position_in_steps 2009-11-06 21:24:40 +01:00
Pierre Willenbrock f3454efbfd Use gl841_stop_action in internal scans. 2009-11-06 21:24:40 +01:00
Pierre Willenbrock 6dddc67eb9 Add save_power calls where they belong 2009-11-06 21:24:40 +01:00
Pierre Willenbrock aba391f159 Improve offset/gain/led calibration 2009-11-06 21:24:40 +01:00
Pierre Willenbrock 95434c1f0a Only feed when doing calibration for LiDE 35 and compatibles 2009-11-06 21:24:39 +01:00
Stéphane Voltz f4d53520ea improve calibration strip search
- take care that the whole area must be black or white when doing
  backward search
2009-11-06 21:24:39 +01:00
Stéphane Voltz 2ffe52857b enable shading calibration for XP300
- add the needed flags to XP300
- tune shading line number
- setup shading calibration computing parameters
2009-11-06 21:24:39 +01:00
Stéphane Voltz 8b571bc2ee XP300 sensor tuning
- rename CCD_XP300 sensor struct to CCD_DOCKET465
- create a specific CCD_XP300 sensor struct
- special r06 and r09values for XP300
2009-11-06 21:24:39 +01:00
Stéphane Voltz 6696926d60 add calibrate button to DS600 2009-11-06 21:24:39 +01:00
Stéphane Voltz 5e9fbca8e5 fix typo in debug trace 2009-11-06 21:24:39 +01:00
Stéphane Voltz 97afad85ff add strip search function for gl841 2009-11-06 21:24:39 +01:00
Stéphane Voltz 19d87357c6 honor half ccd flag in gl841_calulate_current_setup() 2009-11-06 21:24:38 +01:00
Stéphane Voltz 142498bca3 make DS600 use planar coefficient computing function
- improve compute_planar_coefficient to handle an averaging factor
- make DS600 call it with proper parameters
2009-11-06 21:24:38 +01:00
Stéphane Voltz eab45d5245 DS600 allways send coefficients for all color channels 2009-11-06 21:24:38 +01:00
Stéphane Voltz b57f0fd362 sheetfed scanners don't (can't) calibrate at each sane_start() 2009-11-06 21:24:38 +01:00
Stéphane Voltz 10b8e5cfd2 add specific motor for DS600
- add MOTOR_DSMOBILE_600
- make pentax DS 600 use new motor description
2009-11-06 21:24:38 +01:00
Stéphane Voltz 803cb9510b add 100 dpi mode for HP2400/G2410 2009-11-06 21:20:19 +01:00
Nicolas Martin db1a049706 pixma: declared Pixma MP550 (yet untested), updated docs.
modified:   ChangeLog
	modified:   backend/pixma_mp150.c
	modified:   doc/descriptions/pixma.desc
	modified:   doc/sane-pixma.man
2009-10-28 23:49:13 +01:00
Nicolas Martin f2c663ffb1 pixma: fix MP830 ADF shifted lines, add support for I-SENSYS MF4320d to pixma.desc 2009-10-22 22:01:54 +02:00
Nicolas Martin a18c3fd41a pixma: added I-SENSYS MF4320d and updated doc, for this model and MP390. 2009-10-21 21:39:27 +02:00
Louis Lagendijk 591864e7d5 Corrected typos in last comment in last commit */ 2009-10-20 18:22:45 +02:00
Louis Lagendijk 376c512d9d Allow for ranges in check for modelnames for bjnp protocol for pixma backend 2009-10-20 18:11:45 +02:00
Alessandro Zummo 66999f7e13 epson2: fixed elements in the sources list 2009-10-19 17:30:07 +02:00
Nicolas Martin b0303393ec pixma: fixes Gen 4 XML error code, support for ImageClass MF4380dn, bump backend version
- backend/pixma_mp150.c: some error condition fixes to Generation 4 (MP640, ...) XML code
- backend/pixma_imageclass.c: added support for ImageClass MF4360dn-MF4390dn
- include/pixma.h: bumped backend version to 0.16.1
- doc/descriptions/pixma.desc, doc/sane-pixma.man: doc updates
2009-10-18 13:02:14 +02:00
Troy Rollo 8ec394d648 Stop hp3500 backend from calling exit() at the end of a scan (which is
unhelpful when sane threads are threads rather than processes).
2009-10-18 12:14:25 +11:00
Nicolas Martin c2f0346983 pixma: Changes to include new XML dialog for new 2009 PIXMA models,
- New XML dialog encapsulates classic Generation 3 PIXMA protocol.
- Tested succesfully on an MP640, both on usb and wifi.
2009-10-16 22:52:14 +02:00
Ilia Sotnikov 798c96412a Use own private function instead of roundf() 2009-10-03 13:25:05 +03:00
Stéphane Voltz 90a9c598d6 honor GENESYS_NO_CALIBRATION flag at scan time
- don't enable shading correction if device has the GENESYS_NO_CALIBRATION
  flag when setting registers for final scan
final scan
2009-10-02 06:24:39 +02:00
Jonathan Bravo Lopez effbffcf0c Fix bug 311991: "Bad option sizes let frontend (e.g. xsane) crash" 2009-10-01 18:16:57 +02:00
Stéphane Voltz cf5f13a5ee Merge branch 'lexmark' 2009-10-01 06:25:07 +02:00
Stéphane Voltz 255c83e1d7 minor memory handling fixes
- check success after calloc()
- fix memleak in find_start_line()
2009-10-01 06:22:25 +02:00
chris@cnpbagwell.com 073385cdc9 add new genesys_gl646.h to SOURCES
so that it will be distributed in tar file.
2009-09-29 20:31:13 -05:00
chris@cnpbagwell.com ed87a34f5b add missing sanei_pio to gcam backend library.
Fixes compile error on some embeded linux boxes.
2009-09-29 19:37:22 -05:00
Nicolas Martin 92c44e905a pixma backend: few maintenance modifications.
- backend/pixma_bjnp.c:  print size_t values as %ld or %lx with cast to unsigned long
                         as prescribed in the file doc/backend_writing.txt, to avoid
                         compile warnings.
- backend/pixma_mp730.c: removed unused debug code.
2009-09-27 12:29:57 +02:00
Julien BLACHE 561a2c8fe2 Fix missing check in genesys for raw debug data
Patch by Tollef Fog Heen <tfheen@err.no>
2009-09-26 11:39:29 +02:00
Nicolas Martin ed96067735 pixma backend: Updated documentation for MP260 and new models:
- Pixma MP260 confirmed to be supported.
- descriptions updates for 5 new models recently declared in backend.
2009-09-16 22:13:23 +02:00
m. allan noah 4c4ecb3bab Fujitsu backend v97 image processing functions
use sanei_magic to provide software deskew, autocrop and despeckle
2009-09-14 13:13:31 -04:00
Nicolas Martin 37f0efe2a2 pixma backend: Declared new Pixma models as untested, and modified some debug code:
backend/pixma_mp150.c: Declared MP250, MP490, MP560, MP640, and MP990
backend/pixma_mp730.c: Modified some debug code.
2009-09-13 10:24:46 +02:00
Nicolas Martin 3b9fec8c9b pixma backend: added debug info for MF3110 and changed default params. 2009-09-07 22:02:47 +02:00
Alex Belkin 24d73f8fe6 Added WorkCentre 3119 Series for xerox_mfp backend. 2009-09-07 06:01:31 +04:00
Julien BLACHE 7cceb801b3 Add Samsung SCX-4300 as a supported device by the xerox_mfp backend. 2009-09-06 13:42:54 +02:00
Nicolas Martin b7800eeac5 pixma backend: updates for ImageClass MF3110 and MF4660, and Pixma MP980, and doc updates.
- MF3110: fix interrupt messages handling.
- MF4660: added support for this ImageClass device.
- MP980:  Following a report, tuned the color planes shifting values.
- All:    Documentation updates.
2009-09-06 10:31:40 +02:00
Nicolas Martin 30f72c4b57 Merge branch 'master' of ssh://nicols-guest@git.debian.org/git/sane/sane-backends 2009-09-05 23:53:10 +02:00
Alessandro Zummo d3eb202464 epson2: fixed sane_get_parameters and handlign of "net" string
in epson2.conf
2009-09-05 21:10:09 +02:00
Nicolas Martin 9b870096e0 Merge branch 'mf4660_1' 2009-09-05 10:49:43 +02:00
Nicolas Martin 8d4739bbdf pixma backend: last changes to fully support ImageClass MF4660. 2009-09-05 10:30:34 +02:00
Nicolas Martin 51e95c4b0f pixma backend: fix interrupt message handling for ImageClass mf3110 2009-09-05 10:22:01 +02:00
Nicolas Martin a4591467e8 pixma backend: change for mf3110 scanned image encoding. 2009-09-03 22:19:20 +02:00
Nicolas Martin 4ecf266a4c pixma backend: modifications for mf4660 2009-09-03 19:25:18 +02:00
m. allan noah 6c13f7d522 Epjitsu backend v19, better calibration from Richard at fascinationsoftware dot com 2009-08-31 09:58:06 -04:00
Nicolas Martin e54c2ae2ee pixma backend: moved MF3110 declaration to mp730 part of the backend,
as using a Pixma protocol closer to this device.
2009-08-29 14:43:01 +02:00
Nicolas Martin 3b1e02054c pixma backend: modifications for ImageClass MF4660 2009-08-29 14:31:17 +02:00
Nicolas Martin 15b3ad0cc8 pixma backend: Updated description for MP830, reported to be fully supported. 2009-08-27 22:09:08 +02:00
Nicolas Martin f1706e240d Changes in request_image_block for mf4660 2009-08-27 21:28:01 +02:00
Nicolas Martin 4a6fc4312b For mf4660: try to change the read data command expected return len 2009-08-25 23:21:05 +02:00
m. allan noah cefcfcc32e Add credits text 2009-08-17 09:49:22 -04:00
m. allan noah 504547028b Fujitsu backend v96, support hardware automatic length detection
- split sane_get_parameters into two functions
- remove unused code from get_pixelsize
- support hardware based auto length detection
- various status and comment updates
2009-08-07 16:49:58 -04:00
Stéphane Voltz 24dd638077 smal fixes for hp3670 support tests 2009-08-07 06:57:44 +02:00
Stéphane Voltz 2c38397142 fix shading hp2300 shading calibration at dpi <= 300 2009-08-05 07:51:11 +02:00
Stéphane Voltz fc11d2ebea don't use color filter for gl646 cis scanners since we're using true gray 2009-08-04 07:44:43 +02:00
Stéphane Voltz 4c2c9cd9f3 fixed end detection of physical document for sheetfed gl646 scanners
- use gpio to detect paper event
- correct new amount of data computation
- adjust y_offset to eject document
2009-08-04 07:34:13 +02:00
Jonathan Bravo Lopez 19929d7108 Fixed bug [#311856] possible for loop overflow 2009-07-30 20:00:31 +02:00
m. allan noah e59454b9f7 Bump backend version number, improve manpage, add credits 2009-07-30 10:13:59 -04:00
m. allan noah cb3639d12f canon_dr backend v34, autocrop and deskew, bugfixes for dumb scanners
- add simplified Hough transform based deskewing code
- add extremity detecting cropping code
- use per-model background color to fill corners after deskew
- request and chop extra scanlines instead of rounding down
- remove padding dumb scanners add to top of front side
- sane_get_params uses intermediate struct instead of user struct
- if scanner stops, clone the last line until the end of buffer
- reset some intermediate params between duplex sides
2009-07-28 23:33:50 -04:00
Nicolas Martin a7e4c19738 Fixed declarations for MX320, MX330 and MX860 in pixma backend, and doc update. 2009-07-25 18:38:13 +02:00
m. allan noah 0ea4d7bc4b canon_dr backend version 33, brightness/contrast and despeckle support
- add software brightness/contrast for dumb scanners
- add blocking mode to allow full-page manipulation options to run
- add swdespeck option and support code
- add swdeskew and swcrop options (disabled)
2009-07-23 10:57:48 -04:00
m. allan noah 4780e307cf Backend version 32, memory saving and minor cleanups
- crop/resample image data before buffering, not after
- shink image buffers to size of output image, not input
- correct some debug message
- better handling of EOF
- add intermediate param struct to existing user and scan versions
2009-07-23 10:57:48 -04:00
Alex Belkin db08de0d94 more sanity checking for debug mode 2009-07-17 20:54:40 +04:00
Stéphane Voltz ce0ba551ca disable deep debug messages 2009-07-15 21:35:23 +02:00
Stéphane Voltz 8f5069219f removed obsoleted comment 2009-07-10 07:30:56 +02:00
Stéphane Voltz 2688d1fcd3 move #include of sys/time.h 2009-07-10 07:22:07 +02:00
Stéphane Voltz d6bfdee293 tune shading line number for MD5345 2009-07-10 07:22:07 +02:00
Stéphane Voltz 2a2876da2e avoir trying to load document if not a sheetfed scanner 2009-07-10 07:22:06 +02:00
Stéphane Voltz 7b982e87db fix for MD5345 shading calibration at half ccd resolution 2009-07-10 07:22:06 +02:00
Stéphane Voltz 12594427d9 add a 10 minutes expiration time for GL646 CCD scanners' calibration cache 2009-07-10 07:22:06 +02:00
Stéphane Voltz 4a5604412a gray shading calibration fix and frontend reset for warmup 2009-07-10 07:22:06 +02:00
Stéphane Voltz af0477bfce DBG proc level trace for sanei_genesys_init_fe 2009-07-10 07:22:06 +02:00
Stéphane Voltz 4d04ec81f1 fix 300 dpi mode parameters description 2009-07-10 07:22:06 +02:00
Stéphane Voltz 0d82a5fba2 hp2300 shading calibration fix
- change 300 dpi mode to be in 'half ccd' mode
- fix sensor pixel number
- allow for negative offset in shading data building
- rewrite compute_coefficients to handle negative offset and specialised
  it for pixel deletion case
- fix calibration handling of flatbed scanners
2009-07-10 07:22:06 +02:00
Stéphane Voltz 247b585de7 first working version of sheetfed scanners shading calibration
- added a function to build planar shading data
- improved sheetfed_calibration function
2009-07-10 07:22:05 +02:00
Stéphane Voltz d522b2c2f7 shading calibration data size handling cleanup 2009-07-10 07:22:05 +02:00
Stéphane Voltz 60ab4d8569 add shading coefficient computing function for GL646/planar mode 2009-07-10 07:22:05 +02:00
Stéphane Voltz 48df712552 a note about the work left to get XP200 shading work 2009-07-10 07:22:05 +02:00
Stéphane Voltz 2d0710ed07 don't use addr for GL841 cis scanners when sending coefficient data 2009-07-10 07:22:05 +02:00
Stéphane Voltz 3135e94c90 work toward shading calibration
- black/white strip searching reliable
- call to dar and white shading calibration
2009-07-10 07:22:05 +02:00
Stéphane Voltz 7c44981be0 first step in adding sheetfed scanners calibration
- added search_strip function to command set
- coded search_strip for gl646
- initial calibration process for sheetfed scanners upto strip finding
- create a scanner calibration function that switches between
  	flatbed or sheetfed calibration
- added a sheetfed calibration function
- removed gamma table setting from calibration process
- call gamma setting during sane_start but before scanner calibration
2009-07-10 07:22:05 +02:00
Stéphane Voltz 8ef805fc00 Merge branch 'lexmark' of /home/stefdev/workspace/sane-backends 2009-07-06 07:05:55 +02:00
Stéphane Voltz 61cf53cf19 don't use resolution higher than sensor's max when calibrating
- change sanei_lexmark_low_set_scan_regs to have a resolution parameter
- cap sanei_lexmark_low_set_scan_regs resolution to sensor max dpi
	when calibrating
2009-07-03 07:23:11 +02:00
Nicolas Martin cb199d7f66 Declared new models (yet untested) Pixma MX330 and MX860 in pixma backend, bump minor version number.
- backend/pixma_mp150.c: declared new models (yet untested) Pixma MX330 and MX860.
- doc/descriptions/pixma.desc, doc/sane-pixma.man: updated docs.
- backend/pixma.h: bump backend minor version number.
2009-07-02 22:07:39 +02:00
Alex Belkin 66995bb258 usbid for Samsung SCX-4500W 2009-07-01 21:07:26 +04:00
m. allan noah f91492b7c1 reduce default buffer size to 2 megs 2009-06-29 21:56:09 -04:00
m. allan noah 4034d379a8 Set AV_LIGHT_CHECK_BOGUS on Fujitsu SP620C 2009-06-29 21:30:32 -04:00
Alessandro Zummo 1ab64487a0 coolscan3: enable infrared frame type
Enable infrared, remember to alter the #ifdef in sane.h
and use tiffscan svn to test.

http://code.google.com/p/tiffscan/

 tiffscan --device ... --scan --autofocus --ae-wb --depth=12 --infrared=yes
2009-06-27 17:55:09 +02:00
Alessandro Zummo 017696919b epson2: add infrared support
Adds infrared support for GT-X800 and GT-X700. Can be tested
by enabling the infrared frame type in sane.h and using
tiffscan (http://code.google.com/p/tiffscan/)

 tiffscan --mode=infrared --scan
2009-06-27 17:33:23 +02:00
m. allan noah ad09706aa9 hide new frame types and latex foo 2009-06-23 00:28:53 -04:00