Wykres commitów

5745 Commity (1bd4fc283a08117bceb51e6613831fa6d4412dfd)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 16fa00c13b genesys: Extract scanner_send_slope_table() 2020-05-18 03:53:10 +03:00
Povilas Kanapickas 11c3a67e47 genesys: Remove redundand argument out of *_send_slope_table() 2020-05-18 03:53:09 +03:00
Povilas Kanapickas 253bd0ffe4 genesys: Regenerate motor table total duration when it is updated 2020-05-18 03:53:08 +03:00
Povilas Kanapickas 9c4f84f91a genesys: Don't generate excessive amount of steps for the motor tables 2020-05-18 03:53:07 +03:00
Povilas Kanapickas 8e76d4ede9 genesys: Upload only required part of motor slope table on gl841 2020-05-18 03:53:06 +03:00
Povilas Kanapickas 412beaeb19 genesys: Simplify motor setup on gl646 2020-05-18 03:53:05 +03:00
Olaf Meeuwissen 1fe94e6674 Merge branch '279-confidential-issue' into release/1.0.30 2020-05-17 16:26:00 +09:00
Povilas Kanapickas 800cf3beaf genesys: Use ModelFlag::DISABLE_*_CALIBRATION instead of NO_CALIBRATION 2020-05-17 01:02:28 +03:00
Povilas Kanapickas 04b91dc4c9 genesys: Implement a way to selectively disable calibration steps 2020-05-17 01:02:27 +03:00
Povilas Kanapickas 71eeeb0ca6 genesys: Remove dead code 2020-05-17 01:02:26 +03:00
Povilas Kanapickas d6570c86ff genesys: Remove debug messages that are no longer useful 2020-05-16 23:43:47 +03:00
Povilas Kanapickas 6e398bc7bf genesys: Write debug images only if step was enabled 2020-05-16 23:05:21 +03:00
Povilas Kanapickas 6092e2d682 genesys: Enable image data logging as a separate environment variable 2020-05-16 23:05:20 +03:00
Povilas Kanapickas 5d441bdd3e Merge branch 'genesys-print-error-when-config-file-unavailable' into 'master'
genesys: Print debug message if configuration file can't be accessed

Closes #101

See merge request sane-project/backends!451
2020-05-16 19:51:50 +00:00
Povilas Kanapickas 10b126a65e Merge branch 'genesys-lide60-abrt' into 'master'
Fix abort in genesys backend during sending slope table

See merge request sane-project/backends!346
2020-05-16 19:39:23 +00:00
Povilas Kanapickas 909a78a0c7 Merge branch 'genesys-simplify-gpio-gl847' into 'master'
genesys: Simplify GPIO setup on gl847

See merge request sane-project/backends!450
2020-05-16 19:36:33 +00:00
Povilas Kanapickas 9f46845f95 genesys: Print debug message if configuration file can't be accessed 2020-05-16 22:36:28 +03:00
Povilas Kanapickas d3b9178d6b genesys: Simplify GPIO setup on gl847 2020-05-16 22:21:13 +03:00
Povilas Kanapickas 69a249e000 genesys: Simplify ADC setup on gl847 2020-05-16 22:04:52 +03:00
Povilas Kanapickas 0d2a4b5244 genesys: Fix incorrect ADC definition on gl847 2020-05-16 22:04:51 +03:00
Povilas Kanapickas c9beb6b0ba Merge branch 'genesys-simplify-motor-profile-setup-gl841' into 'master'
genesys: Simplify motor profile setup on gl841

See merge request sane-project/backends!448
2020-05-16 18:52:33 +00:00
Povilas Kanapickas fbb60d4d52 Merge branch 'genesys-simplify-gl646' into 'master'
genesys: Simplify miscellaneous gl646 code

See merge request sane-project/backends!447
2020-05-16 18:46:21 +00:00
Povilas Kanapickas a3284ab5e0 Merge branch 'genesys-simplify-motor-setup' into 'master'
genesys: Simplify motor setup

