Wykres commitów

1956 Commity (f56fc87ff9fe6f94c51f6c9a99f5a554f686836c)

Autor SHA1 Wiadomość Data
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
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
Stéphane Voltz e154d2eb11 - minor tweak for scanjet 4470cx 2008-05-22 04:47:42 +00:00
m. allan noah c204b01b89 SANE 1.1.0 well-known button options 2008-05-21 18:48:30 +00:00
m. allan noah 2016e8f019 backend version 1.0.62, begin sane 1.1.0 compliance 2008-05-21 02:27:14 +00:00
m. allan noah 084a18b0c4 remove undocumented and otherwise unused SANE_CAP_ALWAYS_SETTABLE 2008-05-21 01:20:35 +00:00
Stéphane Voltz 726e46456e - shading calibration fixes for HP4470 with 'xpa sensor' 2008-05-19 19:53:11 +00:00
m. allan noah 5c10c3f29b look at correct bool before enabling prepick mode option 2008-05-16 13:20:50 +00:00
m. allan noah f6f4de5d5d * doc/descriptions/cardscan.desc, doc/descriptions/epjitsu.desc,
doc/descriptions/hp3900.desc, doc/descriptions/hp5590.desc,
  doc/descriptions/hpljm1005.desc, doc/descriptions/hs2p.desc:
  remove 'new' tag from sane 1.0.19 backends
* doc/descriptions/fujitsu.desc, backend/fujitsu.conf.in:
  add fi-5530C2 usb ID
* backend/cardscan.c: correct version number
* backend/epjitsu.conf.in: improved firmware directions
* backend/fujitsu.[ch]: update to backend v 1.0.61
2008-05-16 02:31:57 +00:00
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Stéphane Voltz 8d55281218 - calibration and 150/300 dpi mode fixes for 4470cx sensor 2008-05-12 05:48:07 +00:00
Julien BLACHE 341363843a By popular demand, merge my Debian patch adding support for dll.conf
snippets under $configdir/dll.d.
2008-05-07 17:04:40 +00:00
Nicolas Martin 00a0b5fd31 USB IDs updates in imageClass backend (pixma), by Dennis Lou. 2008-05-07 06:52:24 +00:00
Stéphane Voltz 1eb416ba47 - description update for untested HP4400 model
- 150 dpi mode fix for HP4470 models sold with XPA
2008-05-06 20:00:32 +00:00
Earle F. Philhower III f2230330cb Fix 64-bit compile warnings, add information about lineart and halftone modes 2008-05-06 01:37:36 +00:00
Nicolas Martin ddb9080cfd Code cleanup patch to imageClass backend (pixma) by Dennis Lou. 2008-05-04 17:32:58 +00:00
Julien BLACHE 89b77cef58 Initialize s->fd to -1 once the struct Epson_Scanner is allocated and zeroed
out in attach(). Otherwise the backend sends inquiry data to fd 0, which it
obviously shouldn't do; this breaks scanning over saned.

