Wykres commitów

2663 Commity (dbc2f9976ff676cc2f7565bc130b39f4a4400b51)

Autor SHA1 Wiadomość Data
Stéphane Voltz d67135cf4c gl847 rework : 75-600 dpi motor speed working 2011-06-07 21:26:18 +02:00
Stéphane Voltz 4f5be8bdb7 gl847 rework progress 2011-06-07 21:26:18 +02:00
Stéphane Voltz 801f4ed160 before gl847 motor setting rewrite 2011-06-07 21:26:18 +02:00
Stéphane Voltz f3fa997d9b gl847 exposure setting rework 2011-06-07 21:26:18 +02:00
Stéphane Voltz 1265e26d61 gl847 rewrite progress
- sensor setup function updated
2011-06-07 21:26:17 +02:00
Stéphane Voltz 2a6872c385 rework gl847 to set up exposure and coordinates like multi-segmented
gl124
2011-06-07 21:26:17 +02:00
Stéphane Voltz c67786154f Add software page de-rotate and white page skip 2011-06-07 06:38:04 +02:00
m. allan noah e4f634d68e add support for sanei_magic to kvs1025 backend 2011-06-06 20:52:25 -04:00
m. allan noah 483b0dc488 adding new kvs40xx backend 2011-06-06 14:28:55 -04:00
Stéphane Voltz 08b5abc8ca add Xerox 2400 onetouch model 2011-04-20 21:42:49 +02:00
Stéphane Voltz 709885ccaf big endian hadling rewrite 2011-03-28 17:16:59 +02:00
Stéphane Voltz b1da70e585 minor changes for genesys backend
- improve calibration file handling
- big endian fixes rewrite
2011-03-18 07:04:35 +01:00
Stéphane Voltz d581aec7ad big endian fixes for gl847/gl124 based scanners 2011-03-17 06:20:17 +01:00
Stéphane Voltz 6ae81b713b make private function getLine static
- make private function getLine static to prevent clashing with
  same function from sanei_magic.c under cygwin static build
2011-03-15 06:19:50 +01:00
Stéphane Voltz 1891efebfe add sanei_magic to libsane dependencies
- add sanei_magic to libsane dependencies to fix problems
  in cygwin static build
