Wykres commitów

3587 Commity (1541ad928f6d167c3b4414bf55201cd52d20750c)

Autor SHA1 Wiadomość Data
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
Julien BLACHE e629a77f7e Fix assignment in if. 2008-12-01 10:11:54 +00:00
Nicolas Martin c40c4e5d77 Updated doc and man pages for MP620. 2008-11-30 22:11:44 +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 af848fd82a Support for PIXMA MP630 to pixma backend, doc and French translations updates. 2008-11-23 21:15:11 +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
Gerhard Jaeger aa164fb56d * doc/descriptions-external/epkowa.desc:
iscan 2.14.0 updates on behalf of olaf.meeuwissen@avasys.jp
2008-11-17 06:44:28 +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 b57a64d79e * sanei/sanei_usb.c, include/sane/sanei_usb.h:
- shorten debug lines to fit in 80 chars
- add sanei_usb_clear_halt() required by upcoming canon_dr backend
2008-11-05 02:30:44 +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 a65329e472 * doc/descriptions/fujitsu.desc: backend v81, fix fi-6240 usb id 2008-10-21 17:52:11 +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 399a23cb9f ifaddrs.h header check and increase backend version number 2008-10-18 22:28:47 +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 56ae50027a * doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v80 2008-10-10 00:51:31 +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 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 7069ba9295 - added a SANE_CURRENT_MINOR define 2008-10-03 04:45:32 +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 5de0ac3014 add iscan 2.12.0 updates 2008-10-02 14:29:00 +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
Gerhard Jaeger 2d36b65f55 * doc/descriptions/plustek.desc: Added entry for UT12 devid 0x0013
* doc/descriptions/unsupported.desc: Removed entry for UT12 devid 0x0013
2008-10-01 10:36:28 +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
m. allan noah ba856d2aec 2008-09-25 m. allan noah <kitno455 a t gmail d o t com>
* include/sane/saneopts.h: underscore not allowed in option names
        * frontend/scanimage.c: fix broken unknown length (-1) binary scans,
          fix invalid tiff height with unknown length scans, fix compiler warn
2008-09-25 02:39:52 +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 72894d1e98 * doc/descriptions/fujitsu.desc: mark fi-6230 and fi-6240 complete 2008-08-27 17:50:47 +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 288ebfff78 Added missing logs 2008-08-25 20:32:22 +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
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
m. allan noah ad02a8f1ac set lots of scanners to complete status :) 2008-08-24 02:40:54 +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 9f7441d267 Initialize ngroups to 0, ditto for runas_{u,g}id (instead of -1). 2008-08-05 09:27:39 +00:00
Julien BLACHE eefb1b1155 Get option descriptor 0 before trying to read the value for option 0. 2008-08-04 20:54:10 +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
Julien BLACHE 32b343dcea Set supplemental group list in addition to setting euid and egid. Reported by Cameron Hutchison. 2008-07-31 09:42:33 +00:00
Julien BLACHE 125ed414d4 Call setegid() before seteuid(), aka while we're still root. 2008-07-28 10:48:41 +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 887b008e7c * AUTHORS: Earle has commit perms
* doc/descriptions/unsupported.desc: add Lexmark X7170
* include/sane/sanei_config.h: remove typedef so doxygen will shutup
2008-07-26 05:34:28 +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
Julien BLACHE 3fc582ce61 Fix hyphen vs. minus sign in manpages, breaking copy/paste of command-lines and options in UTF-8 environments. 2008-07-14 10:49:06 +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 9d605a2143 - doxygen fix 2008-07-10 05:46:01 +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 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 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 0ec211ef87 Rework error/exit path in process_request() to properly terminate the Avahi thread in debug mode. 2008-06-24 19:41:44 +00:00
Julien BLACHE f7f53e0479 Do not refresh option descriptors cache behind the frontend's back. 2008-06-24 17:29:37 +00:00
Julien BLACHE 83365608d3 Terminate child processes before exiting in debug mode. 2008-06-22 08:47:59 +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
Nicolas Martin 9c16b4bed2 man and SANE status types updates. 2008-05-29 20:04:54 +00:00
Mattias Ellert d19b1a6b6e Correct typos, update localization 2008-05-29 19:24:12 +00:00
m. allan noah 0acce974b2 add %n (newline) to -f option 2008-05-28 00:48:21 +00:00
Jonathan Bravo Lopez 70c861608f * po/sane-backends.es.po: added spanish translation about status strings.
* po/Makefile.in: added backend/sane_strstatus.c to SRC_FILES section.
2008-05-26 19:55:07 +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 25e65c584f SANE 1.1 patches 2008-05-26 04:55:04 +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 e91fea4ac1 include/sane/sane.h: add SANE_STATUS_WARMING_UP and SANE_STATUS_HW_LOCKED, remove SANE_CAP_ALWAYS_SETTABLE,add SANE_FRAME_XML, improve comments on other new frame types.
include/sane/saneopts.h: add common option groups, add new page-width and page-height well-known options
2008-05-21 01:38:12 +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 d857bdc3f5 Man page and documentation fixes 2008-05-15 20:16:51 +00:00
Mattias Ellert e0f659c267 Less fancy man page syntax that isn't screwed up by the man2html converter for the website 2008-05-15 17:11:47 +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
Alessandro Zummo 43b7e3cc6b AUTHORS: added Alessandro Zummo 2008-05-08 21:39:43 +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
Julien BLACHE a5b74ecaed Fix man warning in sane-config.1. 2008-05-07 16:36:52 +00:00
Nicolas Martin 00a0b5fd31 USB IDs updates in imageClass backend (pixma), by Dennis Lou. 2008-05-07 06:52:24 +00:00
Jochen Eisinger 30342e4b07 2008-05-07 Jochen Eisinger <jochen@penguin-breeder.org>
* doc/sane-mustek_pp.conf: fix catman warning. Reported by
	  Raymond Chen.