Thanks to Giuseppe Sacco who experienced the issue and pointed to epson2 as
the probable cause.
2008-05-03 14:43:07 +00:00
m. allan noah 8c2f857f39 backend v1.0.12: fix double free error 2008-04-29 00:57:26 +00:00
m. allan noah deafc44600 sanei/sanei_usb.c: allow sanei_usb_init() to run once per second
backend/fujitsu.c: backend v1.0.60, relocate call to sanei_usb_init(),          free sane_devArray before calloc'ing a new one
2008-04-28 00:48:48 +00:00
Stéphane Voltz dcb8cda9ae - added untested support for HP4400c 2008-04-27 05:57:36 +00:00
m. allan noah 16f5a83f8d fujitsu: support new fi-6x20
epjitsu: mention new S300M
2008-04-23 01:55:34 +00:00
Nicolas Martin 7b695e1c8e Update pixma backend for Grayscale scan for MP970 (tested), and probably other CCD sensor MPs (yet untested). 2008-04-22 19:28:18 +00:00
Nicolas Martin 2ccf695b59 Update for Canon ImageCLASS series MFPs, to add pixma_imageclass.c to the pixma backend. 2008-04-21 19:27:46 +00:00
Nicolas Martin d1a648f194 For Canon ImageCLASS series MFPs, add file pixma_imageclass.c to the pixma backend. 2008-04-21 19:26:22 +00:00
Nicolas Martin 4e780149b7 Update for Canon ImageCLASS series MFPs, to add pixma_iclass.c to pixma backend. 2008-04-21 19:23:06 +00:00
Nicolas Martin 8bfc2b0143 Update for Canon ImageCLASS series MFPs, to add pixma_iclass.c to pixma backend. 2008-04-21 19:22:35 +00:00
Nicolas Martin 37cf724fc4 Fix a bug for ADF and ADF duplex, for pixma source scan selection. 2008-04-21 19:20:12 +00:00
m. allan noah b1bfdd9460 remove duplicate #define SANE_FRAME_JPEG 2008-04-20 12:35:14 +00:00
m. allan noah 39458249b5 backend version 1.0.58:
- page code 32 is not color interlacing, rename to 'unknown'
- increase number of bytes in response buffer of init_ms()
- protect debug modification code in init_ms() if NDEBUG is set
- proper async sane_cancel support
- re-enable JPEG support
- replace s->img_count with s->side
- sane_get_parameters(): dont round up larger than current paper size
- sane_start() rewritten, shorter, more clear
- return values are SANE_Status, not int
- hide unused functions
2008-04-20 01:31:29 +00:00
Alessandro Zummo e16b0e2051 backend/epson2.c: fixed attach() error path. 2008-04-18 21:24:32 +00:00
Nicolas Martin 983e8c0eeb Update for MP970 (yet for color scan, all resolutions) and bug fix for MP220 at 1200 dpi (reported to work OK) 2008-04-15 21:27:34 +00:00
Julien BLACHE 57bfede65b Plug an information leak in the net backend.
When sending out a SANE_NET_CONTROL_OPTION RPC for the SANE_ACTION_GET_VALUE
action (and SANE_ACTION_SET_AUTO for the network protocol versions < 3), the
backend was not clearing the memory area for the value argument before
sending it over the network, resulting in an information leak for the
SANE_ACTION_GET_VALUE case.
2008-04-13 14:44:20 +00:00
Mattias Ellert 8196a0f471 Format warning fixes, man page fixes 2008-04-12 17:49:49 +00:00
Julien BLACHE eff4892c1c Restrict protocol for service announcement/browsing/resolution to IPv4
unless IPv6 is enabled.
2008-04-11 17:43:16 +00:00
Julien BLACHE f4ff1b74f6 Add mDNS DNS-SD support to saned and the net backend so they can announce
and discover each other automatically.

Optional at configure time, requires Avahi >= 0.6.4.
2008-04-11 17:18:19 +00:00
Nicolas Martin 67ebd9576c Modifications for PIXMA MP970, to manage CCD sensor with PIXMA generation 3 protocol. To be tested. 2008-04-06 19:46:15 +00:00
Stéphane Voltz 79fbd0c2f1 - added OPT_CUSTOM_GAMMA and OPT_GAMMA_VECTOR* options for GL646
- fixed allocation bugs detected by valgrind
	- fixed bugs detected by 'tstbackend -r 1 -l 1'
	- allow 'genesys' as default value for backend opening
	- made OPT_COLOR_FILTER effectively work for GL646 scanners
	- split sane_control_options() to make it more readable