2011-03-15 06:16:18 +01:00
Troy Rollo 91ea92686d hp3500.c: Remove interdependency between contrast and brightness 2011-03-13 10:07:33 +11:00
Troy Rollo b7d79169f3 Add grayscale and line art scanning to HP3500 backend, as well as contrast
and brightness controls that influence calibration of the scanner.
2011-03-12 20:36:43 +11:00
Alex Belkin 90f15838ea usb ids for Samsung SCX-4623FW 2011-03-08 18:01:25 +03:00
Alex Belkin 5ea227caea keep usb device by default (correct for bug introduced by tcp sub-backend 2011-03-08 17:57:19 +03:00
Ilia Sotnikov 10c776769f hp5590: fixed detection of HP4500 devices (tested) and HP5550 (untested) -
these devices need no reading USB-in-USB acknowledgement after each command.
To achieve that, proto_flags are passed down to low-level functions. These
flags are taken from device descriptions
hp5590: fixed up get_status command - index should be 0x00, not 0x20
hp5590: bump up the backend version
2011-03-06 13:30:58 +02:00
Ilia Sotnikov 359114a7a0 hp5590: in ADF modes the device can scan up to 14", which is usually bigger
than what scanner reports back during initialization
2011-03-06 13:10:39 +02:00
Alessandro Zummo ccf58bf516 epson2: updated resolution list detection 2011-02-23 11:16:48 +01:00
Julien BLACHE c5ca46c2d1 Fix v4l build with libv4l 0.8.3+ 2011-02-16 19:37:43 +01:00
Alessandro Zummo 71f68035b3 epson2: try to avoid a division by zero 2011-02-05 18:14:29 +01:00
Stéphane Voltz 66716a5666 disbale software crop/deskew and despeckle at 16 bit depth 2011-02-04 06:17:27 +01:00
Stéphane Voltz e375cef3b0 genesys asynchronous parking hadling fixes 2011-02-02 10:47:21 +01:00
Stéphane Voltz 99ede36f75 more asynchronous parking issues fixed 2011-02-02 09:30:13 +01:00
Stéphane Voltz 58d5d64e00 fix unused variables 2011-01-31 21:47:32 +01:00
Stéphane Voltz 66549b2b7d minor cleanups and changelog entry 2011-01-31 21:47:32 +01:00
Stéphane Voltz 5ea5757579 don't return EOF if some data was available 2011-01-31 21:46:22 +01:00
Stéphane Voltz d0ea6b8647 fix asynchronous parking issues 2011-01-31 21:46:22 +01:00
Stéphane Voltz 948aa52e54 handle writing of lineart data 2011-01-31 21:46:22 +01:00
m. allan noah cde8951ef9 fujitsu backend v106:
- listed new models
- dont call mode_select with a page code the scanner does not support
2011-01-31 08:31:34 -05:00
m. allan noah 583c345a39 epjitsu: comment changes, listed new models 2011-01-31 08:31:34 -05:00
Reinhold Kainhofer 8e688f51b6 magicolor: Drop SNMP autodetection timout from 2.5 to 1.5 secs 2011-01-31 14:27:10 +01:00
Mike Kelly 8e623c473e Bumped the BUILD version 2011-01-29 11:50:17 +09:00
Mike Kelly edcf4cbadb Fixed initialization and duplexing for AV220-G
This fix correctly initializes the AV220-G by querying the firmware.
Added the correct option to support the interlaced duplex format used by
this unit.
2011-01-29 11:50:15 +09:00
Mike Kelly d7b3076142 Add page re-flipping as an option
Flipping duplex scanners must flip the page in order to scan the back side
of the page.  With this option set (which is the default), the page is
flipped back to the original orientation.  This is important if you have
a stack of papers.  However, if you don't care if every page ends up
flipped compared to how it was loaded, turning this option off might save
some scanning time as the paper won't have to be pulled back through the
ADF mechanism a third time.
2011-01-29 11:50:14 +09:00
Mike Kelly b82e9949b5 Fixed back page handling for flipping duplexers
Although the flipping duplexer is working, there are some issues relating to
the mechanics of physically flipping paper.  First among these is that the
back side of each page is physically scanned in reverse, resulting in an
upside down image.  Secondly, the page is held partially in the ADF
mechanism while waiting for the frontend to make another scan request for
the back side image, thus resulting in a stuck page if the frontend fails to
follow through.

My solution to these problems is to treat page flipping as an extreme
extension of interlaced scanning; page level interlacing.  This means making
another scan request on behalf of the frontend, and writing the resulting
image to a file as would have been done if the page were line interlaced.
We would have had to write this image to a file anyway to flip the image
right-side up, so we aren't doing any extra work, and technique allows us to
reuse existing code for most of the file handling.  The reader_process()
function is called again (recursively) after scanning the front page.  We
use the page length of the front side to determine the length of the back,
so that we can write the lines to the file starting at the end and working
towards the beginning (thus flipping the image).

A side effect of this solution was the discovery that the scanner must be
reminded that the paper needs to be re-flipped after each scan, so
set_window() must also be called in reader_process() before starting the
second scan.

Finally, with this change, a minor bug was exposed where frontends were
given the number of lines which would be scanned, which makes sense in
flatbed mode, but does not make sense for an ADF, where the page may be
smaller than the scan window.  The code was changed to follow the
specifications, returning -1 in ADF mode (when the length cannot be
determined).
2011-01-29 11:50:13 +09:00
Mike Kelly 104b43a183 Removed inquiry_adf_need_mirror_rear variable
After fixing the duplexer initialization, it became clear that the code was
mirroring the back pages.  Since the scanner already supports page
mirroring internally with an optional bit setting (which was already set)
it made the most sense to simplify the code base and remove the variable.
2011-01-29 11:50:12 +09:00
Mike Kelly 1b1b0b9a78 Fixed flipping duplexer initialization
For scanners which potentially have flipping duplexers, only enable
duplexing if there is an ADF present.  This leads to the next problem, that
the flipping duplexers (present only on the HP 8200 series AFAIK) don't
always seem to be properly configured when powered up.  To solve this some
magical values are written to magical memory locations, and some more
magical status is read back, causing an apparent firmware reset which
blocks communication for a short period of time.  See adf_reset() for
details.
2011-01-29 11:50:11 +09:00
Mike Kelly 12924236c6 Enable firmware reading for some scanners.
Sometimes scanners like to have their firmware read to cause them to
function properly.
2011-01-29 11:50:10 +09:00
Mike Kelly 1b1df46e41 Add feature type for flipping duplexing ADF units
Added the AV_ADF_FLIPPING_DUPLEX flag to activate the flipping duplex code
only for models known to have such duplexing ADFs.  Prior to this a doubious
huristic was used to guess when the hardware had a flipping duplex unit.
2011-01-29 11:50:09 +09:00
Mike Kelly 1904dad962 Removed additional_probe gatekeeper variable
The additional_probe variable protected add_source_mode() and
add_color_mode() from being entered upon subsequent calls.  These functions
were patched to not insert duplicate records in this case, removing the
need for the gatekeeper variable.
2011-01-29 11:50:08 +09:00
Mike Kelly 4d38523bda Return copied values in sane_get_parameters()
Until now the code has been changing the frontend supplied pointer to point
to our internal data structure.  There are two problems with this.  It
orphans the data previously associated with that pointer, which causes a
memory leak.  It also gives the frontend the ability to munge our internal
data structure.

The only downside to this change is the possibility that a frontend took the
spec too literally and merely supplies a pointer but does not allocate
storage space for the result.  Technically, the spec is a bit vague on this
point, because it does not specifically state who should allocate the
structure, but I feel a reasonable programmer would guess that space
allocation is a frontend obligation.
2011-01-29 11:50:07 +09:00
Mike Kelly 64caf38683 Don't compute parameters twice (in a row)
Removed a redundant call to compute parameters.  This function is called
from within the last function call, no need to call it again.
2011-01-29 11:50:06 +09:00
Mike Kelly b45400222d Added paper-length option to prevent double feeds
There was an old TODO in the code which suggests creating an option for using
the paper_length field to detect double feeds in the ADF.  I've added it as
an option, but set the default to not use it since it might cause older
scanners to get confused.
2011-01-29 11:50:05 +09:00
Mike Kelly 42cdb00aa1 Added a Misc option group to hold misc features
I felt that the ehancements group was doing double duity for image tuning and
other more hardware related options.  This new group takes ownership of those.
I'm not happy with the name, but that can always be changed.
2011-01-29 11:50:04 +09:00
Mike Kelly d48f749cae Fixed debug level for a single message
There is no reason that this message needs to be triggered at 100 when
everything else only goes to 9.
2011-01-29 11:50:03 +09:00
Mike Kelly 1bc4003b6c Whitespace changes. 2011-01-29 11:50:02 +09:00
Mike Kelly a230ee3ae2 Fixed spelling and grammar 2011-01-29 11:50:01 +09:00
Mike Kelly 260e86397f Updated copyright because it's 2011! 2011-01-29 11:50:00 +09:00
m. allan noah c78f416175 canon_dr backend v37:
- don't center window when using flatbed
- improve request sense error messages
- enable flatbed for all known models
- ad usb ids for DR-6030C, CR-135i & CR-190i
- moved DR-2020U to unsupported.desc
2011-01-26 22:05:02 -05:00
m. allan noah e237abad17 hopefully enable flatbed support 2011-01-26 22:05:02 -05:00
Reinhold Kainhofer e7532c03c5 magicolor: Get rid of the byteorder macros, copy the bytes manually to/from little endian
This also fixes some compiler error on 64-bit systems
2011-01-25 21:25:00 +01:00
Reinhold Kainhofer f054a4e8ee magicolor: cast size_t arguments to unsigned long for debug output and use the %lu format 2011-01-20 21:23:51 +01:00
Reinhold Kainhofer 2d9f458992 magicolor: Get rid of compiler warning 2011-01-20 21:23:51 +01:00
Stéphane Voltz 0e2432be53 HP2400/G2410 support progress 2011-01-20 06:59:17 +01:00
m. allan noah 70da6167cc Disable automatic RIF of binary modes on DR-5060F 2011-01-19 08:42:05 -05:00
m. allan noah 40e40989d9 rebuild autofoo for magicolor and snmp support 2011-01-18 21:31:13 -05:00
m. allan noah 39ae267f06 improved scsi scanner detection 2011-01-18 10:46:33 -05:00
m. allan noah 5aa48d8b17 update credits 2011-01-18 10:08:38 -05:00
m. allan noah a52a72a260 initial support for DR-7090C 2011-01-18 10:08:38 -05:00
m. allan noah 6130047b10 canon_dr backend v36
- initial support for DR-3080 and DR-5060
- add code to clamp scan width to an arbitrary byte width boundary
- add code to prevent setting of brightness/threshold/contrast
- don't send dropout color command on non-color scanners
2011-01-18 10:08:38 -05:00
Reinhold Kainhofer 6a7888ef26 New backend: magicolor (for KONICA MINOLTA magicolor devices)
-) LAN and USB communication
-) SNMP LAN auto-detection (using libsnmp, added configure check!)
-) Based on the epson2 backend, with many structural changes
-) B/W, Gray, Color scanning works in 150/300/600dpi (full-page
   color scan only possible with <=300dpi)