See merge request sane-project/backends!446
2020-05-16 18:42:21 +00:00
Povilas Kanapickas 16a9bddf59 genesys: Remove dead code on gl646 2020-05-16 21:30:21 +03:00
Povilas Kanapickas edb375fbcc genesys: Remove duplicated coarse calibration on gl646 2020-05-16 21:30:21 +03:00
Povilas Kanapickas 256a90e29d genesys: Simplify coarse_gain_calibration() on gl646 2020-05-16 21:30:21 +03:00
Povilas Kanapickas a4145e2eda genesys: Only set requested_pixels when it's not default on gl646 2020-05-16 21:30:21 +03:00
Povilas Kanapickas 35ffd57586 Merge branch 'genesys-use-flags-to-setup-scan-gl646' into 'master'
genesys: Use flags to setup scans on gl646

See merge request sane-project/backends!445
2020-05-16 18:29:17 +00:00
Povilas Kanapickas aee51c9dec genesys: Fix crash in led_calibration() when image is completely black 2020-05-16 20:57:19 +03:00
Povilas Kanapickas ccf1cbd3ab Merge branch 'genesys-simplify-gl646' into master 2020-05-16 20:56:19 +03:00
Povilas Kanapickas e4d0b7b357 Merge branch 'genesys-pipeline-invert' into 'master'
genesys: Add pipeline to invert pixel values

See merge request sane-project/backends!442
2020-05-16 15:15:49 +00:00
Olaf Meeuwissen 898ab18348 Really remove libxml2 linker/loader flags from dependencies. Re #239 2020-05-14 20:41:52 +09:00
Olaf Meeuwissen 76bf742aba Remove libxml2 linker/loader flags from dependencies. Re #239 2020-05-14 20:41:04 +09:00
Olaf Meeuwissen 30b1831a28 epsonds: Mitigate potential network related security issues. Re #279
This pre-empts the possibility of triggering GHSL-2020-079, GHSL-2020-080
and GHSL-2020-081.
2020-05-11 21:07:12 +09:00
Povilas Kanapickas 09eaba9606 genesys: Add model flag for inverted output 2020-05-09 13:29:53 +03:00
Povilas Kanapickas ab1d86d74a genesys: Rename {INVERTED->SWAP}_16_BIT_DATA model flag 2020-05-09 13:29:52 +03:00
Povilas Kanapickas 52cd02d78c genesys: Add image pipeline to invert pixel values 2020-05-09 13:29:51 +03:00
thierry1970 0abdfa483f If no data then the status is NO-DOCS. 2020-05-15 10:21:56 +02:00
thierry1970 1027e8aae0 Fix build. 2020-05-14 15:31:10 +02:00
thierry1970 bd8cb0e6aa Code cleanup. 2020-05-14 14:03:20 +02:00
thierry1970 287a6bb88a Test status device before scan and after. 2020-05-14 13:05:08 +02:00
Thierry HUCHARD d9c377cf09 Fix style 2020-05-13 22:24:51 +02:00
Thierry HUCHARD c66efc0faf Allows the X and Y offset to be set to 0. 2020-05-13 22:20:55 +02:00
Thierry HUCHARD 29866b0b19 Fix status sane_read. 2020-05-13 20:33:01 +02:00
Louis Lagendijk 080ac870ee pixma_bjnp.c: fix incorrect return from SANE_STATUS_INVAL to BJNP_STATUS_INVAL
as pointed out on F32 compile in CI
2020-05-11 17:14:37 +02:00
Ordissimo 5ad7708381 Merge branch 'escl-fix-status-adf' into 'master'
Refactoring of the adf status.

See merge request sane-project/backends!434
2020-05-11 14:58:38 +00:00
Louis Lagendijk 767a289fd2 pixma_bjnp: fix ADF scanning for laser/mfnp scanners. mfnp devices require a single TCP session
for ADF scans, while bjnp requires a TCP session per page.

Squashed commit of the following:

commit 8ee0a23d6b2920bc344bf76fd39f4b556222190b
Author: Louis Lagendijk <louis.lagendijk@gmail.com>
Date:   Sat May 9 16:47:23 2020 +0200

    Make pixma_bjnp work for both bjnp and mfnp

