Jan Hauffa
d1851a6512
Remove some particularly pointless comments, reduce size of block comments.
2015-11-08 16:54:40 -05:00
Jan Hauffa
047631050c
Remove pointless indirection.
2015-11-08 16:54:39 -05:00
Jan Hauffa
dedf0ac30d
Remove unused global variable g_pDeviceFile and associated logic.
2015-11-08 16:54:39 -05:00
m. allan noah
3b73e1e8a3
fujitsu backend v128
...
do not ask fi-4340 for serial number
2015-11-08 13:12:12 -05:00
Olaf Meeuwissen
1baab222e4
Add missing include (fixes 315207)
...
Both Linux and NetBSD mention this header for use of setsocketopt().
DragonFly BSD needs it for the SOL_SOCKET symbol.
2015-11-08 18:49:58 +09:00
Olaf Meeuwissen
b0a99cb489
Fix non-portable endian.h include issue (315209)
2015-11-08 18:36:57 +09:00
m. allan noah
358cbd7f31
canon_dr v53 continued
...
reorder geometry group options
use bg_color to fill missing image data
2015-11-06 21:39:35 -05:00
m. allan noah
398610336b
canon_dr backend v53
...
add swskip option
2015-11-06 12:19:20 -05:00
m. allan noah
b4bc0eb518
canon_dr backend v53
...
replace image processing methods with sanei_magic
2015-11-06 11:46:17 -05:00
m. allan noah
666c9a74ff
canon_dr backend v52
...
improve dropout option handling
add software dropout implementation for downsampled modes
2015-11-05 21:44:58 -05:00
m. allan noah
9dc7924529
canon_dr backend v52
...
add must_downsample and must_fully_buffer
2015-11-05 21:44:58 -05:00
m. allan noah
01063a769d
canon_dr backend v52
...
set can_color=1 by default (recent models dont have 'C' in name)
enable jpeg for DR-6080
2015-11-05 21:44:58 -05:00
m. allan noah
0b822359b3
cardscan backend v3
...
add USB IDs for newer model 800c
2015-11-05 21:44:58 -05:00
Luiz Angelo Daros de Luca
33495ef9b4
Add missing <sys/types.h> includes
2015-10-27 22:34:52 +09:00
Olaf Meeuwissen
716340e732
Include sys/types.h for u_long. Fixes compile on OS X
2015-10-17 13:55:17 +09:00
Alessandro Zummo
03d90ac2ed
epsonds: do not enable double feed detection by default
2015-10-14 21:55:31 +02:00
Rolf Bensch
4a83d9c8a4
Pixma backend version 0.17.24
2015-10-14 19:04:27 +02:00
Rolf Bensch
3095ab46c4
new scanners Canon PIXUS MP5/SmartBase MPC190/imageCLASS MPC190 and Canon MP10/SmartBase MPC200/imageCLASS MPC200
2015-10-14 19:02:43 +02:00
Olaf Meeuwissen
06b865cfd2
Prevent possible buffer overflows [-Wstrncat-size]. Fixes 315198
2015-10-14 20:39:39 +09:00
m. allan noah
56e69f0998
added kvs1025.conf.in and utsushi.desc
2015-10-05 08:21:39 -04:00
m. allan noah
2ecf18f6fb
autoheader and automake
...
After recent PNG and SNMP changes, need to run autoheader and automake
2015-10-02 21:53:14 -04:00
Alessandro Zummo
5c713413a0
epson2: added a missing include
2015-10-01 01:26:38 +02:00
m. allan noah
3403daef2e
Make sequence point warning go away
...
See f219f7fb
for details.
2015-09-28 21:16:28 -04:00
Olaf Meeuwissen
e8586d8364
Use SNMP compiler flags and libraries only where needed
...
The compiler flags would take effect for every single compilation unit
and the libraries would be linked to every single backend/executable.
2015-09-28 21:16:07 -04:00
Olaf Meeuwissen
219a877858
net: Add mutex lock logic around device additions
...
The avahi_thread may call add_device() as well. This addresses a
concern raised in 313921 and may fix 314696 as well as 315044.
2015-09-28 21:16:07 -04:00
Johannes Meixner
f219f7fbd8
Make sequence-point warning go away. "Fixes" 311857
...
Sample code that mimicks the offending code gave identical run-time
results when compiled with gcc-4.9.2 and clang-3.5.0. Rewriting the
sample code so that results matched both compilers was used to check
the validity of this change.
2015-09-28 20:40:51 +09:00
Rolf Bensch
cbae0ea53b
Pixma backend version 0.17.23
2015-09-26 10:10:38 +02:00
Olaf Meeuwissen
ba1e395c66
Fix size_t printf format warnings
2015-09-25 20:53:42 -04:00
Olaf Meeuwissen
4c49c87827
Fix mixed declarations and code warnings (ISO C90)
2015-09-25 20:53:42 -04:00
Olaf Meeuwissen
22b17e232a
Fix various types of unused variable warnings
2015-09-25 20:53:42 -04:00
Alessandro Zummo
86ba3c634f
epson2: updated supported scanners
2015-09-22 00:44:38 +02:00
m. allan noah
87bfd53512
Run autofoo for recent changes
2015-09-19 13:39:38 -04:00
Olaf Meeuwissen
20a0ed547e
[epson/epson2] Use separate lists of supported USB devices
...
The epson and epson2 backends shared a list of supported USB devices
generated from the epson2.desc file. The epson backend doesn't even
claim to support a large number of the devices listed there. This
change makes the backends use their own lists, generated from their
own *.desc files.
2015-09-19 13:39:37 -04:00
Olaf Meeuwissen
1c2b28307f
Prevent access to memory that was not allocated
2015-09-19 13:39:37 -04:00
Olaf Meeuwissen
f152b40faf
Prefer string concatenation over copying
...
The `ibuf.product` byte array may contain embedded NUL characters. In
that case the revision will not be visible as part of dev->sane.model.
2015-09-19 13:39:37 -04:00
Ilya Gordeev
16dc9c87a6
Fix memory clobbering issue in sane.model creation
2015-09-19 13:39:37 -04:00
Ilya Gordeev
98e4ee4084
Fix out-of-bounds array access
2015-09-19 13:39:37 -04:00
m. allan noah
a1a04f7462
Use c90 compatible comments
2015-09-19 13:39:37 -04:00
Olaf Meeuwissen
9dd31f977c
Move test on first array element into the loop
2015-09-19 12:02:57 -04:00
Sandro Mani
898270810d
Fix string type option descriptor's size value
2015-09-19 12:02:57 -04:00
Eduard - Gabriel Munteanu
ac1bf8d754
magicolor: add support for magicolor 4690MF
...
Currently, this works for USB, but the network OID needs to be
filled in properly.
Signed-off-by: Eduard - Gabriel Munteanu <edgmnt@gmail.com>
2015-09-19 12:02:57 -04:00
Eduard - Gabriel Munteanu
afd22f7722
magicolor: complete support for duplex ADF
...
This is needed to fully-support scanners like magicolor 4960MF.
Signed-off-by: Eduard - Gabriel Munteanu <edgmnt@gmail.com>
2015-09-19 12:02:57 -04:00
Eduard - Gabriel Munteanu
d0c3b22d7d
magicolor: fix USB device detection
...
Only the generic device was being picked.
Signed-off-by: Eduard - Gabriel Munteanu <edgmnt@gmail.com>
2015-09-19 12:02:57 -04:00
Rolf Bensch
348d59f859
fix typo in debug output
2015-09-18 08:55:25 +02:00
Rolf Bensch
d0745a10da
for all adf scanners restrict maximum page height for flatbed scans
2015-09-18 08:52:36 +02:00
Stéphane Voltz
2fd04ccf84
warning fixes
2015-09-16 18:57:03 +02:00
Stéphane Voltz
65747277cc
ifdef'ed temporaly disabled code since 2004
2015-09-16 18:38:11 +02:00
Stéphane Voltz
35d7d39550
Merge remote-tracking branch 'gitlab/pu/protect-niash-option-access-315132' into niash
2015-09-16 18:16:55 +02:00
Stéphane Voltz
45df679214
fix stdup declaration
...
- we need to include sane/config.h first to use strdup
2015-09-16 17:49:45 +02:00
Olaf Meeuwissen
db83bf44de
niash.c: Add argument screening to sane_control_option
...
This prevents access to non-existing array elements as well as
potential NULL dereferences.
Fixes #315132 .
2015-09-14 18:24:39 +09:00
Stéphane Voltz
6c7f9f6a3b
fix #300134 and file test logic
...
- mktmp never returns NULL, so test logic was borken
- use mkstemp instead of mktemp
2015-09-14 06:46:51 +02:00
Paul Newall
26572efbd1
redundant variable bitposn and redundant function kodakaio_rxflush commented out
2015-09-13 19:34:17 +01:00
Alessandro Zummo
2e15add10a
epsonds: fixed comment about usb ids format
2015-09-10 17:13:33 +02:00
Alessandro Zummo
d9e4ff311a
epson2: fixed comment about usb ids format
2015-09-10 17:12:32 +02:00
Alessandro Zummo
bd93d92a93
epson2: fix resolutions for Epson 4870/4990
2015-09-10 16:48:11 +02:00
Alessandro Zummo
a5c2607755
epson2: upated supported models
2015-09-10 16:09:40 +02:00
m. allan noah
f8725993d3
artec_eplus48u.c: fix HOME env bug #315071 (from Jörg Frings-Fürst)
2015-09-08 21:52:02 -04:00
Rolf Bensch
697d834023
Pixma backend version 0.17.22
2015-09-03 20:09:46 +02:00
Rolf Bensch
af4b717297
MP990 needs specific reordering pixels for 4800 dpi
2015-09-03 20:07:17 +02:00
m. allan noah
7566619e53
rebuild with automake 1.14.1
2015-08-31 20:58:30 -04:00
Yuri Chornoivan
648d933c56
Fix minor typos in messages and comments
2015-08-31 20:31:54 -04:00
Niels Ole Salscheider
e47cb8d2b4
Do not use STRINGIFY for LIBDIR but pass "LIBDIR" from build system
2015-08-31 20:31:54 -04:00
Klaus Kämpf
5337625f3a
New backend pieusb
...
This commit adds support for (slide) scanners based
on Pacific Image Electronics (PIE) oem scan hardware.
It is known to match the following USB scanners
PIE PowerSlide 3600 Untested
PIE PowerSlide 3650 Untested
PIE PowerSlide 4000 Untested
PIE PowerSlide 5000 Untested
Reflecta CrystalScan 7200 Untested
Reflecta ProScan 7200 Untested
Reflecta DigitDia 4000 Untested
Reflecta DigitDia 5000 Untested
Reflecta DigitDia 6000 Ok
The backend is based on work by Jan Vleeshouwers and Michael Rickmann.
Special thanks to Stéphane Voltz for the code review.
Add pieusb to backend/Makefile.am
Add pieusb to doc/Makefile.am
Add missing sanei/sanei_ir.c, sanei/sanei_ir.h, adapt Makefile.am
configure.ac: Add 'pieusb' to ALL_BACKENDS
ChangeLog: Add pieusb as new backend
Mark infrared functions as internal: sane_ir_* -> sanei_ir_*
sanei/sanei_ir.c: fix memory leaks
pieusb: rename cmdGetMode and cmdSetScanHead
... to their sanei_pieusb_cmd_... equivalent
pieusb: rename definition_list_head to pieusb_definition_list_head
Add pieusb to AUTHORS
pieusb: copyright 2012-2015
pieusb: don't include sanei_thread.h
2015-08-31 21:07:12 +02:00
m. allan noah
9ca9cd2f56
fujitsu backend v127
...
- separate iX100 from iX500 settings
- iX100 has gray and lineart
2015-08-25 19:49:37 -04:00
m. allan noah
8516da91b4
canon_dr backend v51
...
- DR-C125 does not invert_tly, does need sw_lut
2015-08-25 19:33:51 -04:00
m. allan noah
2cb3140903
fujitsu backend v126
...
- initial support for iX100
- add late_lut support for iX500/iX100
2015-08-23 20:52:49 -04:00
m. allan noah
2f68498ee5
canon_dr backend v1.0.50
...
- DR-C125 adds duplex padding on back side
- initial support for DR-C225
2015-08-23 20:52:49 -04:00
Rolf Bensch
12bca33625
Pixma backend version 0.17.21
2015-08-10 23:20:56 +02:00
Rolf Bensch
2f4c0c16c4
EOF is a bjnp timeout error
2015-08-10 23:19:58 +02:00
Stéphane Voltz
6e9f6de1bc
fix for #300132
...
- free memory allocated by sane_get_devices()
2015-08-10 21:49:38 +02:00
Stéphane Voltz
e8c11a0849
fix for #300131
...
- free memory allocated by sane_get_devices()
2015-08-10 21:47:41 +02:00
Stéphane Voltz
c3f0904b80
fix for #300130
...
- free memory allocated by sane_get_devices()
2015-08-10 21:42:09 +02:00
Stéphane Voltz
f73b2e3dbf
fix for #300129
...
- free memory allocated by sane_get_devices()
2015-08-10 21:38:16 +02:00
Stéphane Voltz
39695d73c2
fix for #300127
...
- free memory allocated by sane_get_devices()
2015-08-10 21:34:24 +02:00
Stéphane Voltz
7fb21d541a
fix for #300126
...
- free memory allocated by sane_get_devices()
2015-08-10 21:30:19 +02:00
Stéphane Voltz
5129434b99
fix for #300124
...
- free memory allocated by sane_get_devices()
2015-08-10 21:27:33 +02:00
Stéphane Voltz
0e78307bdc
fix for #300122
...
- free device list allocated in sane_get_devices()
2015-08-10 21:20:26 +02:00
Stéphane Voltz
c39bc5ac07
fix for #300121
...
- free device list allocated in sane_get_devices()
2015-08-10 21:18:15 +02:00
Stéphane Voltz
debdba5b8c
fix for #300120
...
- free device list allocated in sane_get_devices()
2015-08-08 22:04:37 +02:00
Stéphane Voltz
1f1385ea67
fix memleaks in pnm backend
...
- fix memleaks reported in bug #313553
2015-08-08 21:31:05 +02:00
Rolf Bensch
9188678fc0
Pixma backend version 0.17.20
2015-08-07 23:21:04 +02:00
Rolf Bensch
3133c5e17a
EOF isn't an usb timeout error
...
- this fixes usb communication problems e.g. with OpenSuse
- revoke parts of 3c5cc2a
and cea03f3
2015-08-07 23:19:33 +02:00
Stéphane Voltz
425edc705e
more timing issue fixing
...
- add another usleep() to take care of LiDE 1110/210 scan issue on some
hardware (fast ones ?).
2015-08-06 09:06:10 +02:00
Stéphane Voltz
bf65dbdd9c
no color filter when using LEDADD
2015-08-06 09:01:35 +02:00
Stéphane Voltz
e38641eaef
fix LiDE35 GPIO setup
2015-08-06 09:01:35 +02:00
Stéphane Voltz
f3914a544e
fix type in lEDDADD code path
2015-08-06 09:01:35 +02:00
Alessandro Zummo
d0e7675e60
epson2: added support for Perfection V800 (Nick Stroustrup)
2015-07-31 22:01:19 +02:00
Stéphane Voltz
4eea901305
fix for #315104
...
- allocate gamma tables even if 'warm' boot
2015-07-31 08:10:13 +02:00
Stéphane Voltz
09daef4a68
timing issue fix
...
- fix a timing issue on USB3 hardware (or maybe on fast recent hardware)
debugged and tracked by John S. Weber <jweber53@gmail.com>
2015-07-30 14:28:53 +02:00
Stéphane Voltz
00c9ac83bf
disable despeckle parameter at init
...
- since swdespeck is disabled at init, also disable despeckle diameter
2015-07-30 14:01:13 +02:00
Stéphane Voltz
82adbf6ad2
use fabs for floating point numbers
2015-07-30 14:01:13 +02:00
Rolf Bensch
061df1202b
Pixma backend version 0.17.19
2015-07-29 19:10:02 +02:00
Rolf Bensch
e9155caf1e
MG7500 doesn't need special image format post processing
2015-07-29 19:07:04 +02:00
Rolf Bensch
e9f161895d
new scanner Canon PIXMA MG3600 Series
2015-07-29 19:05:54 +02:00
Louis Lagendijk
43bca22e0c
backend/sane_pixma.c: added missing return in case there is no error
2015-06-27 19:04:45 +02:00
Louis Lagendijk
50a85b744c
Added backend version in debug output of pixma_bjnp.c
2015-06-27 18:19:31 +02:00
Stéphane Voltz
8c515798a6
some LiDE 120 support improvement
2015-06-11 21:26:07 +02:00
Rolf Bensch
7491584574
Pixma backend version 0.17.18
2015-05-18 22:51:02 +02:00
Rolf Bensch
0ab1f99f63
new scanner Canon i-SENSYS MF8300 Series
2015-05-18 22:49:58 +02:00
Alessandro Zummo
980b4f6b06
epson2: fix compilation error
2015-05-15 20:01:32 +02:00
Alessandro Zummo
10c5ec697b
epsonds: streamlined device detection
2015-05-13 00:01:24 +02:00
Alessandro Zummo
66a15edbcf
epson2: consolidate cleanup
2015-05-12 03:18:37 +02:00
Alessandro Zummo
025f886f4b
epson2: fix error message
2015-05-12 03:10:22 +02:00
Alessandro Zummo
b2aefab4cb
epsonds: enable double feed detection
2015-04-26 23:11:37 +02:00
Alessandro Zummo
ccd15dc966
Revert "epsonds: enable double feed detection"
...
This reverts commit 005c3928a5
.
2015-04-26 23:09:08 +02:00
Alessandro Zummo
005c3928a5
epsonds: enable double feed detection
2015-04-26 22:44:01 +02:00
Stéphane Voltz
f6896e0de4
use expiration time option
...
- use expiration time option value to managed cached entries
- changelog for genesys build #2506
2015-04-12 10:14:50 +02:00
Stéphane Voltz
1549a56b75
add cache expiration time option
2015-04-12 09:53:38 +02:00
Stéphane Voltz
a039e9efd1
don't clear cache when loading cache file
...
- don't clear just loaded cache entries when loading another cache file
- improve logging
2015-04-12 08:55:24 +02:00
Alessandro Zummo
2aed026154
epsonds: use maximum area for ADF
2015-04-08 02:29:20 +02:00
Alessandro Zummo
0d6f925e75
epsonds: support resolution ranges in pleace of a fixed list on selected scanners
2015-04-08 01:37:54 +02:00
Alessandro Zummo
f9e3a6e871
epsonds: fix Makefile.in
2015-04-08 00:21:59 +02:00
Rolf Bensch
6ca6d038e3
Pixma backend version 0.17.17
2015-04-07 22:04:56 +02:00
Rolf Bensch
0bddd4cb09
fix MP990 TPU scan
2015-04-07 22:01:38 +02:00
Alessandro Zummo
02ae5c07ea
epsonds: optimize the img callback
2015-04-07 00:20:43 +02:00
Alessandro Zummo
225e00ceae
epsonds: send scanning parameter all at once
2015-04-07 00:20:43 +02:00
Alessandro Zummo
c3545da14d
epsonds: code cleanup, fix initial hang
2015-04-07 00:20:43 +02:00
Alessandro Zummo
d72f4663c0
epsonds: driver for Epson ESC/I-2 scanners
2015-04-07 00:20:43 +02:00
Rolf Bensch
c063b8fa8f
update copyright
2015-04-03 19:19:02 +02:00
Rolf Bensch
858e73da7e
Pixma backend version 0.17.16
2015-04-03 19:09:34 +02:00
Rolf Bensch
9241d3ec28
new Canon scanners MF210, MF220, MF810/820, MF5900 and MF6100
...
all scanners need further testing
2015-04-03 19:07:57 +02:00
m. allan noah
0177d39642
epjitsu backend v28
...
call get_hardware_status before starting scan
2015-03-23 20:52:54 -04:00
m. allan noah
71ffcfe30e
canon_dr backend v49
...
initial support for DR-C125 and possibly DR-C225
2015-03-18 20:49:15 -04:00
Stéphane Voltz
128c8931b3
add putative support for LiDE 120
2015-03-17 22:23:21 +01:00
Alessandro Zummo
5d3c2edb8f
epson2: fixed depth > 8bit (thanks to Thomas M.)
2015-03-15 01:18:36 +01:00
Alessandro Zummo
a73d9e1ab0
epson2: cancel requests were not handled correctly
2015-03-15 01:18:36 +01:00
René Rebe
ca97cb22bd
reverted 4d38523bda
, the long commit message
...
is a nice fairy tale, not more - of course the ponter deref copies the whole
params, and most other packends do it the same way: grep *params *.c, and
consult your local C "assembler frontend" bible, ...
2015-03-07 18:56:54 +00:00
René Rebe
9511c27e59
fixed new avision feature bits for 32-bit build
2015-03-07 18:51:14 +00:00
René Rebe
f69a1ad50e
removed unnecessary feature_type2 clutter by using a uint64_t to share all bits
2015-03-07 11:16:47 +00:00
René Rebe
e05607323d
fixed duplex for some avision scanners
2015-03-07 10:50:36 +00:00
René Rebe
d5c7e22328
fixed multiple Avision regressions: most scanner basically did not
...
work at all anymore, ... range initilaizer, clobbering paper-length
window bits, ...) introduced over the past years, added support for
newer ASIC gamma table size, added AV220D2+ ID
2015-03-07 05:07:27 +00:00
m. allan noah
15deba5c57
epjitsu backend v27
...
- don't override br_x and br_y
- call change_params after changing page_width
2015-03-02 20:31:46 -05:00
Stéphane Voltz
f5e4a4bf8e
improve LiDE 210 head parking reliability
2015-03-02 21:08:31 +01:00
Stéphane Voltz
0f990e4a99
add reverse parameter to gl124_feed
2015-03-02 17:35:20 +01:00
Stéphane Voltz
debf0101f7
improve park failure detection
2015-03-02 17:25:22 +01:00
Stéphane Voltz
1eb35fe4cb
final tuning for LiDE 220 support
2015-03-01 21:43:08 +01:00
Stéphane Voltz
470594e18b
initial support for LiDE 220
2015-02-26 22:26:00 +01:00
Rolf Bensch
f78057e8db
Pixma backend version 0.17.15
2015-02-21 11:20:41 +01:00
Rolf Bensch
7d7025838e
new scanners Canon PIXMA MX490 Series and E480 Series
2015-02-21 11:18:40 +01:00
Rolf Bensch
bf60fd1f61
MG6400 doesn't need special image format post processing
2015-02-21 10:34:52 +01:00
Ilia Sotnikov
9d9cefb7a7
* Invert pixels in case of TMA Negatives source has been selected.
...
Thanks for Will Kranz who reported this.
2015-01-20 12:33:49 +03:00
Paul Newall
6b1455a8cf
kodakaio device connection and disconnection moved to sane_start and sane_cancel to fix bug when scanner disconnected after 30s idle
2014-12-31 10:26:07 +00:00
Paul Newall
06fae35262
kodakaio params.depth corrected for lineart, color mode made the default.
2014-12-19 22:52:48 +00:00
m. allan noah
67417622cb
bump version number of fujitsu backend
2014-12-16 08:29:58 -05:00
m. allan noah
fb8693bf09
fujitsu: remove command counting code
...
This code was a crude workaround for a problem with a
better solution at the USB library layer. Remove it.
2014-12-12 20:40:07 -05:00
m. allan noah
a429b8a0ed
fujitsu backend v124
...
- support resolution controlled max page-height (fi-6/7xxx scanners)
- reorder scanner sections in init_model chronologically
2014-12-09 20:52:06 -05:00
Rolf Bensch
e1f7a7d452
Pixma backend version 0.17.14
2014-11-18 09:16:37 +01:00
Rolf Bensch
5e7dc373c8
MF8200C: ADF supports max. 300DPI
...
- use adftpu_max_dpi to set max. resolution for ADF
2014-11-18 09:14:46 +01:00
Rolf Bensch
98125c97d6
mf8[25]00 use generation 2 protocols
2014-11-18 09:04:18 +01:00
Rolf Bensch
1fa16a1aab
also use has_paper() for generation 2 scanners
2014-11-18 09:03:13 +01:00
Rolf Bensch
681c8366b5
Remove firmware checking for HP5370c scanners
2014-11-15 14:40:49 +01:00
m. allan noah
7a590f362e
fujitsu backend v123
...
workaround Linux USB3 bugs by adding command counting code and
sending an even number of reads and writes during disconnect_fd
2014-11-06 20:48:40 -05:00
Rolf Bensch
ccdd519ece
Pixma backend version 0.17.13
2014-10-29 09:16:06 +01:00
Rolf Bensch
fdfde41ed1
new Canon scanners
...
MAXIFY MB5000, MB5300, MB2000, MB2300
PIXMA MG7500, MG6600, MG5600, MG2900, E460
*all scanners need further testing*
2014-10-29 09:14:50 +01:00
m. allan noah
41c31ac0e9
fujitsu backend v122
...
- add support for object_position halt
- call object_position halt in check_for_cancel when requested
2014-10-28 19:19:46 -04:00
Rolf Bensch
869e3f75a6
Pixma backend version 0.17.12
2014-10-27 17:17:07 +01:00
Rolf Bensch
027f9e4ed4
MG3500 doesn't need special image post processing
2014-10-27 16:04:22 +01:00
Rolf Bensch
a93c243c26
calibration can finish with 0x01 or 0x02
2014-10-20 17:56:46 +02:00
Rolf Bensch
b7e8e035a4
increase calibration timeout
2014-10-20 17:54:46 +02:00
Rolf Bensch
a69a613a25
new scanner imageCLASS D530
2014-10-20 17:14:23 +02:00
Rolf Bensch
54358f27e1
Canon Pixma MG5500 Series is working
2014-09-18 21:54:28 +02:00
Rolf Bensch
cb25926d05
Pixma backend version 0.17.11
2014-09-16 11:47:27 +02:00
Rolf Bensch
ea54338db7
MX530 doesn't need image post processing
2014-09-16 11:18:12 +02:00
Paul Newall
d2bbf502c7
kodakaio: Added lineart mode and threshold option.
2014-09-13 23:26:04 +01:00
Paul Newall
4a49f58700
Fixed colour compensation error in kodakaio
2014-09-07 13:38:58 +01:00
Louis Lagendijk
b4856a8a31
pixma_bjnp.c: added explicit error message for the case where the
...
scanner closes the TCP-connection
2014-08-23 14:36:05 +02:00
Louis Lagendijk
3ce1cec6a3
pixma_bjnp.c: Open TCP-connection only from bjnp_activate. bjnp_open should not intiate
...
a connection. This solves issues where the scanner closes it's TCP-connection after a
period of no activity.
2014-08-23 14:25:56 +02:00
Rolf Bensch
a3a2d2038d
MX720 has button support
2014-08-16 21:56:46 +02:00
Rolf Bensch
1afd805389
MX720 doesn't need image post processing
2014-08-16 16:45:06 +02:00
Rolf Bensch
7908858a3a
MX720 has duplex adf
2014-08-16 16:44:02 +02:00
Rolf Bensch
99eac9c6eb
Pixma backend version 0.17.10
2014-08-16 12:25:55 +02:00
Rolf Bensch
3f6a17bcbd
new scanners Canon i-SENSYS MF8200C Series and MF8500C Series
2014-08-16 12:15:36 +02:00
m. allan noah
1e04f18ed1
canon_dr backend v48
...
- set another unknown byte in buffermode for ssm2
- add another gettimeofday call at end of do_usb_cmd
- don't print 0 length line in hexdump
- mark DR-7080C as working
- default DR-G1100 and DR-G1130 to 8 meg buffers
2014-08-06 21:42:00 -04:00
m. allan noah
68bc35d36a
fujitsu: don't print 0 length line in hexdump
2014-08-06 21:42:00 -04:00
Rolf Bensch
a0e2df7254
new scanners Canon Pixma E400, E560, MX470 and MX530
2014-07-25 20:51:53 +02:00
m. allan noah
44bdd65b51
canon_dr backend v47
...
initial DR-G1130 support
add usb ids for many recent scanners
2014-07-14 20:02:05 -04:00
m. allan noah
683f6d71f4
epjitsu backend v26
...
- add resolution scaling
- fix 150 dpi settings for fi-60F and fi-65F
- make adf_height_padding variable
- make white_factor variable
2014-07-02 09:48:55 -04:00
Stéphane Voltz
42e3246117
fix gain calibration
...
- enable GMMENB during calibration scan in simple_scan, otherwise there
is 'color clamping' with default asic table
2014-06-29 08:38:48 +02:00
m. allan noah
a7aa92f54d
epjitsu backend v25
...
- initial support for fi-65F
- initial support for S1100
2014-06-12 21:25:14 -04:00
Stéphane Voltz
aed140364e
move to init_scan_regs generic interface
2014-06-02 06:23:17 +02:00
Stéphane Voltz
fab55c629d
ensure target speed is reached
...
- in case the motor profile table doesn't contain target speed, add it
to have accurate scanning resolution
2014-06-02 06:19:29 +02:00
Stéphane Voltz
675285ef8d
do usb_reset each time for all ASICs
2014-06-02 06:19:29 +02:00
Stéphane Voltz
e2dbc97b7f
fix 600 to 4800 dpi gray scan geometry
...
- use correct slope table allowing gray scan speeds
2014-06-02 06:19:29 +02:00
Stéphane Voltz
289b747106
no special case for high speed moving
2014-06-02 06:19:29 +02:00
Stéphane Voltz
e9a6a35a87
better slope target trace message
2014-06-02 06:19:28 +02:00
Stéphane Voltz
79f791589e
define and update specific LiDE 110 table
...
- create working values for 1200/2400 gray dpi scans
2014-06-02 06:19:28 +02:00
Stéphane Voltz
f73440f5a6
raise build number
2014-06-02 06:19:28 +02:00
Stéphane Voltz
23c8bc461b
improve 600 dpi gray scans
...
- define LiDE 110 specific table for 600 dpi
- extend it to reach right dpi
2014-06-02 06:19:28 +02:00
Stéphane Voltz
3b0d8728f3
use generic slope table generation for gl124
2014-06-02 06:19:28 +02:00
Stéphane Voltz
c2e1bd6b4d
add init_scan_regs function to internal API
...
- define a common scan register setting function
- start to move gl124.C to generic motor slope handling
2014-06-02 06:19:28 +02:00
Stéphane Voltz
5f166f1016
improve UTA detection by updating hardware sensors
...
- call sensor hardware update earlier to detect XPA at open time
2014-06-02 06:19:28 +02:00
Stéphane Voltz
1ec94972b9
usb reset for gl646 on sane_exit
...
- improves reliability by resetting usb device on leaving
2014-06-02 06:19:28 +02:00
m. allan noah
af80354325
epjitsu backend v24
...
enable fine calibration for S1300i 225 & 300 dpi, and S300 150 dpi
2014-06-01 08:31:21 -04:00
Paul Newall
f67f37ec19
kodakaio.c comments on configure parameters have test backend added
2014-05-30 21:19:13 +01:00
m. allan noah
bac4009627
epjitsu backend v23
...
- add S1300i support
- fix buffer overruns in read_from_scanner
- set default page width
- simplified the 225x200 resolution code
2014-05-27 21:42:17 -04:00
Rolf Bensch
8316417ed9
Pixma backend version 0.17.9
2014-05-26 19:04:23 +02:00
Rolf Bensch
8d192503f7
remove unused variable
2014-05-26 18:56:37 +02:00
Rolf Bensch
c495f5a5af
fix ADF paper empty @ start scanning
2014-05-26 18:38:54 +02:00
Rolf Bensch
94958e04e0
Pixma backend version 0.17.8
2014-05-16 15:40:52 +02:00
Rolf Bensch
e8c9b727bd
fix MG7100 image data post processing @ high resolutions > 600dpi
2014-05-16 15:36:30 +02:00
Mark Buda
c591d2b7da
Correction of some spelling/grammatical errors in source code
2014-05-15 22:04:37 -04:00
Peter Marschall
bcd232fb41
epjitsu: add Fujitsu S1300i to epjitsu.conf.in
2014-05-15 22:04:36 -04:00
Peter Marschall
40f74dd208
epjitsu: document how to extract .nal files in Linux
...
In Fujitsu ScanSnap installation DVDs the .nal firmware files required
for the epjitsu backend to work are located in cabinet files.
The script snippet locates these cabinet files on the DVD and extracts all
.nal files it finds.
2014-05-15 22:04:36 -04:00
Peter Marschall
2d438531b1
epjitsu.c: add/fix a few comments
2014-05-15 22:04:36 -04:00
Hiroshi Miura
a4cff1c9e2
epjitsu: implement get_gcd
...
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
bc459dea9d
epjitsu: ScanSnap S1100 support
...
Add S1100 support
The ideas and cmd data are comes from:
http://ubuntuforums.org/showthread.php?t=1678335
TBD: test on S1100, I don't have a machine.
2014-05-15 22:04:36 -04:00
Hiroshi Miura
ceeb9bb2d3
epjitsu: refactor coarsecal()
...
Now refactoring coarsecal() for S1100 support.
it is carefully changed not to break S300/1300/1500.
the chunk come from http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura
e6abe74b5c
epjitsu: introduce object_position()
...
Rename ingest() to object_position()
now it can do both ingest and eject.
This is required by S1100 support.
chunk come from
http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura
2f7c6382f4
epjitsu: x,y_resolution difference treatment
...
ScanScanp has a resolution 225x200 in each model.
The function which treat it should use a mathematic theory.
Euclidean algorithm should be used to get GCD (Greatest Common Devisor)
for this calcuration.
This patch make a separate function that should be get_GCD and
simplize a logic in copy image function.
TBD: this don't have Euclidean algorithm. Just prepare for it.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
25947781ec
epjitsu: tl_y parameter support
...
The driver can cut top of image for padding.
We can also cut an ordered size at a top of image.
It make tl_y parameter works.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
529a7611d2
epjitsu: skip top padding
...
The driver need a padding at top of page.
Because scansnap don't treat empty image
at the top of image that is generated when
loading paper, the driver cut top of page
in 1/2 inch.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
5ab232d3a6
epjitsu: fix indent
...
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
f3d5455e9a
epjitsu: optimize loop
...
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
9f1542afc6
epjitsu: page width support
...
ScanSnap itself don't have a feature to
detect and scan area in demanded width.
Otherwise driver need to cut into proper width.
this introduce page_width parameter and facility
to cut image into page width.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura
8ef91bb06d
epjitsu: unit convert macro
...
introducing macros converting between scanner unit
and inches each other.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Stéphane Voltz
0694698fd8
enable gamma only at scan time
2014-05-12 22:02:06 +02:00
Stéphane Voltz
cced79e963
fix #314663
...
- bug was due to an off by one in gamma table copy
2014-05-12 21:39:16 +02:00
Stéphane Voltz
b51673a252
debug cleanups
...
- cleanup some debug messages
- prepare for new internal scan API
2014-05-11 09:24:16 +02:00
Stéphane Voltz
ee4cd1cdc4
halt endpoint properly before resetting
2014-05-10 08:50:45 +02:00
Rolf Bensch
3b0861b3bd
Pixma backend version 0.17.7
2014-05-08 19:46:50 +02:00
Rolf Bensch
b4d7533ae3
fix adf paper empty bug
...
- new parameter mp->adf_state:
+ detect start scan session
+ handle adf scan between pages
+ detect end scan session (adf paper empty)
- old code: s->param->adf_pageid hasn't been reset @ adf paper empty
2014-05-08 19:35:25 +02:00
Rolf Bensch
f5d936c655
all ADF scanners support 14" legal paper size
2014-05-08 19:22:01 +02:00
m. allan noah
522f4f4d0f
canon_dr backend v46
...
- split debug level 30 into two levels
- simplify jpeg ifdefs
- add support for DR-M160
2014-04-11 21:21:42 -04:00
m. allan noah
0eabc04805
Fix range and value of fujitsu offtimer option
2014-04-11 21:20:30 -04:00
m. allan noah
50236fab4e
fujitsu backend v121
...
- add JFIF APP0 marker with resolution to jpeg images
- improve jpeg duplex parsing code
- simplify jpeg ifdefs
- add offtimer option for more recent scanners
2014-04-08 22:11:42 -04:00
m. allan noah
17a6615a11
canon_dr: split debug level
2014-04-08 22:11:42 -04:00
m. allan noah
763e08b4c9
fujitsu backend v120
...
- only call hopper_before_op code at batch start
- remove unused backup/restore_params
2014-03-29 21:18:35 -04:00
m. allan noah
ffb7051725
canon_dr backend v45
...
- dropout support for machines with ssm2 command
- doublefeed support for machines with ssm2 command
2014-03-29 21:18:35 -04:00
m. allan noah
e20f3b5473
canon_dr backend v44
...
- buffermode support for machines with ssm2 command
- DR-M140 needs always_op=0
2014-03-29 21:18:29 -04:00
m. allan noah
3609f406ca
canon_dr backend v43
...
- initial DR-M140 support
- add extra_status config and code
- split status code into do_usb_status
- fix copy_line margin offset
- add new color interlacing modes and code
- comment out ssm2
- add timestamp to do_usb_cmd
2014-03-29 21:17:35 -04:00
Alessandro Zummo
b768bb07b6
epson2: fixed another timeout/crash
2014-03-25 14:51:42 +01:00
Rolf Bensch
6ff135ed33
clamp minimum image size to 16 px x 16 px
2014-03-21 19:15:50 +01:00
Rolf Bensch
23b266f92c
MX520 has button support
2014-03-21 19:09:33 +01:00
Rolf Bensch
e6b3f9ea01
MX520 supports 14" legal paper size in ADF mode
2014-03-21 19:08:21 +01:00
Alessandro Zummo
db31fdd1e3
epson2: fixed timeout and scanner crash on WP-4540 series (and others)
2014-03-13 22:57:17 +01:00
Alessandro Zummo
3babe5de40
epson2: fixed ADF detection
2014-03-13 22:56:29 +01:00
Alessandro Zummo
0a37fc99f7
epson2: updated usb ids
2014-03-04 00:57:33 +01:00
Alessandro Zummo
f26f3d38a7
epson2: do not reset after each page
2014-03-03 23:56:29 +01:00
Alessandro Zummo
e855744b5c
epson2: improve debug output
2014-03-03 23:56:28 +01:00
Alessandro Zummo
83b9767539
epson2: fixed detection of multiple network-enabled scanners
2014-03-03 23:56:28 +01:00
Rolf Bensch
5a22adb9ea
rename MF4550d to MF4500 Series
2014-02-28 21:19:53 +01:00
Stéphane Voltz
a54bbf84f5
fix calibration file name collision
...
- handle the case where there are several identical scanners plugged in,
and avoid sharing the same calibration file
2014-02-24 06:53:10 +01:00
Louis Lagendijk
ff7faa7964
pixma_bjnp.c: remove code and sanei_bjnp_activate/deactivate to make ADF scan work on MFNP protocol
...
Code is moved to sanei_bjnp_open/close instead. The FINISH command killed ADF scan
2014-02-12 00:16:34 +01:00
Louis Lagendijk
bd851f2a3e
pixma_bjnp.c: fix regression in bjnp support
2014-02-11 21:46:49 +01:00
Louis Lagendijk
be2cc19c60
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
2014-02-10 23:56:17 +01:00
Louis Lagendijk
77a1d1cdbc
pixma_bjnp.c pixma_bjnp.h pixma_bjnp_private.h: Added support for Canon laser multi-functionals using the mfnp protool over port 8610.
...
Improved debug logging to be more reeadable
2014-02-10 23:53:04 +01:00
Rolf Bensch
f0a2800a6d
MX510 supports 14" legal paper size in ADF mode
2014-02-08 18:47:52 +01:00
Louis Lagendijk
56b186e225
Increase buffer size, as a device may send a larger blocksize when used over mfnp
2014-02-08 18:01:31 +01:00
m. allan noah
469674c442
umax-uc630 updates from Ondrej Zary
2014-01-29 21:42:46 -05:00
Rolf Bensch
16bbb353cc
bug #314411 , Canon imageCLASS MF4570dw is working
2014-01-02 20:54:25 +01:00