Wykres commitów

2156 Commity (eb9df3a727dd298fa9368ad635d7987aae816999)

Autor SHA1 Wiadomość Data
m. allan noah f56fc87ff9 fujitsu backend v94, mostly changes to use less memory
- add side option to show which duplex image is being transferred
- convert front and simplex buffers to use much less ram
- add lowmemory option which makes duplex back buffer small too
- refactor image handling code to track eof's instead of lengths
- do color deinterlacing after reading from scanner, before buffering
2009-05-25 22:04:57 -04:00
m. allan noah 327250b7dc canon_dr v28, improve DR-2xxx support by emulating missing hw features
- use average instead of min/max for fine offset and gain
- rewrite supported resolution list as x and y arrays
- merge x and y resolution options into single option
- move scan params into two new structs, s->u and s->s
- sane_get_parameters() just returns values from s->u
- dont call wait_scanner() in object_position()
- dont call ssm_*() from option handler
- refactor sane_start()
- read_from_buffer() can workaround missing res, modes and cropping
- set most DR-2xxx machines to use the read_from_buffer workarounds
- set default threshold to 90
- add option for button #3 of some machines
- don't eject paper during init
- add DR-2010 quirks
- switch counter to HARD_SELECT, not SOFT
2009-05-22 10:24:58 -04:00
Alex Belkin dda029430e additional error check to (stop scanadf) + fix of it 2009-05-22 16:29:50 +04:00
Nicolas Martin 5b69fa8c6d Fix for Pixma MP730 in pixma backend and sanei_usb
Updated following files for Pixma MP730 support:
- backend/pixma_mp730.c:
  Add width scan area fitting
  Fix end scan sequence protocol
- sanei/sanei_usb.c:
  In sanei_usb_open(), changed the "seek for endpoints" loop
  so that it first looks for those interfaces (in config 0)
  that have been detected as potential scanners in
  sanei_usb_init()
2009-05-22 10:29:37 +02:00
Nicolas Martin 56c2ed861b Update of supported devices list comment in source code.
- Changed ImageClass  MF4600 and MF4010 to supported.
2009-05-22 10:12:34 +02:00
Alex Belkin 0b2693cbda Additional error check (to stop scanadf). 2009-05-21 19:19:23 +04:00
Pierre Willenbrock 3b13986395 Add Syscan 485, DCT 487; update descriptions for Syscan
Thanks again to Jack McGill.
2009-05-20 00:31:32 +02:00
Pierre Willenbrock 34717f1db0 Add Pentax DSmobile 600
Thanks go to Jack McGill for providing the model specific settings.
2009-05-19 16:24:59 +02:00
Stéphane Voltz 6fe9674b74 - fixed missing includes 2009-05-18 21:25:13 +02:00
Stéphane Voltz be5063a5e2 Merge branch 'master' of ssh://stefdev-guest@git.debian.org/git/sane/sane-backends 2009-05-16 06:58:53 +02:00
Nicolas Martin a446ecec31 Changes Pixma MP600 and MP600R read sequence protocol.
Fixes MP600R network scanning.
2009-05-12 23:33:09 +02:00
Stéphane Voltz 2b3e4d4a0e create a separate gl646 header file
- created genesys_gl646.h
- moved all declarations from genesys_gl646.c to the new header
2009-05-11 22:15:54 +02:00
chris@cnpbagwell.com 07c5723cab Merge branch 'master' of ssh://cbagwell-guest@git.debian.org/git/sane/sane-backends 2009-05-09 21:40:55 -05:00
Nicolas Martin a7f537ba7b Fixed Pixma MP600 and MP600R for 2400 dpi scan, updated their descriptions. 2009-05-09 15:27:28 +02:00
m. allan noah 024cd35c9c canon_dr backend v27, bugfixes and new calibration code
- bug fix in read_panel()
- initialize vars in do_usb_cmd()
- set buffermode off by default
- clear page counter during init and sane_start()
- eject previous page during init and sane_start()
- improved SSM_BUFF macros
- moved set_window() to after ssm-*()
- add coarse calibration (AFE offset/gain & per-channel exposure)
- add fine calibration (per-cell offset/gain)
- free image and fine cal buffers in sane_close()
- compare page counter of small scanners only in non-buffered mode
- add back-side gray mirroring code for DR-2580C
2009-05-08 16:05:54 -04:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Ilia Sotnikov 92076edd36 * HP5590:
- Updated the list of supported devices (HP 5500C which is similar to
    4570C, 5500C which is similar to 4500C) - only strings/comments, no
	code was changed
  - Updated backend version
  - Updated man page
2009-05-06 20:37:48 +03:00
m. allan noah 764aa7c6e1 add more generated files to .gitignore 2009-05-05 15:56:54 -04:00
Chris Bagwell 41a6a5d7cd Fix and cleanup PTHREAD linking.
Add in missing $PTHREAD_LIBS to all backends that can make use of it.
Rename --enable-fork-process to --enable-pthread to maatch internal
logic.  Also, stop linking in pthreads needlessly if its been
disabled.
2009-05-04 21:01:42 -05:00
Julien BLACHE 6e4ed52293 Add basic .gitignore files 2009-05-04 14:45:17 +02:00
Chris Bagwell 6b5973313c * Makefile.in, aclocal.m4, configure, */Makefile.in: Regenerated
with newer automake.
* backend/Makefile.am, tools/sane-config.in: Add missing
$GPHOTO2_LDFLAGS so library can be found.
* tools/Makefile.am: Add mising $SCSI_LIBS to sane-find-scanner.
2009-05-03 22:01:23 +00:00
m. allan noah daa15a1cb1 * backend/fujitsu.c: copy_buffer() needs to count lines, or M309[12]
cannot scan in duplex
2009-05-01 15:04:25 +00:00
m. allan noah dc74e3fa25 * backend/fujitsu.c: ignore errors in scanner_control(),
M3091 has not worked since sane 1.0.19, due to this.
2009-04-30 18:25:38 +00:00
m. allan noah afc0dc6ed3 * acinclude.m4, backend/gphoto2.c, configure, include/sane/config.h.in:
deal with upcoming gphoto2 interface change (patch by Chris Bagwell)
* po/sane-backends.nl.po: updates from Martin Kho
2009-04-30 13:58:35 +00:00
Gerhard Jaeger d2d4420a6b * backend/plustek-usbdevs.c:
Tweaked highspeed settings for Epson 1260
2009-04-27 18:36:46 +00:00
Stéphane Voltz 79348f194e - fix blocking bug due to scanner sharing enabled by default
- fix wrong waiting time for warming up
	- copyright notices and version updates
2009-04-27 15:29:35 +00:00
Stéphane Voltz 8d67bccbdc - HP2300 shading calibration fixes 2009-04-27 13:53:33 +00:00
Alessandro Zummo 3d05683f81 fixed TPU warmup retry 2009-04-25 13:55:06 +00:00
Stéphane Voltz f7b28fccd2 - y scan position fixes for MD6471
- shading calibration tuning for MD6471
2009-04-25 06:12:16 +00:00
Nicolas Martin 652da9a378 Updated documentation for Pixma MP240, reported to work fine by Nik. 2009-04-21 08:22:20 +00:00
Alex Belkin 739f09d65f update version number for upcoming rel. 2009-04-21 07:23:15 +00:00
m. allan noah aafe1ac093 * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc: add S1500 usb ids and status
* backend/canon_dr.c: update credits
* doc/sane-fujitsu.man doc/sane-canon_dr.man: update version numbers,
  dates, credits and known issues