commit 3df6d0d5903ccf4de0d27301e65025209888d3c7
Author: Louis Lagendijk <louis.lagendijk@gmail.com>
Date:   Sat May 2 19:50:23 2020 +0200

    Move opening tcp connection to bjnp_open/close
2020-05-11 16:42:33 +02:00
thierry1970 36ece1de84 Fix status for all vendors 2020-05-11 10:25:27 +02:00
Thierry HUCHARD dc2b9aeade JobState, if it exists, decides whether to proceed to the next page. 2020-05-10 22:20:30 +02:00
Thierry HUCHARD 70daed5132 Fix error name variable. 2020-05-10 15:11:30 +02:00
Thierry HUCHARD 64c1c8a865 Logic correction. 2020-05-10 01:28:49 +02:00
Thierry HUCHARD c1d302f3d7 Adjuste status adf. 2020-05-09 23:48:48 +02:00
Thierry HUCHARD 296e73ae6b escl get sane_cancel output 2020-05-09 15:42:33 +02:00
Thierry HUCHARD f233792702 Update Adf status. 2020-05-09 10:03:39 +02:00
Thierry HUCHARD c4d8cc424e Update Adf status. 2020-05-09 09:50:15 +02:00
Povilas Kanapickas 4691b92d80 genesys: Simplify motor profile selection on gl841 2020-05-09 10:38:42 +03:00
Povilas Kanapickas ae8cb155ef genesys: Simplify register setup on gl841 2020-05-09 10:38:41 +03:00
Povilas Kanapickas b1b61b043b genesys: Pass whole motor struct to create_slope_table() 2020-05-09 10:34:41 +03:00
Povilas Kanapickas fe3677b68f genesys; Rename create_slope_table{=>_speed}() 2020-05-09 10:34:40 +03:00
Povilas Kanapickas dcb90dc042 genesys: Simplify handling of output line count on gl646 2020-05-09 04:10:17 +03:00
Povilas Kanapickas 46d3ea07d4 genesys: Use DISABLE_GAMMA fla to control GMMENB bit on gl646 2020-05-09 04:10:16 +03:00
Povilas Kanapickas 35544b0c36 genesys: Simplify init_regs_for_shading() on gl646 2020-05-09 04:10:15 +03:00
Povilas Kanapickas 3dff3a97b3 genesys: Fix invalid movement in simple_move() on gl646 2020-05-09 04:10:14 +03:00
Povilas Kanapickas 84d4d0b15c genesys: Use AUTO_GO_HOME flag to control AGOHOME bit on gl646 2020-05-09 04:10:13 +03:00
Povilas Kanapickas 4b5b2b2f0b genesys: Simplify init_regs_for_warmup() on gl646 2020-05-09 04:10:12 +03:00
Povilas Kanapickas 0bc0f893b2 genesys: Simplify invocation of simple_scan() on gl646 2020-05-09 04:10:11 +03:00
Thierry HUCHARD 73bf5533f9 release memory and close descriptor. 2020-05-08 08:35:50 +02:00
thierry1970 a931e0df57 Refactoring of the adf status. 2020-05-07 19:19:55 +02:00
Olaf Meeuwissen f38c9f0d64 Merge branch 'issue09-esci2-img-buffer-size-check' into '279-confidential-issue'
epsonds: Prevent possible buffer overflow when reading image data

See merge request paddy-hack/backends!8
2020-05-07 09:42:42 +00:00
Ordissimo 6689104f01 Merge branch 'fix-status-returned-by-sane-start' into 'master'
escl: Add support for SANE_STATUS_NO_DOCS and SANE_STATUS_DEVICE_BUSY to sane_start

Closes #283

See merge request sane-project/backends!433
2020-05-06 18:29:07 +00:00
Ordissimo e8e9577c12 Merge branch 'add-more-logs' into 'master'
Make curl error message more informative, to help debug issues