2008-05-07 06:35:51 +00:00
Earle F. Philhower III 4c59244e0c Update sm3840 document and remove 64-bit compiler warnings 2008-05-07 01:38:30 +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
Nicolas Martin 3f86915941 Description and man updates for PIXMA MX300. 2008-05-05 21:20:50 +00:00
Nicolas Martin ef94a44afb Code cleanup patch to imageClass backend (pixma) by Dennis Lou. 2008-05-04 17:35:00 +00:00
Julien BLACHE 4daf488f4a Replace occurrences of SANE_STATUS_SUCCESS with SANE_STATUS_GOOD. 2008-05-03 16:57:32 +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
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 9a70825259 pixma backend update for Canon ImageCLASS series MFPs, and bug fix for ADF / ADF Duplex selection. 2008-04-21 19:40: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
Julien BLACHE fde1551f68 Fix typo. 2008-04-13 14:21:59 +00:00
Mattias Ellert 8212474cfa c&p error 2008-04-12 18:49:25 +00:00
Mattias Ellert 8196a0f471 Format warning fixes, man page fixes 2008-04-12 17:49:49 +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
Julien BLACHE 90a1c88e0d saned can now drop privileges when running in standalone mode. 2008-04-10 16:55:36 +00:00
Julien BLACHE cbb3833dbe Add a PID file. 2008-04-10 16:39:06 +00:00
Julien BLACHE ce7efefec7 Replace daemon() with an open-coded equivalent. 2008-04-10 16:31:17 +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
Julien BLACHE 9c6fea1943 Add standalone daemon mode, building upon the AF-indep/IPv6 debug mode.
Reorganize code by splitting the main() function into a series of functions.
Factorize common code between the old network code and the AF-indep code. There's now only one version of main().
2008-04-06 15:21:47 +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 95f01b7244 HAL 0.5.11-rc2 does not support the info.bus property anymore; superseded by
info.subsystem. Unfortunately, this is not backward-compatible, so add a new
"hal-new" mode to sane-desc.
2008-03-28 20:57:59 +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
m. allan noah 127c77c1e5 add class 6 to usb detection code, fix scsi detection bug 2008-03-28 14:13:23 +00:00
Stéphane Voltz b85ec879da - rts8891 backend inclusion 2008-03-22 14:33:36 +00:00
Julien BLACHE 5ba1b2b917 Fix messages around getservbyname() in the IPv4 code to mention "sane-port" instead of "sane". 2008-03-20 21:47:14 +00:00
Julien BLACHE 59e7f02026 Remove _stdint.h and byteorder.h in the distclean target. 2008-03-20 21:14:04 +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
Julien BLACHE c394bbb726 Fix typo in sanei_usb.h. 2008-03-15 14:57:51 +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
Gerard Klaver f6404bfcef doc/descriptions/as6e added Dexxa 4800 2008-03-01 13:09:25 +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 c8ffa75b6a Update for PIXMA MP140 now working with pixma backend 2008-02-24 09:28:22 +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 1560763771 Update pixma backend for MP140 and MP710 models 2008-02-22 21:47:31 +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 d9e30e41a0 Library version definition fixes 2008-02-20 00:37:10 +00:00
Alessandro Zummo 4f022fba36 added coolscan3 backend 2008-02-19 10:46:06 +00:00
Nicolas Martin 3c9f28e17d *** empty log message *** 2008-02-18 20:53:41 +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 5158f5113b sane 1.0.19-cvs 2008-02-11 02:50:55 +00:00
m. allan noah 753706f6e7 fix broken DISTFILES, etc 2008-02-10 23:02:31 +00:00
m. allan noah 1e572167d7 SANE 1.0.19 release 2008-02-10 20:32:40 +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
Gerhard Jaeger c290416ff4 * po/sane-backends.no.po: renamed to sane-backends.nb.po
* po/Makefile.in: norwegian bokmål locale is nb and not no
2008-02-01 13:55:25 +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
m. allan noah a330f4b2d8 fix snapscan bug, add LiDE 600F 2008-01-29 17:48:42 +00:00
Alessandro Zummo 6322e207ef added epson2 .desc file 2008-01-23 17:06:46 +00:00
m. allan noah 6f8f3765f1 remove 'new' flag 2008-01-23 01:51:09 +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
m. allan noah e7e161c6ee translation update from Yann E. MORIN 2008-01-15 01:13:59 +00:00
Gerard Klaver 638eda0036 update teco2.c, teco_request_routine, add init value to size 2008-01-12 13:37:03 +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
Alessandro Zummo 5af50cf25d fix compilation with cygwin
closes: #307969
2008-01-08 23:04:04 +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
Alessandro Zummo 4cf7b16449 backend/epson2.c, added network scanner autodiscovery 2007-12-26 11:34:17 +00:00
Alessandro Zummo 5655e0886f updated changelog with udp changes. 2007-12-26 11:27:52 +00:00
Julien BLACHE a9397f20cc Add missing closing paren to error message. 2007-12-24 11:18:17 +00:00
Julien BLACHE a688f66ce6 Do not build plustek_pp on Hurd. Patch from Samuel Thibault <samuel.thibault@ens-lyon.org>. 2007-12-24 11:15:27 +00:00
Jonathan Bravo Lopez ba4eaad25d Fixed bug which made slide/negative scans unusable and changed area constrains for some hp3900 scanners 2007-12-21 13:10:40 +00:00
m. allan noah d3cc1b13a8 backend version 1.0.10- fix missing function 2007-12-19 22:14:19 +00:00
Jonathan Bravo Lopez 785f67981b Updated spanish translation. Fixed compilation warning in check-usb-chip.c 2007-12-19 14:25:43 +00:00
Mattias Ellert 4bb074f81c New translation keys for hp3900 backend. Updated Swedish translation 2007-12-19 10:47:04 +00:00
m. allan noah 559212e96e Adding v1.0.9 of the epjitsu backend: supports Epson-based Fujitsu scanners,
currently the fi-60F flatbed and ScanSnap S300 duplex ADF machines
2007-12-18 02:02:51 +00:00
Gerhard Jaeger 7b7a80e679 * backend/plustek-usb.[ch] backend/plustek-usbcal.c backend/plustek-usbimg.c
backend/plustek-usbio.c backend/plustek-usbshading.c: Fixed ARM/Xscale
  issues.