* doc/saned.man: remove section about uncontrolled data port range
2009-04-21 01:18:04 +00:00
Alessandro Zummo 70b2085e1b temporarily disable infrared. 2009-04-21 00:43:05 +00:00
Nicolas Martin 17ce97ac80 Updated documentation for Pixma MP540, reported to work fine by Rogge. 2009-04-17 19:39:37 +00:00
Pierre Willenbrock 0f82af6930 Fix reading/writing calib_channels to/from cache file, bad calib_pixels calculation.
This fixes bugs introduced by my previous commit.
2009-04-17 14:02:13 +00:00
Pierre Willenbrock ad1f7de9e0 Always do shading calibration in color mode on gl841.
This removes the need to calibrate for both greyscale and color mode.
2009-04-17 13:03:35 +00:00
Stéphane Voltz 4f526dbb24 - y scan position fixes for gl646 scanners
- added a 'clear calibration cache button'
2009-04-16 18:39:23 +00:00
Stéphane Voltz d32f758ce3 - calibration cache activation for gl646 scanners 2009-04-15 19:24:10 +00:00
m. allan noah 3654ff9d43 * backend/fujitsu.c, doc/descriptions/fujitsu.desc: backend v93
- return cmd status for reads of sensor options
* backend/canon_dr.c, doc/descriptions/canon_dr.desc: backend v26
- return cmd status for reads of sensor options
- allow rs to adjust read length for all bad status responses
2009-04-15 13:13:35 +00:00
Stéphane Voltz a7a759b896 - shading calibration rework for gl646 based scanners 2009-04-14 05:15:29 +00:00
Stéphane Voltz f033f08646 - date and version update 2009-04-13 08:07:45 +00:00
Stéphane Voltz fc29149914 - conditional handling of SANE_STATUS_WARMING_UP and SANE_STATUS_LOCKED 2009-04-13 06:10:26 +00:00
m. allan noah 0342a63033 Updates to prepare for 1.0.20 release:
* configure.in: change version to 1.0.20cvs
* configure: rebuild from configure.in
* include/sane/sane.h: hide API changes (minor, frame and status)
* backend/canon_dr.c, backend/fujitsu.c: SANE_FRAME_JPEG
* backend/coolscan3.c: SANE_FRAME_RGBI
* backend/genesys_gl646.c, backend/genesys_gl841.c: STATUS_HW_LOCKED
* backend/rts8891.c, frontend/scanimage.c: STATUS_WARMING_UP
* backend/pixma_io_sanei.c, backend/xerox_mfp.c,
  backend/sane_strstatus.c: STATUS_HW_LOCKED & STATUS_WARMING_UP
* doc/releases.txt: minor updates for new build system
2009-04-12 19:40:31 +00:00
Nicolas Martin d8b60f0e0d Updated documentation for i-SENSYS MF4018 support. 2009-04-07 19:59:06 +00:00
Nicolas Martin 89cda70783 Added MAC OS X usb interrupt read wrapper for darwin libusb, updated doc 2009-04-05 19:49:41 +00:00
m. allan noah d1f48b2ce4 * backend/canon_dr.[ch], backend/canon_dr.conf.in: backend v24
- fix DR-2510C duplex deinterlacing code
- rewrite sane_read helpers to read until EOF
- update sane_start for scanners that dont use object_position
- dont call sanei_usb_clear_halt() if device is not open
- increase default buffer size to 4 megs
- set buffermode on by default
- hide modes and resolutions that DR-2510C lies about
- read_panel() logs front-end access to sensors instead of timing
- rewrite do_usb_cmd() to use remainder from RS info
* doc/desciptions/canon_dr.desc: backend v24, update DR-2510C comment
2009-04-05 04:46:38 +00:00
Louis Lagendijk d214d08f1b 2009-03-06 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c
        - silenced some debug statements during scanner detections
        - increased timeouts to 20 seconds as 10 seconds is apparently
        - not enough for the combination of a Mac and an MX850.