See merge request sane-project/backends!431
2020-05-06 18:10:33 +00:00
Bartosz Kosiorek 878197a00e escl: Add support for SANE_STATUS_NO_DOCS and SANE_STATUS_DEVICE_BUSY to sane_start
Fixes: #283
2020-05-06 18:25:44 +02:00
thierry1970 fc14edf69e Fix build. 2020-05-06 16:22:11 +02:00
thierry1970 646ee990d3 Reduces the number of entries on offer. 2020-05-06 16:08:53 +02:00
Bartosz Kosiorek adbbdc8a69 Make curl error message more informative, to help debug issues 2020-05-06 16:01:01 +02:00
thierry1970 c9fdb62060 The duplex tag is only sent to the device if the device supports AdfDuplex. 2020-05-06 10:44:31 +02:00
thierry1970 9b3d7dc8b6 Fix name of sources. 2020-05-06 10:12:52 +02:00
Olaf Meeuwissen 833c25c3ae Merge branch 'inspiration-from-freebsd-patches' into 'master'
Inspiration from freebsd patches

Closes #291, #290, #289, and #286

See merge request sane-project/backends!425
2020-05-06 05:58:02 +00:00
Olaf Meeuwissen 3d005c2570 Merge branch 'issue05-out-of-bounds-read-decode_binary' into '279-confidential-issue'
epsonds: Do not read beyond the end of the token

See merge request paddy-hack/backends!5
2020-05-06 04:06:49 +00:00
Olaf Meeuwissen 226d9c9289 Merge branch 'issue07-out-of-bounds-read-in-esci2_check_header' into '279-confidential-issue'
epsonds: Read only up to seven hexdigits to determine payload size

See merge request paddy-hack/backends!6
2020-05-06 04:05:59 +00:00
Olaf Meeuwissen 02b5d33b7a Merge branch 'issue08-integer-overflow-sanei_tcp_read' into '279-confidential-issue'
sanei: Integer overflow sanei tcp read

See merge request paddy-hack/backends!7
2020-05-06 04:04:18 +00:00
Olaf Meeuwissen 4c9e4efd4a Merge branch 'issue01-null-pointer-deref-sanei_epson_net_read' into '279-confidential-issue'
epson2: Rewrite network I/O

See merge request paddy-hack/backends!3
2020-05-06 04:03:19 +00:00
Povilas Kanapickas 06ad1dd43f genesys: Inline setup_for_scan() into gl646_repark_head() 2020-05-06 01:29:10 +03:00
Povilas Kanapickas 1b5c31bb01 genesys: Inline setup_for_scan() into init_regs_for_warmup() on gl646 2020-05-06 01:29:09 +03:00
Povilas Kanapickas d7bf809a6c genesys: Inline setup_for_scan() into init_regs_for_shading() on gl646 2020-05-06 01:29:08 +03:00
Povilas Kanapickas 7ba20e43a3 genesys: Simplify simple_scan() on gl646 2020-05-06 01:29:07 +03:00
Povilas Kanapickas f1d6c2c0cd genesys: Inline setup_for_scan into simple_scan on gl646 2020-05-06 01:29:06 +03:00
Thierry HUCHARD 0efee9ddd6 Fix model name cropping. 2020-05-06 00:14:12 +02:00
Thierry HUCHARD cd18ba69de Add vendor 2020-05-06 00:13:37 +02:00
Povilas Kanapickas 644f4b0c94 genesys: Simplify session setup in ad_fe_offset_calibration() on gl646 2020-05-06 01:05:45 +03:00
Povilas Kanapickas 4183f37b46 genesys: Simplify session setup in offset_calibration() on gl646 2020-05-06 01:05:44 +03:00
Povilas Kanapickas e32ca11346 genesys: simplify session setup in ad_fe_coarse_gain_calibration() 2020-05-06 01:05:43 +03:00
Povilas Kanapickas 1f78a2e64c genesys: Simplify session setup in coarse_gain_calibration() on gl646 2020-05-06 01:05:42 +03:00
Povilas Kanapickas e876379f31 genesys: Simplify session in simple_move() on gl646 2020-05-06 01:05:41 +03:00
Povilas Kanapickas 5a2e81b633 genesys: Simplify session setup in led_calibration on gl646 2020-05-06 01:05:40 +03:00
Povilas Kanapickas 09eb07561f genesys: Split simple_scan() into version that accepts ScanSession 2020-05-06 01:05:39 +03:00
Povilas Kanapickas 4f1dad8ca9 genesys: Simplify session setup on gl646 2020-05-06 01:05:38 +03:00
Povilas Kanapickas 99a59d9871 genesys: Remove out of date comment 2020-05-06 01:05:37 +03:00
Thierry HUCHARD 8e2d335653 Put the vendor corresponding to the device used. 2020-05-05 22:29:03 +02:00
Olaf Meeuwissen e18242108e v4l: Drop kernel interface from v4l.h
It has been included in libv4l1.h since 0.8.3.
2020-05-05 16:15:13 +09:00
Olaf Meeuwissen 95b4369166 v4l: Prefer C99 standard type over asm __u32. Re #291 2020-05-05 16:14:11 +09:00
Olaf Meeuwissen 9e1acea497 umax_pp: Fix typo. Fixes #290 2020-05-05 13:08:23 +09:00
Olaf Meeuwissen 1a201b28ab ricoh2: Use C99 standard headers
Inspired by a FreeBSD patch.  Fixes #289.
2020-05-05 12:55:19 +09:00
Olaf Meeuwissen 9232792e0f epsonds: Add missing header files for socket use. Fixes #286 2020-05-05 12:31:34 +09:00
Ordissimo bd482b6365 Merge branch 'escl-fixe-descriptor-size' into 'master'
Fixe descriptor size.

