Wykres commitów

6241 Commity (852df2e844caabd5ec7faaa54ccf5b54e3140c44)

Autor SHA1 Wiadomość Data
m. allan noah 852df2e844 add small sleep before clearing usb halt condition 2009-06-17 16:55:52 -04:00
m. allan noah 59ecbe3521 bump backend version number 2009-06-17 16:16:54 -04:00
m. allan noah 47bd5aec2c bump backend version number 2009-06-17 16:12:44 -04:00
m. allan noah caaa891c35 canon_dr v30: improved support for DR-2050/2080 and minor bug fixes
- add fine cal support for machines with internal buffer (2050/2080)
- support fixed-width machines that require even bytes per scanline
- pad end of scan with gray if scanner stops prematurely
- better handling of errors during calibration
- cleanup canceling debug messages
- remove old cancel() prototype
2009-06-17 15:45:48 -04:00
Stéphane Voltz 0488274f0d changelog for lexmark update 2009-06-17 21:10:46 +02:00
Stéphane Voltz c96bf32505 Merge branch 'lexmark' of /home/stefdev/workspace/sane-backends 2009-06-17 21:02:45 +02:00
Alessandro Zummo e5bb03de2a epson2: removed unused code and options
Code and setup for never implemented or removed options
has been cleaned up.
2009-06-17 12:39:34 +02:00
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
Julien BLACHE d3f1f6fa50 Guard sin6 union member by #ifdef ENABLE_IPV6 2009-06-16 15:11:45 +02:00
Julien BLACHE f06cf4770b Fix strict aliasing issues
Strict aliasing warnings can now lead to broken code with gcc 4.4. Replace
various sockaddr casts by unions.
2009-06-16 15:07:00 +02:00
Stéphane Voltz dd87aecc17 work to fix bug 311682
- improve debug traces in low_is_home_line()
- shrink search window to detect home reference point
- move f3/f4 setting to be f4/f5 register setting
2009-06-16 13:44:28 +02:00
Nicolas Martin 177f8d2022 Changelog update for commit aa7a54199d
- MP800R network scan fix
- MF5770 documentation updates
2009-06-14 18:45:04 +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 93be2efc99 backend version increment 2009-06-13 17:36:54 +04:00
Alex Belkin a937e22bd7 backend version increment 2009-06-13 17:35:32 +04:00
Alex Belkin 00456d00a6 typo 2009-06-13 17:16:45 +04:00
Alex Belkin f3e63b4e4d usbids for some Samsung devices 2009-06-13 17:15:06 +04:00
Alessandro Zummo cd2f3cc6d8 epson2: update description file 2009-06-10 21:37:19 +02: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 3f1c514ac4 ChangeLog update for latest commits (Canon MF5770) 2009-06-08 22:55:47 +02: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 470cc50ef4 Changelog update
and date typo fix for previous one.
2009-06-04 00:56:55 +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
Nicolas Martin 1f440d2c57 First batch of modifications to pixma backend for ImageClass MF5770
- backend/pixma_imageclass.c : remove MF5770 from supported devices
- backend/pixma_mp730.c : add set of modifications to handle ImageClass MF5770
2009-06-02 22:55:25 +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
Alessandro Zummo 617b7c5be5 sanei_scsi.h requires sane/config.h
sanei_scsi.h uses u_char which is defined in sane/config.h
so it appropriate to ad an #include for it.
2009-06-01 13:16:08 +02:00
Pierre Willenbrock 056461a9fb Description updates for genesys backend. 2009-05-29 21:59:11 +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 dcae93ab39 changelog entry for recent changes 2009-05-25 22:59:43 -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