-) The timeouts (SNMP, scan data, other data) are configurable in the
   magicolor.conf file

-) Keeps list of known scanners in sane_get_devices, does not destroy
   existing handles; Also correctly calls sanei_usb_init.
2011-01-15 22:10:34 +01:00
Stéphane Voltz ded946b70d exposure calibration cache fix 2011-01-13 22:27:26 +01:00
Stéphane Voltz 53e28b3cd1 working 2400 dpi mode for LiDE 110 2011-01-13 22:08:31 +01:00
Stéphane Voltz 1e3956b5a5 disable 2400 dpi scanning since it isn't ready 2011-01-12 20:52:57 +01:00
Stéphane Voltz 1f82a765d4 add a wait for head to park function for genesys based scanners 2011-01-12 20:51:32 +01:00
Stéphane Voltz 4da932ad57 2400 dpi for LiDE 110/210 2011-01-11 06:26:41 +01:00
Stéphane Voltz 6e77181966 genesys fixes
- wait for head ot park before leaving in sane_close()
- fix lineart bug when yres is hegher than xres and dynamic lineart is
  enabled
2011-01-09 17:18:42 +01:00
Stéphane Voltz 3e5ecd012a genesys fixes
- fix shading calibration for non gl847/gl124 scanners
- enable 16 bit gamma for gl847
- add MUST_WAIT flags to gl847 scanners so solve parking isues
2011-01-07 06:08:15 +01:00
Nicolas Martin e72c0f548e pixma: Added patch proposed by Klaus Stengel for Canon imageRunner 1020/1024/1025 support.
modified:   ChangeLog
	modified:   backend/pixma_mp730.c