2008-04-05 09:21:56 +00:00
Stéphane Voltz 0239a8344a - split sane_control_option to make it more readable 2008-04-05 09:11:47 +00:00
Nicolas Martin d9d44cbe72 Added a tempo before failing in NO PAPER in ADF scan, declared MX850, changed MP970 to Generation 3. 2008-04-02 20:13:48 +00:00
Julien BLACHE 8ed0d66582 Do not blindly use ftok() in snapscani_mutex_open(). Compute an IPC key based
on the product ID, bus number and device number for libusb devices; fallback
to ftok() otherwise and check the return value.
2008-03-28 20:39:02 +00:00
m. allan noah 1ee8fa1d8f add usleep to improve usb performance, from jim a t meyering d o t net 2008-03-28 14:37:36 +00:00
Stéphane Voltz b85ec879da - rts8891 backend inclusion 2008-03-22 14:33:36 +00:00
Nicolas Martin 52ec47a434 Added Canon PIXMA MX700, declared MX300 and MX310, and updated some descriptions. 2008-03-16 16:33:53 +00:00
Stéphane Voltz 5be6af9c72 - removed scanners supported by the lexmark backend from
unsupported.desc
	- umax_pp small copyright refresh
2008-03-02 15:01:13 +00:00
Jonathan Bravo Lopez ebc0909bdb * backend/hp3900_sane.c: Fixed optional grayscale emulation
* backend/hp3900_debug.c: Silence gcc warnings when tiffio.h is not used
2008-02-26 09:23:23 +00:00
m. allan noah ebf7fbc30b fujitsu backend v1.0.57, minor updates to debug color interlace on fi-5900 2008-02-26 02:16:06 +00:00
Nicolas Martin d2b07f004c Update for PIXMA MP140 now working with pixma backend 2008-02-24 09:26:04 +00:00
Pierre Willenbrock e14de20478 * backend/genesys_gl841.c: Make LEDs go really dark when "lamp" is off 2008-02-23 14:20:23 +00:00
Nicolas Martin 56b3677ec3 Set MP140 as experimental, cause not working yet with backend 2008-02-22 21:41:45 +00:00
Nicolas Martin 722eb9e494 Set MP710 as non ADF scanner 2008-02-22 21:40:32 +00:00
Pierre Willenbrock f18481ca40 * backend/genesys_gl841.c: Fix debugging output of gl841_bulk_write_register 2008-02-22 00:33:30 +00:00
Pierre Willenbrock f183b6fe00 * backend/genesys.c, backend/genesys_gl646.c,
backend/genesys_gl841.c, backend/genesys_low.h: Add LED exposure
control to gl841_set_lamp_power
2008-02-21 15:49:18 +00:00
Pierre Willenbrock babeea8be2 * backend/genesys_gl841.c: Send 32 registers at once instead of 1 2008-02-20 18:16:21 +00:00
Mattias Ellert 3b855e1b4b Device ID 0 is valid - check status code for errors instead 2008-02-20 17:27:53 +00:00
Mattias Ellert d9e30e41a0 Library version definition fixes 2008-02-20 00:37:10 +00:00
Mattias Ellert 2781ca398a Fix format warnings 2008-02-19 18:31:36 +00:00
Alessandro Zummo 4f022fba36 added coolscan3 backend 2008-02-19 10:46:06 +00:00
Nicolas Martin a1265b6dad New models changes:
- added: Pixma MP210, MP470, MP520, MP610
 - added: MultiPASS MP710
 - declared untested: MP140, MP220, MultiPASS MP740
 - declared experimental and untested: MP970
Bugs and fixes
 - multipage documents scan no more fails with non-ADF MPs
 - IO Fail bug when scanning large pages e.g. with Xsane
 - implement send_time message form MP710, MP730 family
 - run indent -gnu on all pixma_* source files.
2008-02-17 15:49:43 +00:00
m. allan noah db29ded1d1 sanei_read_config has already cleaned string, fix bug #310597 2008-02-14 16:37:45 +00:00
Pierre Willenbrock 91644b76b9 Patch by Stefan Lucke <stefan@lucke.in-berlin.de>
* backend/genesys_gl841.c: Fixes 3 possibilities for infinite
  loops and adjusts loop threshold to given comments