See merge request sane-project/backends!424
2020-05-04 11:39:19 +00:00
thierry1970 2ed753b3fe Fixe descriptor size. 2020-05-04 13:19:03 +02:00
Olaf Meeuwissen 2b4aa45bad Merge branch 'issue11-read_of_uninitialized_data' into '279-confidential-issue'
magicolor: Added security mediation to device discovery

See merge request paddy-hack/backends!2
2020-05-04 08:24:19 +00:00
Olaf Meeuwissen fe08bbee6b epsonds: Handle error condition. Re #279, issue 8 2020-05-04 11:48:46 +09:00
Thierry HUCHARD 855cc408d3 Fix the status of the scanner in case of failure. 2020-05-02 11:05:49 +02:00
Thierry HUCHARD 2190739b31 Fixed source argument. 2020-05-01 11:59:58 +02:00
Ralph Little 07e3834127 magicolor: Added security mediation to device discovery
Extraction of values from the SNMP response were not checked.
Also fixed a bug that mistakenly matched any SNMP OIDs with the
first model in the model list, in function mc_get_device_from_identification().
2020-04-30 23:21:00 -07:00
Bartosz Kosiorek 24ffce93fd Don't use the uninitialized data during getting capabilities and print capabilities 2020-04-30 22:36:00 +02:00
Olaf Meeuwissen fff83e7eac epson2: Rewrite network I/O
This addresses GHSL-2020-075 as well as all other problematic code
uncovered as a result of investigating that.  This includes:

- buffer overflows due to use of unchecked lengths
- integer overflows due to type conversions
- potential memory leaks
- checking for memory allocation failures

Re #279.
2020-04-30 21:21:30 +09:00
Olaf Meeuwissen 27ea994d23 epsonds: Do not read beyond the end of the token
Addresses GHSL-2020-082, re #279.
2020-04-30 21:15:45 +09:00
Olaf Meeuwissen b9b0173409 epsonds: Prevent possible buffer overflow when reading image data
Addresses GHSL-2020-084, re #279.
2020-04-27 20:24:44 +09:00
Olaf Meeuwissen db9480b09e epsonds: Read only up to seven hexdigits to determine payload size
Addresses GHSL-2020-083, re #279.
2020-04-27 20:24:11 +09:00
Ralph Little af0442f15c magicolor: Added security remediation for pixels_per_line.
This implements a security issue reported by GitHub Security Lab.
The details are disclosed in GitLab issue #279.
The issue relates to an invalid scan parameter block being sent to
the backend containing 8 bytes of 0x00 which leads to pixels_per_line
being set to 0. Later arithmetic involves the division by this value
which causes a div by zero crash.
2020-04-26 13:04:41 -07:00
Povilas Kanapickas 08b41c052e genesys: Add support for Plustek OpticFilm 7200 2020-04-23 21:36:23 +03:00
Oliver Schwartz 867aeb7d09 Merge branch 'master' into 'master'
sanei_usb: allow non-configured devices on macOS for libusb-1.x

