Wykres commitów

1840 Commity (51860ae62c30dbb539dc5739d24d80df562ebcec)

Autor SHA1 Wiadomość Data
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
Nicolas Martin 1a23d9be8c Remove 'experimental' in pixma buttons options and text, fix some French translation typos, update man page. 2008-06-15 20:05:14 +00:00
Stéphane Voltz 777c8f4f6d - improved sanei_constrain_value to handle arrays (such as gamma
tables)
2008-06-10 04:59:45 +00:00
Stéphane Voltz 24fab2e360 - fix scan with moels sold with XPA 2008-06-09 19:50:16 +00:00
Julien BLACHE e4d87cce65 Lock the Avahi thread before stopping it and tearing down the Avahi objects. 2008-06-06 15:24:28 +00:00
Stéphane Voltz f27fc32bb1 - fixed wrong offset for start of scanarea for MD6471 scanner. 2008-06-03 04:41:08 +00:00
m. allan noah ad779e0865 backend version 64,
use model and serial to build sane.name (idea from Ryan Duryea),
 allow both serial_name and device_name to sane_open scanner,
 simulate missing VPD data for M3097G, probe scanner for color
 interlacing mode instead of hardcoding, other minor cleanups
2008-05-30 08:47:38 +00:00
Mattias Ellert 1e8ff4c986 Fix the logic 2008-05-29 20:46:07 +00:00
Nicolas Martin a8f3404cc3 Update SANE status types, and take into account new ones. 2008-05-29 20:03:35 +00:00
Mattias Ellert d19b1a6b6e Correct typos, update localization 2008-05-29 19:24:12 +00:00
Rene Rebe 3f0f3be9e3 * backend/avision.{c,h}: merged latest upstream SVN changes, bug fixes
and device ID updates, including fixing uninitialized variables due
          former defect merge and exposure control for film / dia scanners
2008-05-26 09:57:28 +00:00
Stéphane Voltz fa01ab9662 - added 2 more virtual devices. 'locked' which is hardware locked
and 'warmup' that always do warming-up before scan
2008-05-26 04:58:05 +00:00
Stéphane Voltz 25d2ffff6d - added support for new status
- added internationalization support
2008-05-26 04:55:52 +00:00
Stéphane Voltz 1ed1d84f85 - renamed per frontend struct tp Rts8891_Session
- made use of new well-known option groups
	- added warming-up handling in sane_start()
2008-05-26 04:48:20 +00:00
Stéphane Voltz c97e99a430 - changed top of scan area detection for MD6228/MD6471 models 2008-05-23 08:55:22 +00:00
Jonathan Bravo Lopez fa54852d6e Setting appropiate capabilities to some advanced options 2008-05-23 08:34:53 +00:00
Jonathan Bravo Lopez 041f5cd20c * backend/hp3900_sane.c: use 1.1.0 well-known option group strings.
* backend/hp3900_config.c, backend/hp3900_debug.c,
  backend/hp3900_rts8822.c, backend/hp3900_types.c,
  backend/hp3900_usb.c: fixed reference position detection for
  HP3800/HPG2710 scanners. Code clean up.
2008-05-22 10:24:31 +00:00