2011-01-05 21:30:11 +01:00
Nicolas Martin 68c15af1b2 pixma: several updates for MP830, MP990, memmove bug fix, and 64 bits image size.
modified:   ChangeLog
	modified:   backend/pixma.c
	modified:   backend/pixma.h
	modified:   backend/pixma_common.c
	modified:   backend/pixma_common.h
	modified:   backend/pixma_mp150.c
2011-01-04 22:19:52 +01:00
Nicolas Martin 529673f220 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2011-01-04 22:12:27 +01:00
Stéphane Voltz 6cfbb6d09e Merge branch 'gl124' 2011-01-04 21:40:10 +01:00
Stéphane Voltz 8fb58d5118 fix lineart issue at 1200 dpi and clean up block read for gl124 2011-01-04 21:37:41 +01:00
Nicolas Martin 97d7464acb Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2011-01-04 21:09:56 +01:00
Stéphane Voltz de2af06d35 make lineart work when number of segments is higher than 1 2011-01-03 21:35:44 +01:00
Stéphane Voltz 25dc093bb6 fix place for DBG statement 2011-01-03 20:56:22 +01:00
Chris Bagwell e2463c9ca3 Add SOCKET_LIBS to xerox_mfp since it uses sanei_tcp
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2011-01-03 10:55:35 -06:00
Chris Bagwell 650ea7cf8a update generate files using latest autoconf tools.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2011-01-02 13:07:31 -06:00
Nicolas Martin 6c19d00e19 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2010-12-30 20:04:56 +01:00
Stéphane Voltz dd2a64e9a4 lide 110/210 scanarea fine tuning 2010-12-29 07:17:14 +01:00
Stéphane Voltz 107374b4fe misc genesys updates
- add or tune entry for 5600f/700f
- fix HP2300 warming up problem
2010-12-28 21:01:46 +01:00
Stéphane Voltz fbf9dd562a add half-step mode to DSmobile 600 motor 2010-12-27 22:40:11 +01:00
Stéphane Voltz a30e72a68c descriptions and man page updates for OpticBokk 3600 2010-12-27 07:08:44 +01:00
Stéphane Voltz 6df16ae86c add opticbook 3600 to genesys.conf.in 2010-12-27 07:01:01 +01:00
Stéphane Voltz b8bf7c3840 copyright updates 2010-12-27 07:01:01 +01:00
Stéphane Voltz 86c8214e93 add support for Plustek Opticbook 3600 by Chris Berry & Michael Rickmann 2010-12-27 07:01:01 +01:00
Stéphane Voltz 02ce13c350 up build number 2010-12-27 06:50:51 +01:00
Stéphane Voltz 35385e5725 genesys backend update
- enable 16 bit gamma for GL124 scanners
- genesys doc credits and models update
2010-12-26 12:08:01 +01:00
Stéphane Voltz 0645ab29d1 enable gamma in 16 bit depth 2010-12-24 11:08:57 +01:00
Stéphane Voltz d8552eb4ad GL124 shading area tuning 2010-12-24 08:41:15 +01:00
Stéphane Voltz f8e1b82561 add a message to print the kind of libusb used 2010-12-24 08:28:16 +01:00
Stéphane Voltz 37a69dad2d gl847 fixes
- improved send shading data calls
- fixed shading area line number for gl847 scanners
2010-12-24 08:28:16 +01:00
Stéphane Voltz 91832dccb3 add X74 support to lexmark backend
- patch from "Torsten Houwaart" <ToHo@gmx.de>
2010-12-24 08:02:44 +01:00
Mike Kelly 99853b5360 Bumped build number 2010-12-23 20:50:46 +09:00
Mike Kelly e422d4456d Removed "regularly tested" from various scanners
These scanners are no longer tested regularly by the maintainter, and should
not be listed as such in the description file.
2010-12-23 20:25:21 +09:00
Mike Kelly 9920c2b324 Fixed USB id for Avision FB2080E
Added leading zero to the USB id of Avision FB2080E.  Regenerated description
file.
2010-12-23 20:24:50 +09:00