Rolf Bensch
c5bfbc5a3a
pixma: implement adf-wait for imageclass scanners
2017-04-04 11:25:53 +02:00
Rolf Bensch
17f3899b15
pixma: new option adf-wait
2017-04-04 11:23:03 +02:00
m. allan noah
e6c8ea6f0b
epjitsu backend v30 again
...
- typo in previous commit broke low resolution scans on fi-65F
2017-03-22 12:33:27 -04:00
m. allan noah
a7fde11e15
epjitsu backend v30
...
- bump build number
2017-03-21 21:35:59 -04:00
m. allan noah
891e3984d0
epjitsu v30
...
- fix image truncation when using 150 DPI in Y direction
- add 200 and 400 DPI Y direction support for fi-60F/65F
2017-03-21 20:43:42 -04:00
m. allan noah
eaa4d4407d
epjitsu backend v29
...
- fix infinite loop when scaling in Y direction
2017-03-18 19:19:04 -04:00
Olaf Meeuwissen
2f9ea038b1
Fix typo
...
See http://lists.alioth.debian.org/pipermail/sane-devel/2017-March/035099.html
2017-03-11 10:48:35 +09:00
Louis Lagendijk
7a0e1126b3
Revert "pixma_mp150.c: Fix scanbutton detection for MB5000 series"
...
This reverts commit 53aa78df3a
.
2017-01-06 23:30:31 +01:00
Louis Lagendijk
306f8f16e7
Revert "pixma_mp150.c: fix 1200 dpi scanning for MB5000 series"
...
This reverts commit dfc5487571
.
2017-01-06 23:29:59 +01:00
Louis Lagendijk
9bc734042f
Revert "pixma_mp150.c: scan param 0x26-0x29 should contain localtime HHMM, also for MB5000 series"
...
This reverts commit eb712c6bd8
.
2017-01-06 23:28:56 +01:00
Louis Lagendijk
6c439bce79
Revert "pixma_mp150.c: replace multiple if statements with case statement in handle_interrupt"
...
This reverts commit 28dcd0aef4
.
2017-01-06 23:28:31 +01:00
Louis Lagendijk
06b4b27ecf
Revert "pixma_mp150.c: fix parameter settings for MB5000 in send_scan_param"
...
This reverts commit 1d2a40ec96
.
2017-01-06 23:28:09 +01:00
Louis Lagendijk
1b442ce1ea
Added examples for new bjnp timer settings in the pixma config file
2017-01-06 21:37:52 +01:00
Louis Lagendijk
cfc7a069d2
Added timeout options for the bjnp protocol
2016-12-31 17:56:06 +01:00
Louis Lagendijk
c2898cb602
Remove incorrect comment left from old version
2016-12-30 21:36:26 +01:00
Louis Lagendijk
526f642f64
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
2016-12-30 20:04:53 +01:00
Dave Platt
755e829caa
avision.c: abort "wait for light" loop if interrupted
...
Adds a "cancelled" flag to the Avision device structure, cleared
in sane_start() and set in sane_cancel(). Test this flag in
wait_4_light() and bail out of the 90-second "wait for the
light to warm up" loop if the scan is cancelled.
2016-12-15 23:12:07 -08:00
Dave Platt
28963459a4
avision.c: Recognize "backlight on" status
...
Avision scanners can return an additional light-status value meaning
"Transparent Media Adapter back-light is on". Accept this as
equivalent to "on" during the lamp-warmup check prior to starting a
scan. Re-check the light status after sending the window command, as
the light selection might have been changed and a further warm-up
may be required.
2016-12-15 23:02:42 -08:00
Dave Platt
6585b6f60d
avision.c: Add "skip-adf" option
...
The code which tries aggressively to reset/initialize HP 82xx/83xx
Automatic Document Feeders doesn't work well if there's no ADF attached,
because the scanner reports a non-zero ADF model type in this case.
The retry code makes several attempts to initialize the ADF, and then
bails out with an "Operation not supported" error.
Add a new "option skip-adf" which will cause the backend to believe
the "ADF not present" status if that's what the scanner reports.
Fixes #313751
2016-12-15 22:56:09 -08:00
Troy Rollo
f58ce8f920
HP3500: Always enable the second set of CCDs. This
...
prevents ghosting that occurs when only enabling the
first set of CCDs, even though at some resolutions
we will not get any data from the second set.
2016-12-02 01:37:23 +11:00
Troy Rollo
77986b1d14
HP3500: Move to scan area more quickly if it is a
...
long way from the home position
2016-12-02 01:20:43 +11:00
Troy Rollo
b1f3815014
Add missing math library to HP3500 backend link flags
2016-11-29 21:11:06 +11:00
Troy Rollo
fd7a3505f6
HP3500 backend: fix #314811 , greatly improve
...
calibration, support harware calibration
in 120DPI and 400DPI, and add support for
hardware gamma correction.
2016-11-29 20:47:59 +11:00
Alex Belkin
69a008830b
Pre-create temporary file for Jpeg scanning.
...
Jpeg mode (as submitted by Samsung developer) uses temporary file with
fixed name. This opens attacks on reading its content or overwriting any
other user-writable file (with symlink). This change pre-creates
temporary file with O_CREAT|O_EXCL and mode 0600. Assuming usual +t
permissions for tmp this should mitigate issue.
2016-11-06 22:55:58 +03:00
Alex Belkin
226c2b9deb
Update header and copyright statements for xerox_mfp.
2016-11-06 21:50:06 +03:00
Alex Belkin
58c1e43b83
Indent of xerox_mfp-tcp.c and xerox_mfp-usb.c
...
This is purely indent commit without any code changes, in
follow-up to 83bbcfe7d5
.
Indent command used:
astyle -A8 -U -H -k3 -W3 -o xerox_mfp-{usb,tcp}.c
Proof that code is not changed:
git log -w -p xerox_mfp-{usb,tcp}.c
2016-11-06 21:42:52 +03:00
Alex Belkin
83bbcfe7d5
Run indent: astyle -A8 -U -H -k3 -W3 -o xerox_mfp.[ch]
...
This is purely indent commit w/o any code changes.
To prove run `git diff -w`.
2016-11-06 20:24:02 +03:00
m. allan noah
e4aed53a1e
fujitsu backend v132
...
- remove ipc_mode option and variables
- set ipc mode based on other options
- cleanup inverted logic DTC options
- fixes threshold option reported in #315069
2016-10-08 20:54:58 -04:00
Rolf Bensch
cfa98fd0d1
pixma: backend version 0.17.34
2016-10-08 14:25:33 +02:00
Rolf Bensch
7e20475c8b
pixma: new scanner Canon PIXMA MG3000 Series
...
see bug report #315521
2016-10-08 14:24:53 +02:00
Rolf Bensch
3b63fdab2b
pixma: backend version 0.17.33
2016-10-05 20:05:37 +02:00
Rolf Bensch
c751a9ca22
fix ADF scanning for Canon MF57x0 devices
...
- ignore result from calibrate(): don't interrupt @ PIXMA_STATUS_BUSY
- MF57x0 devices don't require abort_session() after the last page
- reported by Dmitry Deshevoy
2016-10-05 19:52:02 +02:00
Olaf Meeuwissen
e6faafcdc9
xerox_mfp: fix [-Wunused-parameter] compiler warnings
...
These are issued when libjpeg was not found during configuration.
2016-09-25 15:44:36 +09:00
Louis Lagendijk
32be261254
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
2016-09-21 22:35:10 +02:00
Olaf Meeuwissen
ee550e5de8
pieusb: fix [-Wunused-parameter] compiler warnings
...
The functions that trigger these warnings were not used.
2016-09-20 09:12:53 +09:00
Olaf Meeuwissen
fb0464d9e3
niash: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 727dd4ab
(2004-08-03).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
6f4b88b617
epson2: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 728e032a
(2009-06-01).
2016-09-19 12:41:58 +09:00
m. allan noah
9d388c3593
canon_dr v56
...
- add initial support for P-150M (and probably P-150)
2016-09-11 19:04:34 -04:00
Olaf Meeuwissen
737977199c
umax_pp: fix [-Wunused-but-set-variable] compiler warning
2016-09-05 23:40:39 +09:00
Olaf Meeuwissen
50fa8efdcf
gphoto2: fix libgphoto2 logging integration
...
In libgphoto2-2.5.0 (tagged for release on 2012-07-10) the GPLogFunc no
longer takes a va_list. Instead, it passes a formatted message.
2016-09-04 14:39:52 +09:00
Olaf Meeuwissen
74b4a34e82
dll: fix pedantic compiler warning
2016-09-04 12:12:14 +09:00
Olaf Meeuwissen
a65e74fe83
umax_pp: fix [-Werror=unused-but-set-parameter] compiler warnings
2016-08-28 15:49:44 +09:00
Olaf Meeuwissen
4eaefe4371
magicolor: fix [-Werror] compiler warning
...
This casts away const-ness in the hope that libsnmp doesn't change
the session.peername.
2016-08-28 15:27:50 +09:00
Olaf Meeuwissen
31ac0db736
magicolor: fix [-Werror=pointer-sign] compiler warnings
...
The libsnmp API requires a u_char *session.community :-(
2016-08-28 15:25:43 +09:00
Olaf Meeuwissen
c32d48ef5f
kodakaio: fix [-Weror=format=] compiler warning
2016-08-28 14:19:34 +09:00
Olaf Meeuwissen
0337514b8f
kodakaio: fix [-Werror=sign-compare] compiler warning
2016-08-28 14:18:00 +09:00
Olaf Meeuwissen
763816814b
hp5400: fix [-Werror=overflow] compiler warning
...
This explicitly implements what gcc and clang assign.
2016-08-28 13:56:16 +09:00
Olaf Meeuwissen
984fefd551
plustek_pp: fix [-Werror=sign-compare] compiler warning
2016-08-28 13:21:11 +09:00
Olaf Meeuwissen
f0153bc7fe
v4l: fix [-Werror=sign-compare] compiler warning
2016-08-28 12:58:56 +09:00
Olaf Meeuwissen
cb3090cb54
pixma: Fix include guard typo
...
This was introduced in f573865
on 2008-10-18.
2016-08-03 22:16:26 +09:00