* backend/plustek.c: Bumped build number
* doc/plustek/Plustek-USB-TODO.txt doc/plustek/Plustek-USB.changes: Update
2007-12-17 14:29:00 +00:00
Alessandro Zummo 569bdc5300 fixed model detection,
depth detection and removed some unused
variables.
2007-12-15 11:37:53 +00:00
Jonathan Bravo Lopez 46376814f2 Added files for 'hp3900' backend 2007-12-13 00:26:08 +00:00
Alessandro Zummo 83e5a63060 use epson2_model where possible,
fixed segmentation fault.
2007-12-10 17:32:54 +00:00
Giuseppe Sacco d4a6f33c38 Added esperanto translation, per Antonio Codazzi 2007-12-08 18:20:54 +00:00
Gerhard Jaeger b441de8774 * doc/sane-plustek.man doc/plustek/Plustek-USB.changes: Update 2007-11-23 16:48:07 +00:00
Gerhard Jaeger 15be36e0b4 * backend/plustek-usb.[ch] backend/plustek-usbcal.c
backend/plustek-usbdevs.c backend/plustek.[ch]:
  Tweaked TravelScan464 settings. Improved AFE gaincalculation
  for CIS devices. This should avoid stripes in the scanned images.
2007-11-23 16:46:05 +00:00
Gerhard Jaeger 3ef789f55b Update due to changes in the Plustek backend 2007-11-23 07:54:48 +00:00
Pierre Willenbrock 8d2069c0dd * backend/genesys.c, backend/genesys_devices.c, backend/genesys_low.h,
backend/genesys_gl646.c, backend/genesys_gl841.c: add infrastructure for
  multiple motor power modes