See merge request sane-project/backends!358
2020-04-23 14:13:27 +00:00
Povilas Kanapickas e5c371b24b genesys: Merge motor optical_ydpi to base_ydpi 2020-04-22 22:41:45 +03:00
Alex Belkin 40a451b1ac xerox_mfp: Mark Xerox WorkCentre 3225 as supported
Reported by Darodaros in issue sane-project/website#26.
2020-04-22 16:15:33 +03:00
Zdenek Dohnal ea8beca57d Fix assertion error in gl841 asic type by lowering steps for fast/back/slow tables 2020-04-22 13:23:41 +02:00
thierry1970 32083172ea Allows you to move to the next page. 2020-04-21 14:49:40 +02:00
thierry1970 111d8d2aab Fix invalide image with scanimage. 2020-04-21 12:47:07 +02:00
Povilas Kanapickas 53162b4cad genesys: Remove no longer used motor action 2020-04-20 00:35:57 +03:00
Povilas Kanapickas af28c2d56c genesys: Reuse scanner_move_back_home() on gl841 2020-04-20 00:35:56 +03:00
Povilas Kanapickas d9b49e567c genesys: Simplify motor direction setup on gl841 2020-04-20 00:35:55 +03:00
Povilas Kanapickas 8412861a66 genesys: Support reverse scan direction on gl841 2020-04-20 00:35:54 +03:00
Povilas Kanapickas f965c2ef25 genesys: Reuse scanner_stop_action() on gl841 2020-04-20 00:35:53 +03:00
Povilas Kanapickas 98ee100237 genesys: Fix scanner_is_motor_stopped() on gl841 2020-04-20 00:35:52 +03:00
Povilas Kanapickas b68fd960e3 genesys: Simplify sensor setup on gl646 2020-04-17 06:19:22 +03:00
Povilas Kanapickas a3ad02c8bf genesys: Remove sensor setting duplication on gl646 2020-04-17 06:19:21 +03:00
Povilas Kanapickas ebfa38a732 genesys: Map motor flags to scan flags 2020-04-17 05:38:47 +03:00
Povilas Kanapickas 4c95e94f9b genesys: Move private functionality out of headers 2020-04-17 05:38:46 +03:00
Povilas Kanapickas afa96a227d genesys: Reduce duplication of sensor setup functionality 2020-04-17 05:38:45 +03:00
Povilas Kanapickas d0855e513b genesys: Remove unused #defines 2020-04-17 05:38:44 +03:00
Povilas Kanapickas edda9bff25 genesys: Simplify creation of command set 2020-04-17 05:38:43 +03:00
Povilas Kanapickas c0deb9b2c4 genesys: Use consistent model name for Canon CanoScan 5600F 2020-04-17 05:38:42 +03:00
Povilas Kanapickas ad4c8f5453 genesys: Reduce duplication in led_calibration 2020-04-17 05:23:07 +03:00
Povilas Kanapickas 4aace34caa genesys: Simplify led calibration on gl841 2020-04-17 05:18:01 +03:00
Povilas Kanapickas f6b606503c genesys: Remove out of date comments on gl841 2020-04-17 05:18:00 +03:00
Povilas Kanapickas 6b49c6656c genesys: Simplify motor setup on gl841 2020-04-17 05:17:59 +03:00
Povilas Kanapickas 2a9254c998 genesys: Verify that all sensors have required registers on gl841 2020-04-17 05:17:58 +03:00
Povilas Kanapickas 608cd18282 genesys: Rewrap custom register lists in sensor definitions on gl841 2020-04-17 05:17:57 +03:00
Povilas Kanapickas 75f5ec4058 genesys: Remove duplicate initialization during scanner setup on gl841 2020-04-17 05:17:56 +03:00
Povilas Kanapickas f37c3c55e4 genesys: Simplify sensor setup on gl841 2020-04-17 05:17:55 +03:00
Rolf Bensch 3ba284eeec pixma: backend version 0.27.7 2020-04-15 21:50:05 +02:00
Rolf Bensch 598b836c05 Merge branch 'k3a-pixma' into 'master'
pixma: parse XML response sent by the scanner and present tips to the user