2008-02-13 12:20:04 +00:00
Jonathan Bravo Lopez e1f9664106 Added support for a new scanner: HP ScanJet G2710
Minor changes
2008-02-13 06:35:26 +00:00
m. allan noah 753706f6e7 fix broken DISTFILES, etc 2008-02-10 23:02:31 +00:00
m. allan noah 2c5ba93ff4 add usb id 2008-02-09 23:57:59 +00:00
Rene Rebe abf10f87a3 * backend/avision.ch: fixed device list matching for entries
with partial matches on USB ID, but vendor / product string
          matches as mostly only the HP5300 vs. HP5370, fixed non-color
          calibration for devices not filling all RGB fields of calibration
          format information, do not send 3x3 color matrix to older devices
          (ASIC versions) as some HP53xx does not correctly handle it,
          improved calibration accuracy and fixed transparency adapter
          detection to not use non-zero as present, but just 1 (some
          devices now set 0xff as (-1) - not present ...
2008-02-09 10:42:46 +00:00
m. allan noah 65fa50cd4d add usb ids 2008-02-08 00:27:50 +00:00
m. allan noah 994bef3b16 reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Mattias Ellert 1aaed781b6 Fix format warnings 2008-02-03 12:09:09 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00
Mattias Ellert 65ef626e1a Fix incompatible pointer type warning 2008-02-03 08:22:29 +00:00
Mattias Ellert e13bee7577 Fix incompatible pointer type warning 2008-02-03 07:47:55 +00:00
Mattias Ellert 22efa538b7 Fix warnings about ignored --datarootdir 2008-02-03 06:59:36 +00:00
Mattias Ellert 74c81b6daf Fix deps and missing includes 2008-02-02 21:18:13 +00:00
Mattias Ellert 416a155ca3 make tiffio.h optional 2008-02-02 12:20:46 +00:00
m. allan noah d2516a3fcd fix bug- call sane_get_devices if required for sane_open 2008-01-30 19:13:27 +00:00
Mattias Ellert 7d99401a52 Fix initialization of the reader taskid 2008-01-30 07:52:23 +00:00
m. allan noah a330f4b2d8 fix snapscan bug, add LiDE 600F 2008-01-29 17:48:42 +00:00
m. allan noah 587744776e add DBG calls to hpljm1005, hide 'compression arg' option in fujitsu 2008-01-23 01:21:21 +00:00
m. allan noah 5afcaa4489 adding hpljm1005 backend (i know, i know, so much for feature freeze :)
latest .fr updates
2008-01-18 01:27:22 +00:00
m. allan noah 58045b775b updated fr translation from Yann E. MORIN, added S500M usb id to fujitsu 2008-01-17 01:03:43 +00:00
Jonathan Bravo Lopez 04c145d8d1 Fixed compilation warning related to an argument type in Read_Bulk function 2008-01-16 10:38:42 +00:00
Gerard Klaver ea48a33beb clean up 2008-01-12 14:25:50 +00:00
Gerard Klaver 4a440222ae update teco_request_routine, add init value to size 2008-01-12 13:25:36 +00:00
Alessandro Zummo f31871bd6d changed functions prefix (esci_ for device commands,
e2_ for driver's functions), better handling of tpu area,
fixed tpu detection, changed freeing of line buffers,
fixed some XXXs.
2008-01-09 17:10:08 +00:00
m. allan noah dc61dc4471 add new hs2p backend for ricoh is450 series scanners 2008-01-03 02:42:32 +00:00
m. allan noah 3f857c4c82 update backend as per m. ellert's FIRMWARE_DIRS/DATADIR suggestion 2007-12-30 01:31:13 +00:00
m. allan noah 09f523defe remove support for SANE_FRAME_JPEG, add other frame types but commented out 2007-12-29 21:36:25 +00:00