2009-03-31 19:07:26 +00:00
Alex Belkin ba825f1050 compatibility with scanners w/o feeder 2009-03-31 05:49:50 +00:00
Alex Belkin d2d6bc6914 add Xerox Phaser 6110MFP 2009-03-31 05:08:15 +00:00
Julien BLACHE 8c90ce6b75 Fix typos in error messages in sense_handler(). 2009-03-28 14:48:08 +00:00
m. allan noah a4561362b0 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v23
- rewrite all image data processing code
- handle more image interlacing formats
- re-enable binary mode on some scanners
- limit some machines to full-width scanning
* doc/desciptions/canon_dr.desc: v23, improved comments
2009-03-28 01:04:02 +00:00
m. allan noah 009c5cd33d * backend/canon_dr.[ch]: backend v22
- add deinterlacing code for DR-2510C in duplex and color
2009-03-26 03:05:18 +00:00
Pierre Willenbrock ce2fdfbfbe Add calibration cache
The calibration data is stored in the directory $HOME/.sane
2009-03-25 12:57:24 +00:00
m. allan noah 93b880cbd1 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v21
- correct rgb padding macro
- skip send_panel and ssm_df commands for DR-20xx scanners
* doc/desciptions/microtek2.desc: add ScanMaker 6400XL
2009-03-24 13:38:32 +00:00
m. allan noah a50ac53580 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v20
- improved macros for inquiry and set window
- shorten inquiry vpd length to match windows driver
- remove status-length config option
- add padded-read config option
- rewrite do_usb_cmd to pad reads and calloc/copy buffers
* backend/canon_dr.conf.in: s/status-length/padded-read/g
2009-03-23 16:49:19 +00:00
m. allan noah dc278c2e9f * backend/canon_dr.[ch]: backend v19
- pad gray deinterlacing area for DR-2510C
- override tl_x and br_x for fixed width scanners
* doc/descriptions/canon_dr.desc: backend v19, update comments
2009-03-23 01:04:31 +00:00
m. allan noah cd0b09ddf4 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v15 thru v18
- add byte-oriented duplex interlace code
- add RRGGBB color interlace code
- add basic support for DR-2580C, DR-2050C, DR-2080C, DR-2510C
- add more unknown setwindow bits
- add support for 16 byte status packets
- clean do_usb_cmd error handling (call reset more often)
- set status packet size from config file
- rewrite config file parsing to reset options after each scanner
- add config options for vendor, model, version
- dont call inquiry if those 3 options are set
- remove default config file from code
- add initial gray deinterlacing code for DR-2510C
- rename do_usb_reset to do_usb_clear
* doc/descriptions/canon_dr.desc: backend v18, update model status
* backend/canon_dr.conf.in: added better comments and new options
2009-03-22 02:56:45 +00:00
Pierre Willenbrock 9d7fb593a1 Calculate shading coefficients using maximum input resolution available
This still needs to honor half_ccd settings
2009-03-21 14:30:30 +00:00
Pierre Willenbrock f261d52e11 Remove park_head
It is redirected to slow_back_home in all cases
2009-03-21 14:28:57 +00:00
Pierre Willenbrock 8994e0cb07 Fix calculation of pixel number used in calibration 2009-03-21 14:27:06 +00:00
Pierre Willenbrock d2fb13c37d Enable Motor again for combined dark/bright calibration 2009-03-21 14:25:39 +00:00
m. allan noah d4db7b091e * backend/fujitsu.[ch]: backend v91
- remove unused temp file code
2009-03-20 23:17:35 +00:00
m. allan noah 7c6628312e * backend/hpljm1005.c: use private function instead of round() 2009-03-20 14:48:21 +00:00
Pierre Willenbrock 5864030834 Add basic support for Visioneer XP100 rev 3 and USB IDs for Syscan DocketPort 465 2009-03-19 22:27:53 +00:00
Louis Lagendijk 0086173dd3 2009-03-06 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c backend/pixma_bjnp.h
        backend/pixma_bjnp_private.h backend/pixma_io_sanei.c:
        Make bjnp protocol more resilient against packet loss and corruption
        Changed timeout for all responses to be at least 10 seconds
        Send all broadcasts for scanner detection 5 times
        Made sure scanners are added to device list only once
        Changed device-id for bjnp so it uses scanner hostname/ip-address
        instead of mac address as this is more human friendly.
        To make room, use scanner model instead of USB-id (which is bogus
        for network scanners
2009-03-17 19:29:39 +00:00
m. allan noah dd3db8d510 * doc/desc/gt68xx.desc, backend/gt68xx.conf.in: add NeatReceipts Mobile Scanner (from Kelly Price) 2009-03-17 13:13:55 +00:00
Nicolas Martin 35baca47f0 pixma ImageClass doc and capabilities update, PIXMA_EOF return code added. 2009-03-12 11:13:37 +00:00
Stéphane Voltz 185486e432 - cleanups for gl646 scanners
- change in document detection for gl646 sheetfed scanners
	- lexmark desc file update
2009-03-12 05:29:53 +00:00
Stéphane Voltz b635ba26b1 - head positionning fixes
- 1200 dpi scan fix for HP2300
2009-03-09 05:52:31 +00:00
m. allan noah eee0012786 * backend/canon_dr.c, backend/canon_dr.conf.in: backend version 14
- remove HARD_SELECT from counter (Legitimate, but API violation)
- attach to CR-series scanners as well
2009-03-08 01:07:41 +00:00
Louis Lagendijk 67b93432ee * backend/pixma_bjnp_private.h disabled experimental/incomplete
button handling for bjnp protocol as it seems to cause problems
        with xsane preview
2009-03-07 23:11:24 +00:00
m. allan noah 7d65c00a95 * backend/canon_dr.c, backend/canon_dr.conf.in,
doc/descriptions/canon_dr.desc: backend version 13
- new vendor ID for recent machines
- add usb ids for several new machines
- DR-4010C reported good
2009-03-06 21:32:02 +00:00
m. allan noah 62fcc842f7 set initial scan area dimensions to maximum, close bug 311313 2009-03-05 17:13:21 +00:00
m. allan noah 6ee58869dc * doc/descriptions/coolscan3.desc, doc/sane-coolscan3.man,
doc/Makefile.in|am: add missing coolscan3 docs
* backend/dll.conf.in: # out epson and coolscan2, remove hpoj text
* doc/descriptions/epson2.desc: add Epson RX-620
2009-03-05 02:33:45 +00:00
Pierre Willenbrock c96583da9e Fix the generated generic gamma table. 2009-03-04 13:40:04 +00:00
Chris Bagwell 9d1375fd7e * acinclude.m4, tools/sane-config.in: Add in missing libraries
to sane-config missed during fix to stop using LIBS to link everything.
Add back in code to move LDFLAGS out of $GPHOTO2_LIBS and into
GPHOTO2_LDFLAGS.
2009-03-03 02:53:42 +00:00
Stéphane Voltz a01d181c23 - fix 400, 1200 and 2400 dpi modes for MD6471/MD5345
- scanarea geomtry tunig for MD6471/MD5345
2009-03-02 20:56:59 +00:00
Chris Bagwell 135ac7d1ac * m4/byteorder.m4: Delete temporary file in all cases.
* backend/Makefile.am, japi/Makefile.am: Use BUILT_SOURCES
instead of dependency so that files are not compiled
during "dist" target.
2009-03-01 04:34:44 +00:00
Pierre Willenbrock 2e880e4b75 Adjust gl841 part to recent changes 2009-02-28 18:04:56 +00:00
Pierre Willenbrock c53a50cbfb Add support for Visioneer Roadwarrior 2009-02-28 18:03:44 +00:00
Pierre Willenbrock c8ce0f00ef Add support for Ambir/Syscan DocketPORT 665 2009-02-28 18:01:50 +00:00
Stéphane Voltz ea76aef8a2 - rewrite of gl646 internals to enable easy addition of new models
- rewrite of calibration process to make it more robust and accurate
	- untested full support for hp3670
	- untested support for 50, 100 and 300 uncalibrated scans for hp2400
	- use of id for device parts descriptions instead of using fixed
	  place in tables
 	- SCAN_MODE_* defines to clean up code
2009-02-27 12:37:16 +00:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Chris Bagwell df7839f587 * configure.in, m4/stdint.m4: Update to latest version to
get latest fixes and use logic to not recreate _stdint.h if
no changes (to prevent unneeded recompiles).
* m4/byteorder.m4: Added support to reuse existing byteorder.h if
no changes to prevent timestamp causing a recompile.
2009-02-25 03:55:33 +00:00
m. allan noah b85947768d backend/*.[ch]: more consistent #include "../include/sane/config.h" 2009-02-25 02:11:17 +00:00
m. allan noah 597bdcd400 * backend/Makefile.am, backend/xerox_mfp.conf.in: should use conf.in 2009-02-24 17:49:02 +00:00
Chris Bagwell 37bdd088dc * backend/Makefile.am: Add back in deletion of $(sanelibdir)/libsane.*
for buggy libtools.  Add some minor documentation.
* doc/backend-writing.txt: Add minor document updates to reflect
conversions to automake.
2009-02-24 02:47:44 +00:00
m. allan noah f9e541f02a * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v90,
add S510M usb ID's, add fi-6010N to .desc
* backend/epjitsu.conf.in, doc/descriptions/epjitsu.desc,
doc/sane-epjitsu.man: add S300M usb ID's
2009-02-23 16:46:26 +00:00
Pierre Willenbrock a2d99b716a Various warning cleanups 2009-02-23 14:21:23 +00:00
Pierre Willenbrock e026a4fa2c Make start/stop_(motor, now)action actually work 2009-02-23 14:20:39 +00:00
Pierre Willenbrock 3251c06fb4 Move sanei_genesys_{start,stop}_motor into chip specific sources 2009-02-23 14:16:56 +00:00
Pierre Willenbrock 271e9cf317 Add post_scan and eject_feed to struct Genesys_Model 2009-02-23 14:12:20 +00:00
Jonathan Bravo Lopez 3846396eff Fixed area of negative/slide scans for HP ScanJet G3110 2009-02-23 07:55:32 +00:00
Chris Bagwell 975aed198c * japi/Makefile.am: Add back -version-number to java library but
also add V_REV.
* backend/Makefile.am: Use variables to add libraries to backends
instead of direct substitution. Easier to touch up variables on
problem platforms then substitution.  Also, add back in creating
dll.d directory; missed during conversion.
* backend/genesys_gl841.c: Portablity fixes for strict
C compilers.
2009-02-23 04:44:55 +00:00
Chris Bagwell be3f46204b * po/Makefile.am, configure.in: convert remaining directory,
po, to use automake.
2009-02-21 22:45:14 +00:00
m. allan noah 8f82d9f60b * backend/avision.c: backend v290, fix reader_pid and NVRAM option
issues, by Mattias Ellert.
* backend/fujitsu.c: backend v89, fi-4750 has no serial number support
* doc/descriptions/fujitsu.desc: backend v89, remove 'MAC/TWAIN' text
* doc/sane-fujitsu.man: backend v89
* backend/.cvsignore: ignore *.loT
2009-02-20 19:57:21 +00:00
Mattias Ellert 0827226249 Adding missing liblib dependencies 2009-02-20 16:51:09 +00:00
Chris Bagwell cb4fb37eca Have configure define configdir so all makefiles can use
it (fixes bug introduce with sanei converted to automake).
Enable running testsuite during distcheck.
2009-02-19 18:10:12 +00:00
Chris Bagwell e380729334 * configure.in, tools/Makefile.am: convert tools to automake.
Add tools/openbsd to distribution package.
* include/Makefile.am: include files should have been installed
under sane/ directory when converted to automake.
* doc/Makefile.am: Cleanup. Use automake's built in support to
install docs within subdirectories.
2009-02-19 02:17:45 +00:00
Julien BLACHE 042656a002 Raise avahi-client dependency to 0.6.24. 2009-02-18 13:25:44 +00:00
Julien BLACHE 6733db0ec1 Do not lock the Avahi thread before stopping it. Leads to a deadlock,
so it seems it's actually not necessary anymore.
2009-02-18 11:07:38 +00:00
Chris Bagwell aef46252cc convert frontend, include, and sanei directories to use
automake.  Only reference libsanei.la now. Use am_conditional
to compile sanei_jpeg.lo.  distcheck now runs sanei/wire_test.
2009-02-15 03:31:36 +00:00
Chris Bagwell 79086e770e * Makefile.am, configure.in, doc/Makefile.am: Convert
doc/Makefile to use automake. Main difference is that
no longer installs man pages for backends that are not
compiled.  Moved install ownership of $top_srcdir docs
to $top_srcdir's Makefile.
2009-02-14 05:54:01 +00:00
Chris Bagwell 848b2e2175 * configure.in, backend/Makefile.am: Add back change to
use -version-number even though its known not to work on
some platforms (OS/2). -version-info results in a variety of
version numbers in soname based on platform and would not
be easily mappable back to values currently return by
each backend's sane_init().  ltmain.sh will need to be
hand patched for any known issues.
2009-02-12 03:43:18 +00:00
Pierre Willenbrock d167519e76 Remove "init device" usb request, add some support for Visioneer Strobe XP300.
Add support for uncalibrated scans in all modes for Visioneer Strobe XP300.
Front- and backside are	side-by-side, backside mirrored horizontally.
2009-02-08 18:59:59 +00:00
Chris Bagwell 144b1a3cfb * configure.in, backend/Makefile.am: Add back in support for
optionally linking in sanei_jpeg.lo under backend directory;
but using configure and not with GNU make extensions.
Move back to libtool's -version-info instead of -version-number
because the later has known bugs on platforms such as OS/2.
2009-02-07 02:00:51 +00:00
Chris Bagwell caba90c552 * configure.in, acinclude.ac: Cleanup autoconf 2.63 warnings.
add cv_ prefix to cached variable.  Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton.  Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h.  Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists.  This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
2009-02-06 03:10:44 +00:00
Nicolas Martin fc758d23e7 ALIGN macro name change due to MACOS X issue and cosmetic code enhancements 2009-02-02 21:16:44 +00:00
Alex Belkin f4fbdcbfa9 fix threshold value 2009-02-02 20:04:18 +00:00
Alex Belkin 133d37e4e4 Proper handling of parameters (to fix xsane crash) 2009-02-02 18:29:08 +00:00
Chris Bagwell 0330a4d416 * aclocalm4: fix prototype of internal strcasestr and usleep.
* configure.in: Group all USB logic together and all SCSI
logic together to aid understanding of whats no longer
valid.  Allow sharing enable/disable options between all
USB drivers on multiple platforms.  Combined CAM_LIBS and
SCSI_LIBS since they are mutually exclusive.
Skip some USB/SCSI checks when previous tests show it will always fail.
* backend/Makefile.am, tools/Makefile.in: Combine CAM_LIBS and
SCSI_LIBS. Add missing SOCKET_LIBS to epson2.  Add USB_LIB.
* saned.c: Add limits.h for PATH_MAX.
2009-02-02 03:17:32 +00:00
Mattias Ellert 7e6153827f format fixes. 2009-02-01 21:58:04 +00:00
Mattias Ellert f5af24221f avoid redefinition warning 2009-02-01 19:20:41 +00:00
Mattias Ellert 120806fa38 format fix and fix missing return 2009-02-01 18:50:24 +00:00
Mattias Ellert 4dab269c71 Restore the removed DYNAMIC_FLAG configuration. 2009-02-01 13:43:26 +00:00
Chris Bagwell 674b884f29 * acinclude.m4, configure.in: Define JPEG objects based on
existence of JPEG library and not on the dc* backends alone
since more backends then that use JPEG support.
* backend/Makefile.am: whitespace fixes.
2009-01-31 20:40:42 +00:00
Chris Bagwell 51860ae62c Add missing math library to coolscan2 backend. Add few new directories
for cvs to ignore.
2009-01-31 16:20:03 +00:00
Chris Bagwell 23ff26f9a5 * acinclude.m4, configure.in: Put all libraries into their
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided.  Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
  lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
  tools/sane-desc.c: Convert lib/ to automake.  Create a liblib.la
  for everyone to use and a libfelib.la for only frontend programs.
  Make all internal programs be prefixed with sanei_ as not to conflict
  with other programs libsane is linked in with that will also most
  likely create similar internal utils on problem platforms.
  * include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
  and link in getopt_long() but prefix it with sanei_.  Its
  easier to always use internal version then try to figure out what
  platforms support getopt_long() and what header files to use.
  * backend/Makefile.am: Convert backend makefile to automake.
  Initial version that is feature parity with original but uses
  specific rules instead of wildcards and only links in libraries/objs
  really required. Room for more cleanup of whats linked in once
  all makefiles have been converted to automake.
2009-01-31 03:12:18 +00:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Louis Lagendijk 9d7a8353b6 2009-01-27 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: fixed bug that caused scanner discovery to
        fail when it encountered a point to point link (check data returned
        by getifaddrs()
2009-01-27 20:13:11 +00:00
Pierre Willenbrock d46ce99e7b Change status code for locked head to SANE_STATUS_HW_LOCKED 2009-01-25 22:03:26 +00:00
Chris Bagwell 4ed8a4a87c Currently, compiling stubs.c requires its
own compile rule simply to pass in -DSTUBS.  Since its always
required, just define it in stubs.c
2009-01-23 04:05:00 +00:00
Chris Bagwell 8b5df29714 Submit Makefile.in from Makefile.am submitted previously.
Updated backends with EXTRA_* files to allow Makefile's
to always pass in BACKEND_NAME to be fixed to backend name
instead of filename; while still making sure that
SANE_DEBUG_${BACKEND}* exist as documented in man pages.
Add references to epson and epson2 man pages about
SANE_DEBUG_EPSONx_SCSI and _NET options.
Created an epson2 man page; based mostly on epson page.
2009-01-23 03:50:22 +00:00
m. allan noah 690f1670c3 dont export private symbols 2009-01-21 15:12:08 +00:00
Nicolas Martin 2628042ada Changes for MF4600 series and a few fixes. 2009-01-19 21:02:26 +00:00
Stéphane Voltz 81953325e8 - add support for uncalibrated scan for Visioneer Strobe XP200
- button support for MD5345, HP2300 and XP200
2009-01-19 05:46:43 +00:00
Pierre Willenbrock 35ea4a1250 Reenable clock register setup from sensor struct, set SCANMOD 2009-01-18 16:51:39 +00:00
Pierre Willenbrock acc563e707 Make half-ccd mode optional 2009-01-18 14:20:55 +00:00
Pierre Willenbrock e44981a905 Make some Canon LiDE 35 specific gpio handling conditional, add missing SCANMOD shift. 2009-01-18 14:03:56 +00:00
Pierre Willenbrock db00e6eaa3 Make dpihw depend on sensor pixel count instead of sensor resolution 2009-01-18 14:00:13 +00:00
Pierre Willenbrock d881871d21 Fix prototype of update_hardware_sensors 2009-01-18 13:56:57 +00:00
Nicolas Martin 7cb2fedc4a Fixes Busy mode exit processing. 2009-01-17 14:48:19 +00:00
Chris Bagwell 88e5a02910 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-17 04:32:22 +00:00
Pierre Willenbrock ba164358db Add support for buttons on Canon LiDE 35/40/50. 2009-01-16 15:31:10 +00:00
Nicolas Martin 292b70dad8 Updated docs, comments and authors for pixma backend 2009-01-15 21:24:24 +00:00
Alessandro Zummo 7ee4156e7d do not use request_identity2 with
networked scanners, fixed generation of resolution list.
2009-01-15 19:18:05 +00:00
Louis Lagendijk 1b57825ef3 2009-01-13 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: send broadcasts from bjnp port to make
        firewalling easier
2009-01-13 22:00:32 +00:00
Alex Belkin 75ceb5bca9 proper opt group names 2009-01-12 04:10:10 +00:00
m. allan noah b900ffd2a3 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v11
- send_panel() can disable too
- add cancel() to send d8 command
- call cancel() only after final read from scanner
- stop button reqests cancel
2009-01-10 23:39:54 +00:00
Jeremy Johnson 887f79a6a4 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c replaced ulong with u_long,
	added static keyword for SANE_Status update_hs2p_data()
2009-01-10 21:39:16 +00:00
Jeremy Johnson 38de2aadc7 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c:3227 replaced ulong with u_long
2009-01-10 21:34:46 +00:00
Jonathan Bravo Lopez 4b9e686065 * backend/hp3900_sane.c, backend/hp3900_config.c, backend/hp3900_types.c,
backend/hp3900.conf.in, doc/sane-hp3900.man, doc/descriptions/hp3900.desc:
  Added support for HP Scanjet G3110 scanner.
2009-01-06 15:09:22 +00:00
Jeremy Johnson e11de37747 2009-01-05 Jeremy Johnson <jeremy a t acjlaw dot net>
Added code to read_data() to pad image data to
	requested length and to zero out any garbage using
	information from sense data command. Added new
	MAINTENANCE_DATA struct and options to display
	scanner's maintenance/callibration statistics.
	*backend/hs2p.h
	- added enum CONNECTION_TYPES
	- added HS2P_DATA struct
	- added SENSE_DATA struct to struct HS2P_Device
	- added SANE_String_Const orientation_list[]
	- added macros isset_ILI() and isset_EOM()
	*backend/hs2p-scsi.h
	- replaced request_sense struct with SENSE_DATA struct
	- added #define DATA_TYPE_EOL (va_list sentinel)
	- added MAINTENANCE_DATA struct
	*backend/hs2p-saneopts.h
	- added OPT_ORIENTATION
	- added MAINTENANCE_DATA options
	*backend/hs2p.c
	- added MAINTENANCE_DATA options
	- added unused connType to attach()
	- added update_hs2p_data() to fill in options
	- added hs2p_open() and hs2p_close()
	- added get_hs2p_data() to read scanner data
	- added print_maintenance_data()
	- modified sane_control_options() to
	  accomodate new maintenance options and to
	  handle Portrait/Landscape option
	  replaced adf_status macro with s->data.adf_status
	- modified sane_read() to correctly zero out the
	  missing bytes on an incomplete read and to pad
	  to the requested length
	*backend/hs2p-scsi.c
	- replaced request_sense() with get_sense_data()
	- added print_sense_data()
	- added SENSE_DATA *sdp to sense_handler()
	- modified read_data() to handler other data type codes/qualifiers
	- read_adf_status() now is replaced with call to
	  read_data(fd,*buf,*bufsize,dtc,dtq)
2009-01-06 01:21:19 +00:00
Stéphane Voltz 2fda04000a - restored warming-up broken by a previous commit 2008-12-31 07:11:20 +00:00
Nicolas Martin 751d878c56 Change to include different checksumming for MF41xx and MF42xx series 2008-12-28 09:53:55 +00:00
Alessandro Zummo 642e29f9be backend/epson2.c: changed version code, added protection from wrong settings. 2008-12-26 22:02:32 +00:00
Ilia Sotnikov d9bfa31c40 * [Bug #311316] Allow sane_open() to be called with empty (zero-length)
device name to select first available one (see special case described in
  SANE API Documentation, s. 4.3.4).
2008-12-22 07:52:43 +00:00
m. allan noah 1f6ae430d7 * backend/fujitsu.[ch]: backend v87
- accept null pointer as empty device name
- track frontend reading sensor/button values to reload
- deactivate double feed options if df-action == default
2008-12-21 20:44:09 +00:00
Nicolas Martin 316027d93d MP800/MP800R fixes and TPU support added, doc updates for MP980 2008-12-21 14:51:26 +00:00
m. allan noah 50176dbf5a * backend/fujitsu.[ch]: backend v86
- get_pixelsize() sets back window ID for back side scans
* doc/sane-fujitsu.man, doc/descriptions/fujitsu.desc: backend v86
2008-12-18 19:36:33 +00:00
Julien BLACHE ec46508258 Use libv4l (libv4l1) for v4l device access in the v4l backend. Gives us
limited v4l2 devices support for free through libv4l1/libv4l2/libv4lconvert.
2008-12-17 15:52:46 +00:00
Julien BLACHE 4930880e8f Unmap mapped buffer in sane_cancel(). 2008-12-17 15:20:31 +00:00
Alex Belkin 8a2b4538c1 add xerox_mfp 2008-12-16 00:05:57 +00:00
Alex Belkin 77c8b43209 linking xerox_mfp to build infrastructure 2008-12-15 21:48:20 +00:00
Alex Belkin 7dfa614b97 removed some unneeded warnings before final linking to build infrastructure 2008-12-15 19:54:47 +00:00
Alex Belkin 61f85eeea7 xerox_mfp backend base files 2008-12-15 18:31:55 +00:00
Julien BLACHE b9807541c7 Add a data_portrange configuration file option to saned. 2008-12-12 15:51:15 +00:00
Stéphane Voltz fa2f9968e6 - scan register setting fix
- documentation update
2008-12-11 05:35:26 +00:00
m. allan noah 425a3d034d * backend/fujitsu.[ch]: backend v85
- round pixels_per_line down to arbitrary limits for fi-4990 & fi-4860
 - fi-4860 returns random garbage to serial number queries
 - initialize *info to 0 in sane_control_option()
* doc/descriptions/fujitsu.desc: backend v85, improve status/comments
* frontend/scanimage.c: initialize *info, fix buffer overwalk
2008-12-10 21:32:10 +00:00
m. allan noah 41e9763143 * backend/canon_dr.c: backend v10
- add all documented request sense codes to sense_handler()
 - fix color jpeg (remove unneeded BGR to RGB swapping code)
 - add macros for LUT data
* backend/canon_dr.conf.in: add DR-2080C usb ID
* doc/descriptions/canon_dr.desc: backend v10, add DR 3020
2008-12-10 18:47:57 +00:00
m. allan noah 56ed54d96e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v9
- add rollerdeskew and stapledetect options
- add rollerdeskew and stapledetect bits to ssm_df()
* doc/descriptions/canon_dr.desc: backend v9
2008-12-09 03:21:47 +00:00
m. allan noah 7eedd6b799 * backend/avision.c: backend v289
- fix sending SIGTERM when reader_pid == 0
2008-12-08 14:46:07 +00:00
m. allan noah 8e38974a3e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v8
- rename read/send_counter to read/send_panel
 - enable control panel during init
 - add options for all buttons
 - call TUR twice in wait_scanner(), even if first succeeds
 - disable rif
 - enable brightness/contrast/threshold options
* doc/descriptions/canon_dr.desc, doc/sane-canon_dr.man: backend v8
2008-12-08 03:47:35 +00:00
Louis Lagendijk 93daeb670f replaced getlogin/getenv by getpwuid(geteuid) as suggested by ulien BLACHE 2008-12-06 18:38:44 +00:00
Louis Lagendijk e9ede962ee backend/pixma_bjnp.c pixma_bjnp_private.h
On Ubuntu getlogin() returns NULL. So we noew first try getlogin()
and if that fails, we try getenv("USER") and if that fails we use
a defaul user string
2008-12-06 16:25:17 +00:00
Stéphane Voltz e04240297d - possible fix for failed scan at 300 and 1200 dpi for
HP4400 with sensor type 2
2008-12-03 20:33:31 +00:00
m. allan noah 3d197a1a64 * backend/canon_dr.[ch]: backend v7
- jpeg support (size rounding and header overwrite)
- call object_position(load) between pages even if buffering is on
- use request sense info bytes on short scsi reads
- byte swap color BGR to RGB
- round image width down, not up
- round image height down to even # of lines
- always transfer even # of lines per block
- scsi and jpeg don't require reading extra lines to reach EOF
- rename buffer option to buffermode to avoid conflict with scanimage
- send ssm_do and ssm_df during sane_start
- improve sense_handler output
* doc/descriptions/canon_dr.desc: backend v7
2008-11-30 03:40:51 +00:00
m. allan noah 5ee6f8de28 * backend/canon_dr.[ch], backend/canon_dr-cmd.c: backend v6
- fix adf simplex
- rename ssm_duplex to ssm_buffer
- add --buffer option
- reduce inter-page commands when buffering is enabled
- improve sense_handler output
- enable counter option
- drop unused code
* doc/descriptions/canon_dr.desc: backend v6
2008-11-29 05:22:37 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
m. allan noah 9e0e272a9b backend/canon_dr.[ch], backend/canon_dr-cmd.c,
doc/descriptions/canon_dr.desc: backend v5
- remove EOF ejection code
- add SSM and GSM commands
- add dropout, doublefeed, and jpeg compression options
- disable adf backside
- fix adf duplex
- read two extra lines (ignore errors) at end of image
- only send scan command at beginning of batch
- fix bug in hexdump with 0 length string
- DR-7580 support
2008-11-26 04:37:40 +00:00
Nicolas Martin 251153010d Fixed regression bug at end of scan for all PIXMA, noticeable in multipage ADF scan. 2008-11-25 21:40:54 +00:00
Nicolas Martin 11410c5b0c Support for PIXMA MP630 to pixma backend, doc and French translations updates. 2008-11-23 21:14:03 +00:00
Stéphane Voltz 12d1b49896 - fix 'commit scan' value. Should fix 150/1200 dpi scan problems
for HP4400 with sensor type 2
2008-11-22 06:40:46 +00:00
Stéphane Voltz b1be8ec61f - calibration fixes for hp440 with sensor type 3 2008-11-20 19:57:28 +00:00
Alessandro Zummo 9227e7d6bc fixed bug when an extended command
was used with D8 level scanners. bug reported
by Kare Sars <kare.sars@kolumbus.fi>
2008-11-18 20:26:55 +00:00
Stéphane Voltz ca5bfa59f3 - fix sensor mis-detection for HP4400
- lighting change for HP4400
2008-11-12 06:59:38 +00:00
m. allan noah 4c0b0a599f backend version 4, eject paper in last sane_read() 2008-11-11 16:58:00 +00:00
m. allan noah 03c5a9ee44 * backend/canon_dr.[ch], backend/canon_dr-cmd.h, doc/sane-canon_dr.man,
backend/canon_dr.conf.in, doc/descriptions/canon_dr.desc:
- New Canon DR-series backend v3
- support all modes and resolutions of DR-9080C
- advanced options (MF detection, compression) not yet supported
- other larger models believed similar, smaller ones unknown
* doc/descriptions/unsupported.desc: remove Canon DR-series machines
2008-11-10 03:36:11 +00:00
m. allan noah f4ccd1c46b * backend/fujitsu.c: backend v84
- round lines down to even number to get even # of total bytes
- round binary bpl and Bpl down to byte boundary
2008-11-07 17:33:39 +00:00
m. allan noah 2b2923b154 * backend/fujitsu.[ch]: backend v83
- round binary bpl and Bpl up to byte boundary
- use s->params instead of user data in set_window()
- read_from_scanner() only grabs an even number of lines
2008-11-07 02:03:32 +00:00
Louis Lagendijk a1f9143a41 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Pixma backend (pixma.c/pixma_common.c/pixma_io_sanei.c/pixma_bjnp.c)
          bjnp tcp connection is now de-activated after initialization and
          re-activated at start of scanning. If we do not do this, the scanner
          closes its side of the connection after 30 secods of inactivity.
          Added a maximum to the retry of slect calls when signals are
          received
          Added blocksize detection for tcp read_bulk call
2008-11-05 20:53:30 +00:00
m. allan noah 8eaa9c65e4 fujitsu backend v82
- improved front-side endorser vpd detection
- send scanner_control_ric during sane_read of each side
- add fi-6770A and fi-6670A USB ID's
2008-11-01 01:34:18 +00:00
Louis Lagendijk ab53b7e884 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c corrected small typo
2008-10-31 22:57:33 +00:00
Louis Lagendijk 18ce7b4e0f 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c
           Added retry to select() calls when they get interrupted by a
           signal. This solves problems in xsane after a first scan completed.
           There is still an issue that scanner closes tcp connection after
           30 seconds of inactivity
           backend/pixma_bjnp.c backend/bjnp_private.h
           Marked local functions as static and removed them from ..private.h
2008-10-31 20:32:30 +00:00
Stéphane Voltz 948020bf1c - added 600 and 1200 dpi scans for HP4400
- added 600 and 1200 dpi scans for HP4470 with 'xpa' sensor
2008-10-31 06:15:26 +00:00
Nicolas Martin 173e05ffd1 TPU scan 48 bits at 4800 dpi, fix MP810 at 2400 dpi. Updated docs. 2008-10-25 15:22:04 +00:00
Louis Lagendijk 69c9248356 2008-10-25 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Added configuration  file support for pixma backend
        Currently used only for configuration of network scanners.
2008-10-25 14:56:11 +00:00
Nicolas Martin 677e4e5dd5 TPU 48 bits depth scan on MP970, min 300 dpi in TPU mode, Legal paper size for MX850 or MX7600 ADF scan 2008-10-22 20:35:25 +00:00
Louis Lagendijk 1b5f65b930 2008-10-21 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Added #ifdef around defintions of MIN and MAX in pixma_common.h
        - Re-enable includes in pixma_bjnp.c as they are needed on Freebsd
        - Replaced getaddrinfo by gethostbyname in pixma_bjnp.c as this is
          supported on OS/2 as well
2008-10-21 21:37:34 +00:00
m. allan noah df25acfd38 * backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v81
- increase USB timeouts
- enable get_pixelsize() to update scan params after set_window()
- remove even_scan_line hack
2008-10-20 18:03:19 +00:00
Nicolas Martin f573865c33 ifaddrs.h header check and increase backend version number 2008-10-18 22:26:57 +00:00
Stéphane Voltz 5633288e36 - added 300 dpi scans for HP4400, sensor type 2 2008-10-15 05:01:28 +00:00
Stéphane Voltz 8d3d0f1037 - added 150 dpi scan for HP4400
- added sensor detection for HP4400
2008-10-15 04:36:30 +00:00
Nicolas Martin 391a6b4549 Added Canon's BJNP network protocol support, fix an ADF issue, updated doc and headers 2008-10-14 19:48:59 +00:00
m. allan noah 0f3d11f498 * backend/fujitsu.c: backend v80
- front-side endorser uses data ID 0x80
2008-10-09 00:43:06 +00:00
Stéphane Voltz 049d3c644f - fixed a configuration option bug 2008-10-06 04:25:23 +00:00
Nicolas Martin 1aa1677ef2 Changes for ADF simplex and duplex scan, MP970 4800 dpi and TPU scan. 2008-10-05 20:42:19 +00:00
m. allan noah 7fa6ae708c typo in comment 2008-10-03 16:20:36 +00:00
m. allan noah 9371a0c8fb * backend/epjitsu.[ch]: backend v17:
- increase scan height ~1/2 inch due to head offset
- change page length autodetection condition
2008-10-03 15:54:39 +00:00
Stéphane Voltz 0214a5091b - add a 'sensornumber' option to override sensor detection 2008-10-02 19:54:52 +00:00
m. allan noah 48e23ca24e * doc/descriptions/fujitsu.desc, backend/fujitsu.conf.in,
backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v79
- add usb ids for several models
- print additional hardware capability bits
- detect front-side endorser
- disable endorser-side controls if only one side installed
- add quirks for fi-6x70
2008-10-02 04:03:31 +00:00
m. allan noah 7274bfc500 * backend/epjitsu.[ch]: backend v16:
- split fill_frontback_buffers_S300 into 3 functions
- enable threshold_curve option
- add 1-D dynamic binary thresholding code
- remove y-resolution option
- pad 225x200 data to 255x225
2008-10-02 03:38:40 +00:00
Gerhard Jaeger 98de411d6c Added entry for OpticSlim 2400plus 2008-10-01 11:44:54 +00:00
Stéphane Voltz db0188805e - fix HP4400 head parking 2008-09-26 04:47:54 +00:00
m. allan noah 0bbf8bac04 2008-09-25 m. allan noah <kitno455 a t gmail d o t com>
* backend/epjitsu.[ch], backend/epjitsu-cmd.h: backend v 13, 14 and 15:
        - add working page-height control
        - add working brightness, contrast and threshold controls
        - add disabled threshold curve and geometry controls
        - move initialization code to sane_get_devices, for hotplugging
        - support S300 on USB power
        - support S300 225x200 and 600x600 scans
        - support for automatic paper length detection (parm.lines = -1)
        - expose hardware buttons/sensors as options for S300
        * doc/descriptions/epjitsu.desc: change S300 status to good
2008-09-25 03:15:49 +00:00
Stéphane Voltz c2f747a22d - fixed typo in HP4400 sensor detection 2008-09-23 19:22:42 +00:00
Stéphane Voltz 9f081c4508 - head parking fix for HP4400
- 75 dpi support for a sensor varaint of the HP4400
	- better sensor detection at init
2008-09-20 07:00:10 +00:00
Nicolas Martin 5ab0b2024c Changes for MP970 (to be continued), add MX7600 pid (untested yet). 2008-09-13 12:32:52 +00:00
Stéphane Voltz c21bb0ab56 - fix head parking for HP4400
- tune dark calibration for HP4400
2008-09-11 04:38:19 +00:00
Nicolas Martin 286dbd885d Doc update, CCD sensors white lines padding fix, enhance scan area adjustments. 2008-09-07 19:08:25 +00:00
Stéphane Voltz a2cb00cdc3 - minor tweaks for hp4400 support 2008-09-03 04:43:15 +00:00
Nicolas Martin 3a8c2cc40f Some tweaks to have PIXMA MP810 supported by the pixma backend. 2008-09-02 20:56:23 +00:00
Stéphane Voltz 9f60fdf955 - move to configuration framework
- fix GPO value confusion
	- don't reset ASIC anymore
	- some HP2400/G2410 tidbits
2008-08-29 05:13:15 +00:00
m. allan noah 08d54b457a * backend/fujitsu.c, doc/descriptions/fujitsu.desc: backend v78
- recent model names (fi-6xxx) dont end in 'C'
- simplify flatbed area overrides
- call scanner_control to change source during sane_start
2008-08-26 17:04:30 +00:00
m. allan noah b9aaa8a469 * backend/fujitsu.c, backend/fujitsu-scsi.h: backend v77
- override flatbed maximum area for fi-6230C and fi-6240C
 - set PF bit in all mode_select(6) CDB's
 - set SANE_CAP_INACTIVE on all disabled options
 - fix bug in mode_select page for sleep timer
2008-08-26 15:29:46 +00:00
Gerhard Jaeger c7b898da9c Fixed name from XP100 to Strobe XP100 2008-08-25 20:23:42 +00:00
Gerhard Jaeger 78413ed072 Added preliminary support for Visioneer XP100
Tweaked entry for LM9831 version of Plustek UT12
2008-08-25 20:17:46 +00:00
Gerhard Jaeger 39dabb3a09 Bumped build number 2008-08-25 20:15:11 +00:00
Stéphane Voltz ace0f65863 - calibration update for HP 4400
- 75 dpi scan mode update for HP 4400
2008-08-25 05:36:46 +00:00
Stéphane Voltz 58b63ddeb3 - for HP4400 support, add a sensor type filed in device description
and use it in find_origin()
2008-08-21 06:45:13 +00:00
Stéphane Voltz b7db21cf61 - fix for HP4400 init 2008-08-14 05:26:05 +00:00
m. allan noah 852411f3f4 * backend/fujitsu.[ch]: backend v76
- add independent maximum area values for flatbed
- override said values for fi-4220C, fi-4220C2 and fi-5220C
* doc/descriptions/fujitsu.desc: bump version, add 2 untested scanners
2008-08-14 03:56:17 +00:00
Stéphane Voltz bbc7dbd0c9 - improve configuration framework use
- add temporary shading calibration tuning tool
2008-08-11 19:17:28 +00:00
Rene Rebe b975ac1fcd * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc: backend v75
	- added fi-6230 ID, updated fi-6130, fi-6230 status
2008-08-07 08:21:51 +00:00
Julien BLACHE 07b79c5feb Fix typo in message. 2008-08-04 20:50:34 +00:00
Stéphane Voltz 8fb94ddcd9 - change umax_pp backend to use the configuration framework
- allow for 'umax_pp' default device name
2008-08-04 19:49:46 +00:00
m. allan noah 47772db938 2008-08-02 m. allan noah <kitno455 a t gmail d o t com>
* backend/fujitsu.c, backend/fujitsu-scsi.h: backend v74
        - replace global scsi blocks with local ones in each function
2008-08-04 00:51:24 +00:00
m. allan noah ea2a506cba fujitsu backend v73
- add fi-6130 usb ID
- correct overscan dimension calculation
- provide correct overscan size overrides for fi-5110C and fi-4x20C2
- fi-5750C can't handle 10 bit LUT via USB
2008-07-27 23:29:12 +00:00
m. allan noah 2dc0cb38bd separate x-resolution from resolution, and update all backends that use
it, to prevent ui change
2008-07-26 03:53:44 +00:00
Julien BLACHE 154bea9618 sane_control_option(): perform options reload if asked by the remote backend and the frontend doesn't care (info == NULL) 2008-07-20 10:28:14 +00:00
Nicolas Martin cc60422d01 Changed page scan end condition to handle correctly PIXMA ADF. 2008-07-15 20:24:26 +00:00
m. allan noah 4f4ce809ba * backend/fujitsu.[ch]: backend v72,
- use mode_sense to determine background color support
- remove fi-5900 background color override
2008-07-14 00:59:26 +00:00
m. allan noah dfee7abb75 fujitsu backend v71,
- disable overscan option if vpd does not tell overscan size
- fi-5110EOX crops scan area based on absolute maximum, not paper
- fi-5330C and fi-5650C can't handle 10 bit LUT via USB
- fi-5900 has background color, though it reports otherwise
2008-07-13 06:32:41 +00:00
Stéphane Voltz fb5ade52ad - handle the case where the attach callback or the config struct
is NULL
	- make use of new configuration parsing framework
2008-07-10 19:37:00 +00:00
Stéphane Voltz c74a1be430 - add support for SANE_Bool in sanei_check_value
- add sanei_constrain_value.lo to libsane dependencies
	- add makedepend for .lo files in sanei
	- add configuration parsing framework
2008-07-10 05:40:25 +00:00
m. allan noah 7b73560b15 * backend/fujitsu.[ch]: backend v70,
- fix bug in sane_get_parameters (failed to copy values)
- autodetect jpeg duplex interlacing mode by inspecting scan width
2008-07-06 01:03:11 +00:00
Nicolas Martin b17fddd55b A few changes for ADF source scanning, updated MX850 description. 2008-07-05 12:42:53 +00:00
m. allan noah 800a3ae2c3 backend/fujitsu.[ch]: backend v69, support hot-unplugging scanners 2008-07-04 01:04:12 +00:00
m. allan noah 40e5aaa7fe * backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v68,
- add halftone type and pattern options
 - support M3097G with IPC and CMP options via modified VPD response
* doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v68,
 - manpage cleanup
2008-07-02 20:43:49 +00:00
m. allan noah da1587f897 backend v67,
- add IPC/DTC/SDTC options
- call check_for_cancel() in sane_cancel, unless reading flag is set
2008-07-01 21:21:16 +00:00
Nicolas Martin be7c92b63e Removed experimental flag for PIXMA MX850. 2008-06-28 08:52:49 +00:00
m. allan noah d7a24693cf oops- 1 char typo 2008-06-27 04:02:06 +00:00
m. allan noah 07df99df47 backend version 66:
- restructure double feed detection options for finer-grained control
- add endorser side option
- prevent init_interlace() from overriding init_model()
- simplify sane_start() and fix interlaced duplex jpeg support
- simplify sane_read() and add non-interlaced duplex jpeg support
- removed unused code
2008-06-27 03:13:08 +00:00
m. allan noah 8733651c4b test backend checks for options that have not been loaded before being controlled 2008-06-26 13:14:23 +00:00
Nicolas Martin 7ef8119579 Patch from Sam Varshavchik to deal with libusb 64 read issue, for ImageClass MFPs. 2008-06-25 20:54:16 +00:00
m. allan noah f3ed5342cc backend version 65, add endorser support, add quirks for fi-4990 2008-06-25 02:30:54 +00:00
Julien BLACHE 29e8be57e5 Fetch option descriptors in sane_open() so a GET_VALUE on option 0 can still
work without having to get option descriptor 0 beforehand.
2008-06-24 20:07:01 +00:00
Julien BLACHE f7f53e0479 Do not refresh option descriptors cache behind the frontend's back. 2008-06-24 17:29:37 +00:00
Ilia Sotnikov 7b4f5d36e8 * Fixed segmentation fault on invalid option passed to
sane_get_option_descriptor(), sane_control_option()
  (thanks to Albert Cervera i Areny)
2008-06-19 11:28:06 +00:00
Ilia Sotnikov 249681dbc6 + Added support for HP ScanJet 4570c (thanks to Markham Thomas) 2008-06-19 11:03:49 +00:00