Thierry HUCHARD
8885312711
Fixes device discovery
2020-10-10 18:01:55 +02:00
Zdenek Dohnal
6af85ec669
plustek-usbhw.c: Add 1ms sleep before writing to register 0x59
...
Works around discovery problem for CanoScan N650U, fixes #137 .
2020-10-09 08:55:41 +02:00
Ralph Little
6886cf6e80
gt68xx: Added temporary fix to avoid stop scan during cancel.
...
Calling this function upsets some scanners in this family.
This temporary sticking plaster permits the Mustek 1248UB scanner to
scan after cancelling. We need to look into this much more when a
scanner becomes available for investigation.
2020-10-03 10:38:50 -07:00
Nikolai Kostrigin
5ef217b19d
add ID information for Avision AV186+ and AV188 sheetfed USB scanners
...
backend/avision.c: add AV186+ as 'good',
AV188 as 'untested'
doc/descriptions/avision.desc: add AV186+ as 'good',
AV188 as 'untested'
2020-09-28 18:31:56 +03:00
Wolfram Sang
7139d6decf
epson2: add autofocus
...
Enable autofocus support on my Epson 12000XL. The middle of the scan
area will be used as the focus point. An arbitrary X,Y is possible but
not implemented yet
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-26 17:14:47 +02:00
Wolfram Sang
5d706c2c35
epson2: implement full range manual focus settings
...
Allow the whole range of manual focus settings as an expert option. This
is also now independent of a TPU being installed or not. The old default
values are applied if the user changes the source type (either FLATBED
or TPU). Adding a focus group here because autofocus options will come
with later patches.
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-26 16:48:51 +02:00
Wolfram Sang
f9f75ca068
saneopts: add entries for focus/autofocus
...
coolscan2 has focus entries already reused in coolscan3. Because I want
to add the same options to epson2, it makes sense to make them available
globally. Add i18n while here.
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-26 16:48:51 +02:00
Wolfram Sang
a0e68f7de9
epson2: enable focus for all scanner types
...
Even with USB based scanners, we need to send the esci command to set
the focus. There is no byte in the extended scanning parameters for it.
So, move the code to a place where it is called for all cases.
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-26 11:48:10 +02:00
Wolfram Sang
1653b0f80c
Merge branch 'zdohnal/esci_set_focus_retval' into focus_on_12000XL
2020-09-26 11:47:57 +02:00
Rolf Bensch
429cc0efc0
pixma: backend version 0.28.6
2020-09-25 16:40:07 +02:00
Rolf Bensch
9db8fc305e
pixma: add comment for last merge
2020-09-25 16:38:38 +02:00
Rolf Bensch
e80612275e
Merge branch 'patch-1' into 'master'
...
Added support for Canon Pixma MX340 buttons and ADF status
See merge request sane-project/backends!513
2020-09-25 14:35:40 +00:00
m. allan noah
e46adab4f2
canon_dr v59: fine calibration updates
...
- restructure fine calibration code
- initial support for uploading fine calibration payloads
- improve DR-C225 support
Most canon scanners require that the driver apply fine (per-cell)
calibration information. But a few require that the info be loaded
into the scanner. Here, we add initial support for that, though the
needed values are hardcoded instead of calculated.
2020-09-23 21:43:35 -04:00
m. allan noah
588f01526e
fujitsu v137b: brightness/contrast improvements
...
- change window_gamma init (fixes bright/contrast for iX1500)
- only call send_lut after set_window (remove late_lut)
2020-09-23 21:42:44 -04:00
m. allan noah
5b92a367c3
fujitsu v137a: fix JPEG duplex memory corruption
2020-09-23 21:39:14 -04:00
Zdenek Dohnal
94506b1787
epson2: check for return value of e2_esc_cmd
2020-09-22 11:34:56 +02:00
Wolfram Sang
b1b412d5f8
epson2: fix lower brightness limit for DS-G20000/12000XL
...
I get -EINVAL with -4 (ROM Version 1.02). -3 works.
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-18 20:37:40 +02:00
thierry1970
cd768b3692
Check options scan and fix xml.
2020-09-18 15:47:45 +02:00
Ordissimo
b155955b0e
Merge branch 'escl-add-scan-options' into 'master'
...
Added options: Brightness, Threshold, Sharpen and Contrast.
See merge request sane-project/backends!527
2020-09-17 20:29:28 +00:00
thierry1970
e281dfb0cd
Fix style.
2020-09-17 18:55:03 +02:00
thierry1970
fcbeeccbf0
Added options: Brightness, Threshold, Sharpen and Contrast.
2020-09-17 18:50:33 +02:00
Your Name
0f7ce3fe7a
Do not use fixed python executable name and use AM_PROG_PYTHON
...
On many systems now python executable it is python3.
On my system it the case and by this muild failed with:
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
Generating pixma/pixma_sane_options.h from pixma/pixma.c
/bin/sh: python: command not found
make[2]: *** [Makefile:7317: pixma/pixma_sane_options.h] Error 127
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
make[2]: *** Waiting for unfinished jobs....
Using AM_PROG_PYTHON() nmacro cllows avoide tha by hecks current version of the
python and allw to use custom python executable by execute configure by:
$ PYTHON=</some/python> ./configure <params>
AM_PROG_PYTHON aclocal macro propagates to automake files $(PYTHON) variable
which could be used on geberate instaleable scripts on duting build process like
it is now in backend/Makefile.am.
Currently minum version of required vesion of the python is python >= 3.
2020-09-13 20:17:43 +01:00
Olaf Meeuwissen
a380fb0894
pixma: Restore old behaviour in case XML support is missing
...
Fixes #345 .
2020-09-13 18:47:32 +09:00
pimvantend
17ab6caa38
canon_lide70 simplified going back
2020-09-07 15:15:21 +02:00
Olaf Meeuwissen
cea2a83ea2
Merge branch 'master-spelling' into 'master'
...
spelling fixes
See merge request sane-project/backends!516
2020-09-07 09:24:15 +00:00
Peter Marschall
33d1aecc7c
Apply 1 suggestion(s) to 1 file(s)
2020-09-06 07:34:40 +00:00
Peter Marschall
950aded610
Apply 1 suggestion(s) to 1 file(s)
2020-09-06 07:29:49 +00:00
Peter Marschall
6e16f45b76
Apply 1 suggestion(s) to 1 file(s)
2020-09-06 07:29:44 +00:00
Peter Marschall
d789545521
Apply 1 suggestion(s) to 1 file(s)
2020-09-06 07:17:00 +00:00
Olaf Meeuwissen
c946aa5a84
Merge branch 'dell1600n_net_return_eaccess_if_local_only' into 'master'
...
dell1600n_net: return ACCESS_DENIED when local devices are requested
See merge request sane-project/backends!506
2020-09-04 11:48:13 +00:00
Olaf Meeuwissen
8894364c5b
Merge branch 'master' into 'master'
...
backend/avision.c adf_reset(): In debug message "adf_reset: read ... failed...
See merge request sane-project/backends!515
2020-09-03 12:10:51 +00:00
Peter Marschall
2ad63d4e1e
spelling fixes for sane core
2020-08-29 09:18:04 +02:00
Peter Marschall
cd8c018585
spelling fixes for xerox_mfp backend
2020-08-29 09:18:04 +02:00
Peter Marschall
77406ed606
spelling fixes for sceptre backend
2020-08-29 09:18:04 +02:00
Peter Marschall
44755f6fc5
spelling fixes for dmc backend
2020-08-29 09:18:04 +02:00
Peter Marschall
5515db0272
spelling fixes for leo backend
2020-08-29 09:18:04 +02:00
Peter Marschall
5137304bb6
spelling fixes for ma1509 backend
2020-08-29 09:18:04 +02:00
Peter Marschall
f8d08816a8
spelling fixes for sp15c backend
2020-08-29 09:18:04 +02:00
Peter Marschall
25af0a7403
spelling fixes for tamarack backend
2020-08-29 09:18:04 +02:00
Peter Marschall
66443f37e6
spelling fixes for ibm backend
2020-08-29 09:18:04 +02:00
Peter Marschall
f6059bd3cb
spelling fixes for gphoto2 backend
2020-08-29 09:18:04 +02:00
Peter Marschall
a36cf4afda
spelling fixes for dell1600n backend
2020-08-29 09:18:04 +02:00
Peter Marschall
9d368fd7a8
spelling fixes for dc25 backend
2020-08-29 09:18:04 +02:00
Peter Marschall
37bee66d05
spelling fixes for s9036 backend
2020-08-29 09:18:04 +02:00
Peter Marschall
56cbbdad5d
spelling fixes for sharp backend
2020-08-29 09:18:04 +02:00
Peter Marschall
4984bedb6e
spelling fixes for ricoh backend
2020-08-29 09:18:04 +02:00
Peter Marschall
35fe083519
spelling fixes for qcam backend
2020-08-29 09:18:04 +02:00
Peter Marschall
95eda03dd1
spelling fixes for nec backend
2020-08-29 09:18:04 +02:00
Peter Marschall
340f7e7329
spelling fixes for niash backend
2020-08-29 09:18:04 +02:00
Peter Marschall
56be6cf59a
spelling fixes for lexmark backend
2020-08-29 09:18:04 +02:00
Peter Marschall
fc24607b31
spelling fixes for agfafocus backend
2020-08-29 09:18:04 +02:00
Peter Marschall
b834e47287
spelling fixes for kodak backend
2020-08-29 09:18:04 +02:00
Peter Marschall
af9f9d62cd
spelling fixes for kodakaio backend
2020-08-29 09:18:04 +02:00
Peter Marschall
269a7c0413
spelling fixes for avision backend
2020-08-29 09:18:04 +02:00
Peter Marschall
f611cab816
spelling fixes for v4l backend
2020-08-29 09:18:04 +02:00
Peter Marschall
9a6ef1ceb0
spelling fixes for hs2p backend
2020-08-29 09:18:04 +02:00
Peter Marschall
e0bc8e9ba7
spelling fixes for net backend
2020-08-29 09:18:04 +02:00
Peter Marschall
15d95a5b1b
spelling fixes for matsushita backend
2020-08-29 09:18:04 +02:00
Peter Marschall
452f21c1e2
spelling fixes for microtek2 backend
2020-08-29 09:18:04 +02:00
Peter Marschall
16acc1c233
spelling fixes for artec backend
2020-08-29 09:18:04 +02:00
Peter Marschall
917c8b2c5f
spelling fixes for artec_eplus48u backend
2020-08-29 09:18:04 +02:00
Peter Marschall
7e984d479a
spelling fixes for apple backend
2020-08-29 09:18:04 +02:00
Peter Marschall
ffb741852a
spelling fixes for hp backend
2020-08-29 09:18:04 +02:00
Peter Marschall
7dcb5dc096
spelling fixes for hp3500 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
f4fb21e334
spelling fixes for hp3900 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
32aa1ef826
spelling fixes for hp5400 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
b9ca020ef6
spelling fixes for hpljm1005 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
bbf7d068ed
spelling fixes for hpsj5s backend
2020-08-29 09:18:03 +02:00
Peter Marschall
33f413e790
spelling fixes for epson backend
2020-08-29 09:18:03 +02:00
Peter Marschall
b2ce3110c6
spelling fixes for epson2 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
3d1a5da4e1
spelling fixes for fujitsu backend
2020-08-29 09:18:03 +02:00
Peter Marschall
79a1aa2723
spelling fixes for stv680 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
d2f2d9965e
spelling fixes for st400 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
b7676f3ec1
spelling fixes for canon backend
2020-08-29 09:18:03 +02:00
Peter Marschall
fbe99c0914
spelling fixes for canon_dr backend
2020-08-29 09:18:03 +02:00
Peter Marschall
0e8b1d0e89
spelling fixes for canon_pp backend
2020-08-29 09:18:03 +02:00
Peter Marschall
ec07e73d04
spelling fixes for canon630u backend
2020-08-29 09:18:03 +02:00
Peter Marschall
e1ea09c834
spelling fixes for coolscan backend
2020-08-29 09:18:03 +02:00
Peter Marschall
e78667e32d
spelling fixes for coolscan2 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
27e5078c39
spelling fixes for coolscan3 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
dde1ad7a82
spelling fixes for kvs40xx backend
2020-08-29 09:18:03 +02:00
Peter Marschall
5d606d9b56
spelling fixes for kvs20xx backend
2020-08-29 09:18:03 +02:00
Peter Marschall
bf5ddfe389
spelling fixes for kvs1025 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
0ff0d7d25b
spelling fixes for epjitsu backend
2020-08-29 09:18:03 +02:00
Peter Marschall
f69854bb48
spelling fixes for rts8891 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
78dd1892ab
spelling fixes for sm3840 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
a94c17175f
spelling fixes for sm3600 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
3e33c9664a
spelling fixes for pixma backend
2020-08-29 09:18:03 +02:00
Peter Marschall
4f4278ab2d
spelling fixes for escl backend
2020-08-29 09:18:03 +02:00
Peter Marschall
13b56dd122
spelling fixes for pie backend
2020-08-29 09:18:03 +02:00
Peter Marschall
63c686b929
spelling fixes for pieusb backend
2020-08-29 09:18:03 +02:00
Peter Marschall
064d73ed5a
spelling fixes for umax backend
2020-08-29 09:18:03 +02:00
Peter Marschall
0d862ba575
spelling fixes for umax1220u backend
2020-08-29 09:18:03 +02:00
Peter Marschall
e8ba89fdcc
spelling fixes for umax_pp backend
2020-08-29 09:18:03 +02:00
Peter Marschall
b8cc6ce3a9
spelling fixes for cardscan backend
2020-08-29 09:18:03 +02:00
Peter Marschall
192262a277
spelling fixes for p5 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
0b2e89db18
spelling fixes for snapscan backend
2020-08-29 09:18:03 +02:00
Peter Marschall
cbbfcd1121
spelling fixes for gt68xx backend
2020-08-29 09:18:03 +02:00
Peter Marschall
f4385e21c3
spelling fixes for teco3 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
78bf42e04e
spelling fixes for teco2 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
fe71899cc8
spelling fixes for teco1 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
bd081d3bbe
spelling fixes for mustek_usb backend
2020-08-29 09:18:03 +02:00
Peter Marschall
6cb28ca627
spelling fixes for mustek_pp backend
2020-08-29 09:18:03 +02:00
Peter Marschall
a1239c5601
spelling fixes for mustek backend
2020-08-29 09:18:03 +02:00
Peter Marschall
493ed0a533
spelling fixes for mustek_usb2 backend
2020-08-29 09:18:03 +02:00
Peter Marschall
9afda64c42
spelling fixes for plustek backend
2020-08-29 09:18:03 +02:00
Peter Marschall
e3f20a932c
spelling fixes for plustek_pp backend
2020-08-29 09:18:03 +02:00
Peter Marschall
0cd9de9bef
spelling fixes for genesys backend
2020-08-29 09:18:03 +02:00
Peter Marschall
a307ba8ccf
spelling fixes for u12 backend
2020-08-29 09:18:02 +02:00
pimvantend
f7ad041682
canon_lide70 eliminating old cmd_buffer
2020-08-28 14:30:48 +02:00
pimvantend
0544e42002
lide 70 init problem solved
2020-08-27 15:16:05 +02:00
pimvantend
e97919d53b
canon_lide70 small changes
2020-08-26 15:25:24 +02:00
pimvantend
ead06704ea
removed trailing whitespace
2020-08-24 17:14:40 +02:00
pimvantend
5bfbb13b08
renaming startblobs, modernizing gamma procedures
2020-08-24 15:23:00 +02:00
Adam Richter
f089aeac8c
backend/avision.c adf_reset(): In debug message "adf_reset: read ... failed ...", fix arithmetic and compiler warning about printf integer format type mismatch.
2020-08-24 03:56:36 -07:00
Olaf Meeuwissen
bfab54e391
Merge branch 'release/1.0.31' into 'master'
...
Release/1.0.31
See merge request sane-project/backends!514
2020-08-24 09:19:44 +00:00
pimvantend
ed43548de7
first support for the lide600. 1200dpi dropped.
2020-08-22 11:15:44 +02:00
pimvantend
d00af49e36
preparing for the lide600
2020-08-20 16:49:17 +02:00
pobrn
0f9b481fee
dell1600n_net: return empty list when local devices are requested
...
!502 made the dell1600n_net backend return GOOD status when local
devices are requested. This is problematic since in that case
the caller may assume that the passed device list has been populated.
However, this is not the case for this backend, since the device list
is not modified in any way in that case. The caller trying to access
the device list may lead to undesired consequences. Fix that by
returning an empty list if 'local_only' is true.
2020-08-20 15:39:32 +02:00
Asela Fernando
4a76bbd162
Added support for Canon Pixma MX340 buttons buf[7] and ADF status buf[8]
2020-08-20 00:32:49 +00:00
Olaf Meeuwissen
245564dffe
Merge branch 'respect_local_only' into 'master'
...
Respect 'local_only' parameter of sane_get_devices()
Closes #140 and #130
See merge request sane-project/backends!502
2020-08-16 09:55:14 +00:00
Rolf Bensch
65db792a14
pixma: backend version 0.28.5
2020-08-15 14:33:48 +02:00
Rolf Bensch
311bf867f9
pixma: MP495 is working
...
Pixma backend supports only symmetric scan resolutions, here 600dpi.
See issue sane-project/backends#32
2020-08-15 14:32:58 +02:00
Rolf Bensch
80643db457
pixma: MP495 is working
...
Pixma backend supports only symmetric scan resolutions, here 600dpi.
See issue sane-project/backends#32
2020-08-15 14:29:18 +02:00
Rolf Bensch
7ac9296a19
pixma: backend version 0.28.5
2020-08-15 14:08:20 +02:00
Rolf Bensch
3113d546c8
Revert "pixma: MP490 Series doesn't need special image formatting @ high dpi"
...
This reverts commit 1675697366
.
See issue sane-project/backends#338
2020-08-15 14:06:20 +02:00
Rolf Bensch
d1fea9269d
Revert "pixma: MP490 Series doesn't need special image formatting @ high dpi"
...
This reverts commit 1675697366
.
See issue sane-project/backends#338
2020-08-14 20:28:26 +02:00
Rolf Bensch
34c25369e5
pixma: backend version 0.28.4
2020-08-14 19:58:15 +02:00
Rolf Bensch
584099c9c1
pixma: enable PIXMA_CAP_JPEG for Canon i-SENSYS MF260 Series
2020-08-14 19:52:05 +02:00
Rolf Bensch
a384de5aea
pixma: new capability PIXMA_CAP_JPEG
2020-08-14 19:45:23 +02:00
pobrn
45f84a569c
respect 'local_only' parameter of sane_get_devices()
...
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.
Changes:
1. Modify 'sanei_configure_attach()' so that backend specific
data may be passed to the 'attach()' function.
2. Use this in certain backends to pass the value of the
'local_only' parameter so that network related activities
are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Michael Niewöhner
743290300a
backend/avision: fix lock-up of scanners not supporting fastfeed
...
de19ebc
introduced a regression, where some scanners would lock-up
completely and require a full power cycle.
To fix that, do not call release_unit for any scanners not supporting
fastfeed for now, since that leads to lock-ups on at least one device.
Currently, it isn't clear what exactly is causing the problems, so it
maybe be enabled in a correct way again, later.
Resolves issue !337 .
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-08-10 19:46:52 +02:00
Olaf Meeuwissen
7056b4826b
Merge branch 'mingw-fixes' into 'master'
...
MinGW build fixes
See merge request sane-project/backends!483
2020-08-01 06:14:15 +00:00
Olaf Meeuwissen
8e21bd5806
epsonds: Read whole payload of welcome message
2020-08-01 12:28:00 +09:00
Olaf Meeuwissen
6c07abf763
epsonds: Rewrite network I/O
...
This follows the changes made to the epson2 backend and addresses
GHSL-2020-079, GHSL-2020-080 and GHSL-2020-081. Re #279 .
2020-08-01 12:28:00 +09:00
m. allan noah
e44672cdf8
Merge branch 'canon_dr/fix_get_pixelsize' into 'master'
...
canon_dr: Report early error
See merge request sane-project/backends!333
2020-08-01 01:10:17 +00:00
Ralph Little
5dd9eeb083
gt68xx: Restore cancel "stop_scan" call and fix whitespace issue
...
The original issue that I had with this patch was in the cancel function
where the patch author had commented out the "stop scan" call for cancel.
This made no sense to me. I have put it back in for testing.
It might have been accidentally left out.
2020-07-26 11:19:31 -07:00
Ralph Little
462419cc68
gt68xx: Initial check-in of proposed patch for crash.
...
Ulf and I will review and test this patch on this branch.
It does seem to fix the issue, but I want to check it out a little more
before we commit it to master.
2020-07-26 11:02:40 -07:00
Ralph Little
37bc4598a2
hp5400: initialize options bit mask to avoid compiler warning and glitchy operation
...
This was picked up as a compiler warning in Ubuntu build and was a
real functional issue.
2020-07-26 10:00:48 -07:00
Michael Niewöhner
e8ae2ca16f
backend/avision: fix: use fabs instead of abs for double values
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:20:03 +02:00
Michael Niewöhner
fa6dfcc44e
backend/avision: i1120: finally set correct offsets for duplex
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:19:56 +02:00
Michael Niewöhner
7d7184a209
backend/avision: add missing offsets for bry
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:19:12 +02:00
Michael Niewöhner
6a6927b198
backend/avision: implement ADF first-sheet offset compensation
...
i1120 has another offset. When scanning in ADF multi-page mode (the
default), the very first sheet is moved 1.5mm down. That leads to 1.5mm
being cut off at the bottom.
This implements the (hopefully last) offset setting for multi-sheet ADF
scans.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:07 +02:00
Michael Niewöhner
e96ce8887e
backend/avision: add ADF front-only offset compensation
...
This adds offset compensation for ADF front-only scans, which may
have different offsets than ADF duplex scans.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:07 +02:00
Michael Niewöhner
58a3cdd042
backend/avision: Rewrite offset compensation
...
This is a complete rewrite of the offset compensation using a
combination of overscan and line skipping. It replaces the option
AV_REAR_OFFSET by specifying exact offset values for each scanner.
This was needed for Kodak i1120 which needs bottom line skipping.
The old implementation could not skip bottom lines since we could
not know how many lines we will get in the end from ADF.
The new implementation redirects the output file descriptor to a
temporary file. After the current page is completely scanned,
offsets are applied and the output is passed to the original
output file descriptor.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:07 +02:00
Michael Niewoehner
b4716f6264
backend/avision: i1120: Add option AV_MULTI_SHEET_SCAN
...
Kodak i1120 has single-sheet and multi-sheet scan modes. This option sets
bitset3[7] which enables multi-sheet scan by default so there is no pause
of 1s between two sheets in ADF scan mode. This also fixes some offsets
when scanning multiple sheets.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
e54c9602e9
backend/avision: i1120: add option AV_GAMMA_UINT16
...
Kodak i1120 has a different gamma table format that looks like a
uint16/double array. Implement it and add an option for it.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
d8bf392424
backend/avision: i1120: add option AV_GAMMA_10
...
Kodak i1120 needs gamma to be set to 1.0 to give decent scan results.
Add an option for this.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
886bf85d88
backend/avision: i1120: add option AV_NO_QCALIB_MODE
...
i1120 does not have an explicit "quality-calibration" mode. Add an
option to disable this mode.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
de19ebc61a
backend/avision: i1120: add option AV_FASTFEED_ON_CANCEL
...
Some scanners like i1120 support fast feed-out of the sheet when
cancelling a running scan. Add a new option for this release type.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
8b467b248e
backend/avision: i1120: set AV_NO_REAR
...
Kodak broke rear-only scan (bitset3[3]) when they modified the Avision
firmware. It would be possible to add a work-around that drops front data and
writes rear data only. Because of deinterlacing, offsets etc. this is way too
complicated. The simpliest solution to scan rear-only is to turn around the
paper stack and use front scan instead.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
692f87389b
backend/avision: i1120: add option AV_OVERSCAN_OPTDPI
...
i1120 uses optical DPI for overscan calculation. Add an option for it.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
74e94e6901
backend/avision: i1120: add option AV_NO_QSCAN_MODE
...
i1120 does not have an explicit quality-scan mode. Add an option to disable it.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
aff30cbb21
backend/avision: ability[3] seems to be a typo since ability[2] is dark cal indicator
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
de1a873cb7
backend/avision: i1120: use AV_SOFT_SCALE
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
c1c8ee8ea6
backend/avision: i1120: Enable gray filter to match windows driver
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
f393f8f246
backend/avision: i1120: add option AV_FORCE_CALIB
...
Add option AV_FORCE_CALIB to force calibration when scanner claims it is
not needed but it is.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Michael Niewoehner
196ce0b046
backend/avision: Add basic support for KODAK i1120
...
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
2020-07-26 12:16:06 +02:00
Olaf Meeuwissen
890eb452b9
Merge branch 'Add-gamma-tables-to-test-backend' into 'master'
...
Add gamma test options
See merge request sane-project/backends!301
2020-07-26 09:39:23 +00:00
Kåre Särs
5683aab66b
Add gamma test options
2020-07-26 09:39:23 +00:00
m. allan noah
e7fc728e28
fujitsu: add USB IDs for fi-7800 and fi-7900
2020-07-18 21:12:52 -04:00
Rolf Bensch
8bdd27d149
pixma: remove auto generated files @ 'make clean'
...
See merge request sane-project/backends!491
2020-07-14 19:36:17 +02:00
Rolf Bensch
e390b351a0
pixma: backend version 0.28.3
2020-07-14 18:10:45 +02:00
Rolf Bensch
1da5ae889a
pixma: add new button options
...
some scanners return more options from push-button:
document-type, adf-status and adf-orientation
2020-07-14 17:39:18 +02:00
Rolf Bensch
ec918e5c74
pixma: TR4500 Series supports max. 600dpi
2020-07-14 17:28:06 +02:00
Rolf Bensch
0febc81665
pixma: add button support for TR4500 Series
...
this scanner provides additional button information
2020-07-14 17:27:48 +02:00
Rolf Bensch
1943d34d60
pixma: TR4500 Series returns JPEG images from ADF scans
2020-07-14 17:27:23 +02:00
Rolf Bensch
7481254f1b
pixma: auto generate options files with python[23]
...
see issue sane-project/backends#327
2020-07-14 17:13:06 +02:00
Rolf Bensch
819cc8cd61
pixma: add comment how to generate new pixma_sane_options.[ch]
2020-07-11 20:04:46 +02:00
Rolf Bensch
684efcef23
pixma: add "do not edit" comment on top of generated files
2020-07-11 19:51:26 +02:00
Olaf Meeuwissen
4a2cabe3be
pixma: Fix sane options file generation
...
This now generates files in the source tree and includes them in the
source tarball together with the script used. Explicit dependencies
are added to trigger generation. Rules have been rewritten to use
implicit variables for brevity.
2020-07-11 16:58:24 +09:00
Rolf Bensch
b957674f65
pixma: auto generate sane options files
...
This prevents from fixing stuff in generated files.
Generated from pixma.c, bottom comment area.
2020-07-07 22:29:34 +02:00
Rolf Bensch
537fbc9bf6
pixma: backend version 0.28.2
2020-07-06 23:39:51 +02:00
Rolf Bensch
0b22eecf86
Merge branch '318-canoscan-lide-400-potentially-supports-48-bit-depth' into 'master'
...
Resolve "CanoScan LiDE 400 potentially supports 48-bit depth"
Closes #318
See merge request sane-project/backends!486
2020-07-06 21:38:06 +00:00
Rolf Bensch
8f93b4cc62
pixma_mp800: remove TODO for 16-bit scans
...
mp800 scanners need min. 150dpi for 16-bit scans
2020-07-06 23:17:02 +02:00
Rolf Bensch
3a18629f11
pixma: in dpi list set min. scan resolution for 16-bit scans
2020-07-06 23:17:02 +02:00
Rolf Bensch
0f1850fe4f
pixma: new parameter to set min. xdpi for 16-bit scans
...
16-bit scans have different min. scan resolutions: 75 and 150dpi
2020-07-06 23:17:02 +02:00
Rolf Bensch
b0efdd89cb
pixma_mp150: scan 48bit color and convert
2020-07-06 23:17:02 +02:00
Rolf Bensch
c4f0d4505e
pixma_mp150: enable 48bit support for LiDE 400
2020-07-06 23:17:02 +02:00
Povilas Kanapickas
b0c42c0f5f
genesys: Implement support for LiDE 90
2020-06-27 00:48:06 +03:00
Povilas Kanapickas
ea15fb29b7
genesys: Simplify motor table upload on gl842
2020-06-27 00:47:19 +03:00
Povilas Kanapickas
d948f5eb69
genesys: Fix cis scanner support on gl842
2020-06-27 00:47:18 +03:00
Povilas Kanapickas
02782651a3
genesys: Add model option to disable fast feeding
2020-06-27 00:47:17 +03:00
Povilas Kanapickas
86c15ff4a0
genesys: Add option to fill dark calibration with constant
2020-06-27 00:47:16 +03:00
Povilas Kanapickas
6fdc5e6e1f
genesys: Throw an exception when motor speed is too low
2020-06-27 00:47:15 +03:00
Povilas Kanapickas
f6f891bd93
genesys: Call update_home_sensor_gpio() for all chip types
2020-06-27 00:47:14 +03:00
Michael Cronenworth
9793d4f64e
MinGW build fixes
...
- Fix define check on S_IFSOCK, looked like a typo
- Need a define check around syslog usage
- libdll_preload already has sanei_usb symbols and linking fails with
duplicate symbol errors if this is left in
2020-06-19 09:34:27 -05:00
Rolf Bensch
e859ea108a
pixma: backend version 0.28.1
2020-06-06 13:16:54 +02:00
Rolf Bensch
e58ccba918
pixma: TR8500 Series returns JPEG images from ADF scans
...
See issue sane-project/backends#270
2020-06-06 13:16:16 +02:00
Rolf Bensch
dc25c9f48d
pixma: backend version 0.28.0
2020-06-05 23:20:41 +02:00
Rolf Bensch
d2ae0ee697
pixma: update coryright
2020-06-05 23:19:21 +02:00
Rolf Bensch
edace214b2
Merge branch 'pixma/gamma_table' into 'master'
...
Pixma: fix internal generated gamma table
See merge request sane-project/backends!295
2020-06-05 20:58:07 +00:00
Rolf Bensch
4b9dddb763
remove debug outputs from send gamma table
2020-06-05 22:41:32 +02:00
Rolf Bensch
0118111c6f
use capability to select gamma table size
2020-06-05 22:07:19 +02:00
thierry1970
f52f4917e5
Error syntax
2020-06-05 11:45:21 +02:00
thierry1970
641c736c37
Replacement of printf by DBG.
2020-06-05 10:20:21 +02:00
Rolf Bensch
16ddd3b972
get 1024 and 4096 size gamma tables from frontend
...
Default gamma table has 1024 entries of 16 bits values. Only generation 1
scanners need a gamma table with 4096 entries of 8 bits values.
2020-05-30 23:41:06 +02:00
Rolf Bensch
1486b81dd9
pixma: fix description of adf-wait
2020-05-30 16:22:00 +02:00
Rolf Bensch
16ff7c0bba
generate gamma table from control option
...
we need to generate gamma table only once, after getting gamma from the frontend
2020-05-30 16:18:20 +02:00
Rolf Bensch
057aa02b34
new capability for scanner generation 1 4096 bytes gamma table
2020-05-30 16:04:25 +02:00
Rolf Bensch
11126468ef
calculate 16-bit gamma table
...
Generation 1 scanners need a 8-bit gamma table, with 4096 bytes size.
All other scanners need a 16-bit gamma table, with 1024 bytes size. For
these scanners values of the generated gamma table are close by the values
used from the manufacturers proprietary driver.
2020-05-30 16:02:01 +02:00
Rolf Bensch
103c77ddee
new global variable for gamma
...
get gamma value from 'opt_gamma'
2020-05-30 15:27:42 +02:00
Rolf Bensch
24c016f408
pixma_gen_options.py: fix print whitespace
2020-05-30 15:12:46 +02:00
Povilas Kanapickas
96f60115df
genesys: Bump calibration version
2020-05-26 01:51:23 +03:00
Povilas Kanapickas
23079e0061
genesys: Increase timeout in wait_until_has_valid_words()
2020-05-26 01:51:20 +03:00
Povilas Kanapickas
3cca2593fc
genesys: Add support for Canon 5600F
2020-05-26 01:51:19 +03:00
Povilas Kanapickas
b9e4113ef0
genesys: Add functions to write to register according to mask
2020-05-26 01:51:18 +03:00
Povilas Kanapickas
7c74cb7ce9
genesys: Remove no longer used code
2020-05-26 01:32:45 +03:00
Povilas Kanapickas
8ec6bc2e5d
genesys: Deduplicate move_to_ta()
2020-05-26 01:32:44 +03:00
Povilas Kanapickas
c4135d63a7
genesys: Simplify move_to_ta() on gl843
2020-05-26 01:32:43 +03:00
Povilas Kanapickas
bc973a21c2
genesys: Simplify move_to_ta() on gl842
2020-05-26 01:32:42 +03:00
Povilas Kanapickas
b8a24ee409
genesys: Remove useless debug statements
2020-05-26 01:32:41 +03:00
Povilas Kanapickas
57a398888d
genesys: Deduplicate init_regs_for_scan()
2020-05-26 01:32:40 +03:00
Povilas Kanapickas
66ba92cfb6
genesys: Don't throw exception in non-exceptional circumstances
2020-05-26 01:32:39 +03:00
Povilas Kanapickas
7c378476e8
Merge branch 'genesys-gl847-transparency' into 'master'
...
genesys: Implement transparency support on gl847
See merge request sane-project/backends!475
2020-05-25 22:30:48 +00:00
Povilas Kanapickas
64b69331d3
Merge branch 'genesys-misc-fixes' into 'master'
...
genesys: Miscellaneous fixes
See merge request sane-project/backends!474
2020-05-25 22:29:03 +00:00
Povilas Kanapickas
786442d9c7
Merge branch 'genesys-pixel-offsets' into 'master'
...
genesys: Pixel offset calculation adjustments
See merge request sane-project/backends!473
2020-05-25 22:26:23 +00:00
Povilas Kanapickas
6bf26b3882
Merge branch 'genesys-host-side-calibration' into 'master'
...
genesys: Reimplement simplier host-side calibration
See merge request sane-project/backends!472
2020-05-25 22:25:47 +00:00
Povilas Kanapickas
f3b04b374a
genesys: Implement transparency support on gl847
2020-05-26 01:14:43 +03:00
Povilas Kanapickas
8a66829057
genesys: Simplify access to nodes that are newly added to image pipeline
2020-05-26 01:13:20 +03:00
Povilas Kanapickas
c9182dc606
genesys: Ensure ImagePipelineStack nodes are destroyed in reverse order
2020-05-26 01:13:19 +03:00
Povilas Kanapickas
3282c5a654
genesys: Fix TIFF file writing
2020-05-26 01:13:18 +03:00
Povilas Kanapickas
ba91fc844d
genesys: Fix start pixel calculation when optical resolution is not max
2020-05-26 01:10:52 +03:00
Povilas Kanapickas
56db2b988a
genesys: Adjust host side calibration by shading pixel offset
2020-05-26 01:10:51 +03:00
Povilas Kanapickas
8a10e33a13
genesys: Move all pixel adjustment calculations to a single function
2020-05-26 01:10:50 +03:00
Povilas Kanapickas
b569e6cbb9
genesys: Reimplement simplier host-side calibration
2020-05-26 01:09:23 +03:00
Olaf Meeuwissen
08613aad26
gt68xx: Remove @PACKAGEVERSION@ from configuration filey
2020-05-25 20:48:35 +09:00
Povilas Kanapickas
92bf0c6623
genesys: Remove broken interpolation support
2020-05-24 20:44:26 +03:00
Povilas Kanapickas
6a495f9725
genesys: Remove duplicate align_int_up()
2020-05-24 20:44:25 +03:00
Povilas Kanapickas
e7e5322003
genesys: Remove dead code
2020-05-24 20:44:24 +03:00
Povilas Kanapickas
33fc7cfb29
genesys: Retrieve output parameters out of the actual pipeline
2020-05-24 18:36:48 +03:00
Povilas Kanapickas
a12083c8c4
genesys: Remove support for generating lineart within the backend
2020-05-24 18:20:17 +03:00
Povilas Kanapickas
a23d61c26b
genesys: Allow pipeline to be created without mutating device
2020-05-24 18:02:03 +03:00
Povilas Kanapickas
28e6ad89b8
genesys: Simplify read buffer size calculation
2020-05-24 16:35:59 +03:00
Povilas Kanapickas
ec5af18239
genesys: Remove no longer used ImageBufferGenesysUsb
2020-05-24 16:35:59 +03:00
Povilas Kanapickas
d172b9cc4d
genesys: Remove read buffer after image processing
2020-05-24 16:35:59 +03:00
Povilas Kanapickas
f5af633263
genesys: Simplify data buffering in main image pipeline
2020-05-23 10:39:09 +03:00
Povilas Kanapickas
9873fdf922
genesys: Don't read too much data when segment count is more than one
2020-05-23 10:39:08 +03:00
Povilas Kanapickas
55691ece2c
genesys: Merge ImagePipelineNodeBuffered{CallableSource and GenesysUsb}
2020-05-23 10:39:07 +03:00
Povilas Kanapickas
8981e583e2
genesys: Move math utilities to utilities.h
2020-05-23 10:39:06 +03:00
Povilas Kanapickas
fe323f19cb
genesys: Add a way to push constructed nodes to pipeline
2020-05-23 10:39:05 +03:00
Povilas Kanapickas
afa798d71a
genesys: Simplify ImagePipelineNodeArraySource
2020-05-23 10:39:04 +03:00
Povilas Kanapickas
d680724f9e
Merge branch 'genesys-debug-tiff' into 'master'
...
genesys: Use TIFF files for debugging
See merge request sane-project/backends!464
2020-05-23 11:18:34 +00:00
Povilas Kanapickas
d770012132
genesys: Use TIFF files for debugging
2020-05-23 14:03:01 +03:00
Povilas Kanapickas
aa937c5b4c
genesys: Simplify pixel positioning for unstaggering
2020-05-23 14:02:32 +03:00
Povilas Kanapickas
5a455e741b
genesys: Fix align_multiple_{floor,ceil} for zero multiple
2020-05-23 14:02:31 +03:00
Povilas Kanapickas
bb05afdbfd
genesys: Fix erroneous multiplication by channels on gl646 cis
2020-05-23 14:02:30 +03:00
Povilas Kanapickas
5f0abce90f
genesys: Add support for unstaggering in X direction
2020-05-22 01:23:50 +03:00
Povilas Kanapickas
95d7196fca
genesys: Implement image pipeline node to shift columns
2020-05-22 01:23:49 +03:00
Povilas Kanapickas
1bae94fd1e
genesys: Support more than 2 columns in ImagePipelineNodePixelShiftLines
2020-05-22 01:23:48 +03:00