Wykres commitów

1986 Commity (c8e84cd579c225eb7238213a3530c20206d0ea61)

Autor SHA1 Wiadomość Data
Alessandro Zummo c8e84cd579 epson2: reinstated i18n in backend options
This reverts commit 45fef7b043.
2009-06-17 02:29:31 +02:00
Alessandro Zummo 6cc0d7641f epson2: fixed whitespace trimming of model name
Whitespace trimming was incorrect for model names with
a space character.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 94ec5cb8a8 epson2: fixed scanner detection
The scanner sources array was missing an entry in some
circumstances and this triggered an error checking
assertion.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 3d223411cd epson2: avoid probing when device name is given
The code flow has been modified to avoid unnecessary probing
and double opening of a device. There's no more delay before
opening a networked scanner and the whole scan process begins
much earlier.

Accepted device names are:

 net:ipaddress
 net:hostname

 libusb:vendor:product

 pio:0xnnn

plus any form supported by the SANE scsi and usb
routines.

The code has been tested on network, scsi and libusb. Unfortunately
I do not have any parallel port based scanner.
2009-06-16 23:51:07 +02:00
Nicolas Martin 5938421e25 Declared Pixma MX320 in the pixma backend. Yet untested.
- backend/pixma_mp150.c: added MX320
- doc/descriptions/pixma.desc and doc/sane-pixma.man: documentation update for MX320
2009-06-16 22:33:17 +02:00
Alessandro Zummo ebb98839d1 epson2: improved error detection in networking code, fixed buffer size
Error checking has been added when receiving the network
header and welcome message. Timeout has been added too and
a wrong buffer size has been corrected.
2009-06-16 17:27:27 +02:00
Alessandro Zummo 92f729ea83 epson2: removed invert image, cleaned up some code
Image inversion is something that can be handled by a frontend,
in the epson2 backend I want to avoid to add any complexity
that doesn't belong to the hardware.
2009-06-16 17:27:10 +02:00
Alessandro Zummo 45fef7b043 epson2: removed i18n from backend options
Internationalized backend options lead to incompatible shell
scripts, so they've been removed. A trailing dot has been removed
from some descriptions and a few includes moved around.
2009-06-16 17:27:10 +02:00
Nicolas Martin aa7a54199d Fix for MP800R network scan and documentation update for MF5770.
- backend/pixma_mp150.c:
  Thanks to Vladimir Andreev patch, fix network scan for MP800R.
- doc/descriptions/pixma.desc and doc/sane-pixma.man:
  . Documentation updates for latest MF5770 changes.
  . Note: MF5770 grayscale mode appears to require some more work.