Closes issue sane-project/backends#70

See merge request sane-project/backends!386
2020-04-15 19:47:27 +00:00
Povilas Kanapickas 4d01195d22 Merge branch 'genesys-hp-4850' into 'master'
genesys: Fix shading offsets on HP 4850

See merge request sane-project/backends!406
2020-04-14 21:37:03 +00:00
Povilas Kanapickas 0638e84d13 genesys: Fix shading offsets on HP 4850 2020-04-15 00:21:05 +03:00
Povilas Kanapickas 6fc6fb7ea2 genesys: Load calibration data in sane_start() not in sane_init() 2020-04-15 00:16:01 +03:00
Povilas Kanapickas a595875d87 genesys: Bump calibration version 2020-04-15 00:15:21 +03:00
Povilas Kanapickas 7304a4bb78 genesys: Fix out of bounds access during calibration on gl843 2020-04-15 00:15:10 +03:00
Povilas Kanapickas eec083f46a genesys: Remove startup position hack on 4400F 4800dpi scans 2020-04-13 07:38:08 +03:00
Povilas Kanapickas 1125cf338a genesys: Update pixel start offsets on 4400F 2020-04-13 07:38:07 +03:00
Povilas Kanapickas 60da130402 genesys: Fix Y scan area offset on 4400F 2020-04-13 07:38:06 +03:00
Povilas Kanapickas ea781b6b07 genesys: Improve head positioning during calibration on 8600F TA scans 2020-04-13 07:38:05 +03:00
Povilas Kanapickas b788f2de8f genesys: Remove startup position hack on 8600F 4800dpi scans 2020-04-13 07:38:04 +03:00
Povilas Kanapickas aec867d1e8 genesys: Support negative output_pixel_offset 2020-04-13 07:38:03 +03:00
Povilas Kanapickas f03b7ad29f genesys: Fix alignment of transparency scans of different dpi on 8600F 2020-04-13 07:38:02 +03:00
Povilas Kanapickas 82b42862ab genesys: Fix calibration on 8400F 2020-04-13 07:38:01 +03:00
Povilas Kanapickas 6fea625ad6 genesys: Support custom shading offset on gl843 2020-04-13 07:38:00 +03:00
Povilas Kanapickas 4b79620525 genesys: Fix shading resolution on 8400F 400dpi 2020-04-13 07:37:59 +03:00
Povilas Kanapickas 664c07c01a genesys: Add a way to configure shading pixel offset 2020-04-13 07:37:58 +03:00
Povilas Kanapickas df0fccf899 genesys: Fix incorrect handling of start position on gl843 2020-04-13 07:37:57 +03:00
Povilas Kanapickas 922cabc0be genesys: Remove no longer used ccd_start_xoffset 2020-04-13 07:23:43 +03:00
Povilas Kanapickas 87f5637a47 genesys: Cleanup pixel position handling on gl124 2020-04-13 07:23:42 +03:00
Povilas Kanapickas bae938b4be genesys: Use output_pixel_offset for CCD offsets on gl847 2020-04-13 07:23:41 +03:00
Povilas Kanapickas eca7a5ab91 genesys: Use output_pixel_offset for CCD offsets on gl845/gl846 2020-04-13 07:23:40 +03:00
Povilas Kanapickas e5c46aee41 genesys: Use output_pixel_offset for CCD offsets on gl843 2020-04-13 07:23:39 +03:00
Povilas Kanapickas dc00ab867b genesys: Use output_pixel_offset for CCD offsets on gl841 2020-04-13 07:23:38 +03:00
Povilas Kanapickas 648a24830f genesys: Use output_pixel_offset for CCD offsets on gl646 2020-04-13 07:23:37 +03:00
Povilas Kanapickas 1fc00f2b96 Merge branch 'genesys-cleanup-pixel-position-handling' into 'master'
genesys: Cleanup pixel position handling

