Wykres commitów

11744 Commity (264-canon-pixma-mx492-adf-issues)

Autor SHA1 Wiadomość Data
Ralph Little 62b245fda1 pixma: fixes for imageClass machine.
Introduced a couple of CAP defines PIXMA_CAP_SCAN_FULL_WIDTH_ADF and
PIXMA_CAP_SCAN_FULL_WIDTH_FLATBED to specify machines that have a buggy
width selection implementation. The imageClass MF4770n has problems
on the ADF with certain width selections. We will scan the entire width
of the media and crop out what we don't want.
2020-11-14 14:03:07 -08:00
Ralph Little 4e0a9ec8b9 Merge master for pixma updates 2020-10-06 19:49:30 -07:00
Ralph Little b7613ba8de pixma: merge to bring in newer changes to the in-progress refactor.
Currently in mid-test, but I need to some pixma enhancements/fixes from
master to complete the testing work.
2020-10-04 14:24:59 -07:00
Olaf Meeuwissen 81227d1d40 Merge branch 'avision_add_av186plus_av188_support' into 'master'
add ID information for Avision AV186+ and AV188 sheetfed USB scanners

See merge request sane-project/backends!532
2020-09-29 09:38:15 +00: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
Olaf Meeuwissen efd4767d13 Merge branch 'epson2/rework_focus' into 'master'
Epson2/rework focus

See merge request sane-project/backends!531
2020-09-28 09:16:31 +00:00
Olaf Meeuwissen 9e9dc5104e Merge branch 'esci_set_focus_retval' into 'master'
epson2: check for return value of e2_esc_cmd

See merge request sane-project/backends!526
2020-09-27 08:01:36 +00:00
Ralph Little aa35a8e8cb pixma: convert line_size, image_size to frontend and backend equivalents
These are computed values for the coming scan and they are prefixed with
be_ and fe_ for frontend and backend respectively.
"frontend" here means what the user requests, and "backend" means what
we are asking of the scanner. This is mostly the same, but when doing
lineart, the backend is actually doing grey, since lineart is not
directly supported.
Many of the bugs here are related to the incorrect use of the fe_ values
when communicating with the scanner during the scan and it completely
messes up our processing of the raw scan data. The separation makes it
clearer what the parameters refer to.

This concludes the support for the MX492 which is now fully functional.
2020-09-26 17:05:54 -07:00
Ralph Little 7ad636f269 pixma: binarize function must cope with widths that are not multiple of 8.
Previously lineart scans were forced to be multiples of 8 so the bug was not triggered.
2020-09-26 15:12:05 -07: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
Rolf Bensch 72fd68cb56 introduce Povilas Kanapickas as pixma maintainer 2020-09-25 16:20:58 +02: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
Ordissimo 6d7fbc8320 Merge branch 'escl-check-scan-options' into 'master'
Check options scan and fix xml.

See merge request sane-project/backends!528
2020-09-18 14:03:22 +00: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
Olaf Meeuwissen ddcfa6a12f Merge branch 'master' into 'master'
Do not use fixed python executable name and use AM_PROG_PYTHON

See merge request sane-project/backends!525
2020-09-17 11:41:31 +00:00
Your Name 924dcf0731 Lower minimum python version required to 2.7 2020-09-14 15:44:36 +01: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 b89b9b1350 Merge branch '345-fix-pixma-libxml-build-dependency' into 'master'
pixma: Restore old behaviour in case XML support is missing

Closes #345

See merge request sane-project/backends!524
2020-09-13 10:38:24 +00:00
Olaf Meeuwissen a380fb0894
pixma: Restore old behaviour in case XML support is missing
Fixes #345.
2020-09-13 18:47:32 +09:00
Olaf Meeuwissen 2c5f3e1814 Merge branch '344-generate-sane-backends-pot-inputs' into 'master'
po: Make sure all sane-backends.pot input are available

Closes #344

See merge request sane-project/backends!523
2020-09-13 09:12:58 +00:00
Olaf Meeuwissen 4846d36ad1
po: Make sure all sane-backends.pot input are available 2020-09-13 17:56:40 +09:00
Olaf Meeuwissen 3ac8ca4e87 Merge branch 'epson_perfection_1640' into 'master'
Add SCSI ids for Epson Perfection 1640SU

See merge request sane-project/backends!509
2020-09-13 08:44:21 +00:00
Olaf Meeuwissen e69284695a Merge branch '350-remove-automake-maintainer-mode' into 'master'
Resolve "1.0.31: build fails"

Closes #350

See merge request sane-project/backends!522
2020-09-13 08:38:26 +00:00
Olaf Meeuwissen 0077988e83
po/README: Make the documentation use consistent notation 2020-09-13 16:34:05 +09:00
Olaf Meeuwissen e22b393e38
po/README: Update documentation that refers to maintainer mode 2020-09-13 16:34:05 +09:00
Olaf Meeuwissen 262e32ce59
configure.ac: Remove maintainer mode
Now that we no longer include generated files in our git repository
builds should always have maintainer mode enabled so checkouts pick
up on changes in Makefile.am, configure.ac, etc. between builds.

See #350.
2020-09-13 16:34:05 +09:00
Olaf Meeuwissen 30b7e31eac
configure.ac: Remove stale release versioning comment 2020-09-13 16:34:05 +09:00
Olaf Meeuwissen 2539a13dfb
Fix spelling differences in testsuite reference data
Fix up of ffff088641.
2020-09-13 16:31:41 +09:00
Olaf Meeuwissen 404e1500c2 Merge branch 'usb_udev_attrs' into 'master'
Speedup ATTR match for USB devices

Closes #341

See merge request sane-project/backends!510
2020-09-13 06:07:39 +00:00
Olaf Meeuwissen b5cf71318b
sane-desc: Update test reference files
This follows ad66f79c43.
2020-09-13 14:50:15 +09:00
Olaf Meeuwissen 124c16fe6f
sane-desc: Fail build if testsuite fails 2020-09-13 14:34:21 +09:00
Ordissimo 5d3ce78068 Merge branch 'escl-add-models' into 'master'
Added HP "DeskJet 2710" and "DesJet 2723" models as supported.

See merge request sane-project/backends!519
2020-09-11 08:17:35 +00:00
thierry1970 2a238f83e0 Added HP "DeskJet 2710" and "DesJet 2723" models as supported. 2020-09-11 09:58:09 +02:00
Ralph Little fcbb972d57 pixma: A few changes for MX492.
Will shortly refacture image_size, line_size and other scan parameters
to be able to differentiate between our interactions with the scanner
and the user, because these value might be different such as in the
case of software_lineart where the user is getting lineart, but the
scanner is giving us grey. The difference in the values of these
critical parameters is what is causing most of the issues.
2020-09-07 16:33:21 -07: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
Ordissimo f59ba7003d Merge branch 'escl-add-models' into 'master'
Addition of two models

See merge request sane-project/backends!517
2020-09-07 08:40:34 +00:00