2009-06-14 18:37:11 +02:00
Alex Belkin a937e22bd7 backend version increment 2009-06-13 17:35:32 +04:00
Alex Belkin f3e63b4e4d usbids for some Samsung devices 2009-06-13 17:15:06 +04:00
Alessandro Zummo e73177a177 epson2: allow get_devices to be called multiple times
The probing code has been streamlined and is now more maintenable.
The backend will probe when required and the get_devices hook can
be called multiple times. Transfer buffers are now selected based
on the connection type.
2009-06-10 21:09:05 +02:00
chris@cnpbagwell.com 581b94fb88 Fix sanei_tcp_read(). Revert some getopt logic.
* sanei/sanie_tcp.c, backend/epson2_net.c: Update
sanei_tcp_read() to better simulate old behavior of MSG_WAITALL.
recv() tends to return MTU sized chunks of data without that option.  And at
least cygwin doesn't support MSG_WAITALL.  Re-enable epson2 using that
function for big recieves.
* libgetopt.c, libgetopt1.c:
Revert some logic meant to be used only when we were always compiling
interal getopt() functions.  Fix header filename.
2009-06-09 19:12:43 -05:00
Stéphane Voltz bf57122892 work to fix bug #311862
- debug trace fix
- better 'fake usb'
- register setting that maybe fix #311862
- include cleanup
2009-06-09 21:56:51 +02:00
m. allan noah abe0dbacd6 canon_dr v29: improved calibration, cancelling and error handling
- split coarse and fine cal to run independently
- add side option
- reset scan params to user request if calibration fails
- better handling of sane_cancel
- better handling of errors during sane_start and sane_read
2009-06-08 23:06:00 -04:00
Nicolas Martin 94f3be61b4 Merge branch 'mf5770' 2009-06-08 22:47:19 +02:00
Nicolas Martin 228861b6b2 Second set of modifications in pixma backend for Canon ImageClass MF5770.
File pixma_mp730.c:
- first page scan warmup time set to 10 sec
- no image post processing required in color mode
2009-06-08 22:44:43 +02:00
Pierre Willenbrock 9f3552074e Some more comments for canceling scans on gl84[12] 2009-06-04 00:52:07 +02:00
Pierre Willenbrock a0ea955e91 Always send registers before trying to acquire a line 2009-06-04 00:52:06 +02:00
m. allan noah 4aaf5a1dcf fujitsu backend v95, minor bugfix
scanner_control_ric should return a subset of the possible errors
2009-06-02 21:06:23 -04:00
Alessandro Zummo 83b0f1f4f5 epson2: code style fixes
Minor code style fixes, like missing tabs, lenghty line, etc
2009-06-03 02:28:44 +02:00
Alessandro Zummo 40e08cbb36 epson2: updated backend description and usb devices list
The backend description comes from the epkowa.desc file
with appropriate changes to suit epson2.desc. The usb
device list is now generated from this file, skipping
the :unsupported models. This means epson2 now detects
32 more models.
2009-06-03 01:08:40 +02:00
Nicolas Martin e4589350f0 backend pixma: modified warmup tempo for MF5770
- backend/pixma_mp730.c: modified tempo for warmup to handle interruptions
2009-06-02 23:28:13 +02:00
Nicolas Martin 206b740d88 Add modified files for previous commit
- backend/pixma_imageclass.c
- backend/pixma_mp730.c
2009-06-02 23:02:12 +02:00
Alessandro Zummo e1b835bf48 epson2: check for warming up condition after a start failure
Sometimes a "fatal error" is given back when the scanner is warming up.
The previousversion of the code checked for that issue only when
the ADF was in use.
2009-06-02 19:19:29 +02:00
Alessandro Zummo 728e032a5a epson2 reorganization
Some subroutines have been moved from epson2.c to epson2-ops.c and
there's also a temporary fix for the networking code.
This is work in progress but should work.
2009-06-02 01:03:33 +02:00
m. allan noah 89d170c314 hide 'warming up' and 'hw locked' devices 2009-05-28 12:27:20 -04:00
m. allan noah 006d5c4197 clamp film type to correct range 2009-05-26 21:08:43 -04:00
m. allan noah 7dab2ed86b clamp film type to allowed range (bug #311685) 2009-05-26 08:53:02 -04:00
m. allan noah 9940f5c1f2 minor corrections
canon_dr: use correct title and description for resolution option
fujitsu: bump build number for previous commit
cardscan: correct usb pid
2009-05-25 22:37:15 -04:00
m. allan noah f56fc87ff9 fujitsu backend v94, mostly changes to use less memory
- add side option to show which duplex image is being transferred
- convert front and simplex buffers to use much less ram
- add lowmemory option which makes duplex back buffer small too
- refactor image handling code to track eof's instead of lengths
- do color deinterlacing after reading from scanner, before buffering
2009-05-25 22:04:57 -04:00
m. allan noah 327250b7dc canon_dr v28, improve DR-2xxx support by emulating missing hw features
- use average instead of min/max for fine offset and gain
- rewrite supported resolution list as x and y arrays
- merge x and y resolution options into single option
- move scan params into two new structs, s->u and s->s
- sane_get_parameters() just returns values from s->u
- dont call wait_scanner() in object_position()
- dont call ssm_*() from option handler
- refactor sane_start()
- read_from_buffer() can workaround missing res, modes and cropping
- set most DR-2xxx machines to use the read_from_buffer workarounds
- set default threshold to 90
- add option for button #3 of some machines
- don't eject paper during init
- add DR-2010 quirks
- switch counter to HARD_SELECT, not SOFT
2009-05-22 10:24:58 -04:00
Alex Belkin dda029430e additional error check to (stop scanadf) + fix of it 2009-05-22 16:29:50 +04:00
Nicolas Martin 5b69fa8c6d Fix for Pixma MP730 in pixma backend and sanei_usb
Updated following files for Pixma MP730 support:
- backend/pixma_mp730.c:
  Add width scan area fitting
  Fix end scan sequence protocol
- sanei/sanei_usb.c:
  In sanei_usb_open(), changed the "seek for endpoints" loop
  so that it first looks for those interfaces (in config 0)
  that have been detected as potential scanners in
  sanei_usb_init()
2009-05-22 10:29:37 +02:00
Nicolas Martin 56c2ed861b Update of supported devices list comment in source code.
- Changed ImageClass  MF4600 and MF4010 to supported.
2009-05-22 10:12:34 +02:00
Alex Belkin 0b2693cbda Additional error check (to stop scanadf). 2009-05-21 19:19:23 +04:00
Pierre Willenbrock 3b13986395 Add Syscan 485, DCT 487; update descriptions for Syscan
Thanks again to Jack McGill.
2009-05-20 00:31:32 +02:00
Pierre Willenbrock 34717f1db0 Add Pentax DSmobile 600
Thanks go to Jack McGill for providing the model specific settings.
2009-05-19 16:24:59 +02:00
Stéphane Voltz 6fe9674b74 - fixed missing includes 2009-05-18 21:25:13 +02:00
Stéphane Voltz be5063a5e2 Merge branch 'master' of ssh://stefdev-guest@git.debian.org/git/sane/sane-backends 2009-05-16 06:58:53 +02:00
Nicolas Martin a446ecec31 Changes Pixma MP600 and MP600R read sequence protocol.
Fixes MP600R network scanning.
2009-05-12 23:33:09 +02:00
Stéphane Voltz 2b3e4d4a0e create a separate gl646 header file
- created genesys_gl646.h
- moved all declarations from genesys_gl646.c to the new header
2009-05-11 22:15:54 +02:00
chris@cnpbagwell.com 07c5723cab Merge branch 'master' of ssh://cbagwell-guest@git.debian.org/git/sane/sane-backends 2009-05-09 21:40:55 -05:00
Nicolas Martin a7f537ba7b Fixed Pixma MP600 and MP600R for 2400 dpi scan, updated their descriptions. 2009-05-09 15:27:28 +02:00
m. allan noah 024cd35c9c canon_dr backend v27, bugfixes and new calibration code
- bug fix in read_panel()
- initialize vars in do_usb_cmd()
- set buffermode off by default
- clear page counter during init and sane_start()
- eject previous page during init and sane_start()
- improved SSM_BUFF macros
- moved set_window() to after ssm-*()
- add coarse calibration (AFE offset/gain & per-channel exposure)
- add fine calibration (per-cell offset/gain)
- free image and fine cal buffers in sane_close()
- compare page counter of small scanners only in non-buffered mode
- add back-side gray mirroring code for DR-2580C
2009-05-08 16:05:54 -04:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Ilia Sotnikov 92076edd36 * HP5590:
- Updated the list of supported devices (HP 5500C which is similar to
    4570C, 5500C which is similar to 4500C) - only strings/comments, no
	code was changed
  - Updated backend version
  - Updated man page
2009-05-06 20:37:48 +03:00
m. allan noah 764aa7c6e1 add more generated files to .gitignore 2009-05-05 15:56:54 -04:00
Chris Bagwell 41a6a5d7cd Fix and cleanup PTHREAD linking.
Add in missing $PTHREAD_LIBS to all backends that can make use of it.
Rename --enable-fork-process to --enable-pthread to maatch internal
logic.  Also, stop linking in pthreads needlessly if its been
disabled.
2009-05-04 21:01:42 -05:00
Julien BLACHE 6e4ed52293 Add basic .gitignore files 2009-05-04 14:45:17 +02:00