See merge request sane-project/backends!401
2020-04-13 13:33:50 +00:00
Povilas Kanapickas 3693f4b12d genesys: Simplify use of pixel_endx on gl124 2020-04-13 07:19:59 +03:00
Povilas Kanapickas cdefc1cae5 genesys: Simplify pixel position handling on gl646 2020-04-13 07:19:58 +03:00
Povilas Kanapickas e920d1bbce genesys: Add a way to specify output pixel offset 2020-04-13 07:19:57 +03:00
Povilas Kanapickas 94f130cdfa genesys: Simplify pixel position calculation on gl841 2020-04-13 07:19:56 +03:00
Povilas Kanapickas 8b37d4b15e genesys: Remove handling of XCORRECTION on gl646 2020-04-13 07:19:55 +03:00
Povilas Kanapickas 2bec01cf60 genesys: Simplify optical pixel calculations on gl646 2020-04-13 07:19:54 +03:00
Povilas Kanapickas f4b60c48bb genesys: Remove unnecessary pixel averaging handling code on gl841 2020-04-13 07:19:53 +03:00
Povilas Kanapickas 1f43e6a7f8 genesys: Remove unused handling of partial resolutions 2020-04-13 07:19:52 +03:00
Povilas Kanapickas 71f3dd8643 genesys: Make definition of optical_resolution more consistent on gl646 2020-04-13 07:19:51 +03:00
Povilas Kanapickas 6db2f94598 genesys: Remove unused configuration of ccd_size_divisor 2020-04-13 07:19:50 +03:00
Povilas Kanapickas 12269c5ad4 genesys: Prefer not to use ccd_size_divisor on gl841 2020-04-13 07:19:49 +03:00
Povilas Kanapickas 48c377b5f0 genesys: Improve description of SetupParams::pixels 2020-04-13 07:19:48 +03:00
Povilas Kanapickas 901827c8c7 genesys: Disable currently unsupported resolutions on LiDE 700F 2020-04-13 07:19:29 +03:00
Povilas Kanapickas 35e48da4a8 genesys: Fix invalid home position reporting on LiDE 700F 2020-04-13 07:19:28 +03:00
Ordissimo 4c254e3c3d Merge branch 'escl-adf-support' into 'master'
Escl adf support

See merge request sane-project/backends!300
2020-04-12 09:01:51 +00:00
Thierry HUCHARD 6a0e0eb568 Fix build 2020-04-12 10:28:55 +02:00
Thierry HUCHARD 3d02d2f1be Changes the status when the trays are empty. 2020-04-12 10:17:33 +02:00
Povilas Kanapickas 7fbc7dda54 genesys: Readd missed comment 2020-04-11 15:50:30 +03:00
Povilas Kanapickas 3b1d7d59c1 Merge branch 'genesys-reg-get-address' into 'master'
genesys: Remove uses of sanei_genesys_get_address()

See merge request sane-project/backends!399
2020-04-11 12:38:19 +00:00
Povilas Kanapickas 5ffd4039de genesys: Fix crash when exact usb device is not specified 2020-04-11 15:20:30 +03:00
Povilas Kanapickas 55972a3efa genesys: Fix crash during testing mode 2020-04-11 15:20:29 +03:00
Povilas Kanapickas f48f0bf7d1 genesys: Fix scan area size on OpticFilm 8200i and 7400 2020-04-10 01:14:22 +03:00
Povilas Kanapickas 11cace00a8 Merge branch 'genesys-warmup' into 'master'
genesys: Fix and enable lamp warmup before first scan

See merge request sane-project/backends!396
2020-04-09 21:13:27 +00:00
Povilas Kanapickas 33b6052790 Merge branch 'genesys-8600f-ta-position' into 'master'
genesys: Fix position of transparency area on 8600F

See merge request sane-project/backends!395
2020-04-09 21:11:29 +00:00
Povilas Kanapickas 5cbb9eaae5 Merge branch 'genesys-cleanup-device-init' into 'master'
genesys: Cleanup device initialization

See merge request sane-project/backends!394
2020-04-09 21:09:03 +00:00
Povilas Kanapickas ea94970b6a genesys: Enable lamp warmup on scanners that need it 2020-04-09 23:57:13 +03:00
Povilas Kanapickas f22dd4d7b2 genesys: Move lamp to transparency adapter if needed during lamp warmup 2020-04-09 23:57:12 +03:00