2007-11-22 14:05:13 +00:00
Pierre Willenbrock f58aa28cd0 * backend/genesys_gl841.c: add internal flag for disabling lamp
during scan(useful for black level calibration)
2007-11-21 17:54:44 +00:00
Mattias Ellert 82b8049f5d Fix for bug #306775 2007-11-18 11:09:05 +00:00
Mattias Ellert 7c6b4d6a99 Fix handling of valid "negative" PIDs 2007-11-18 10:59:18 +00:00
Alessandro Zummo 26e167cdec backend/epson2.c: removed quick-format option. it's
the job of a frontend to provide such a commodity.
removed confusing parameters (preview-speed, speed).
when a preview is requested, the scanner will be
set to high speed (if possible).
removed references to the never implemented zoom function.
the function that shortened the list was actually
missing the first entry.
more resolutions addedd for networked scanners.
added support for Perfection 4990 (Claus Boje).
2007-11-18 09:36:04 +00:00
m. allan noah b4e05e5e23 update to backend version 1.0.53
- add ID for S510
 - note jblache's NUM_OPTS type fix
2007-11-18 01:48:20 +00:00
Rene Rebe 6b45291c02 * backend/avision.[ch]:
Implemented support for latest Avision ASICs and features,
          including overscan, background raster, software scaling for
          cheaper ASICs used in HP scanners. Changed types used to
          more portable uint* ones, without underscore (_), removed
          in-file ChangeLog history, as the files became big enough.
          Implemented early calibration for easier handling of
          Avision-based film scanners and implemented support for
          2-pass duplex scanners.
2007-11-17 16:19:53 +00:00
Mattias Ellert 0f3a068bfd Fixing doxygen warnings 2007-11-16 12:31:59 +00:00
Gerhard Jaeger ec74551da4 * include/sane/sanei_usb.h sanei/sanei_usb.c: Added function
sanei_usb_get_descriptor() to retrieve some infos about a connected
  device
2007-11-16 08:48:14 +00:00
Gerhard Jaeger f8eb9260a6 * backend/plustek-usb.[ch] backend/plustek-usbcal.c
backend/plustek-usbdevs.c backend/plustek-usbshading.c
  backend/plustek.[ch] backend/plustek.conf.in:
  Tweaked TravelScan464 settings. Added possibility to disable
  dark-calibration with lamp on (touches devices like CanoScan1220 etc.)
  Use attribute packed for data access structs

* doc/sane-plustek.man doc/plustek/Plustek-USB.changes: Update
2007-11-16 08:42:55 +00:00
Mattias Ellert abd402ad51 Correct the test of the return value from sanei_thread_begin 2007-11-16 08:04:02 +00:00
Julien BLACHE eb850185bb Update epkowa.desc for iScan! 2.10.0. 2007-11-12 09:10:09 +00:00