Povilas Kanapickas
cc88c73ac9
newsfragments: Add release note for MR !633
...
Full link: https://gitlab.com/sane-project/backends/-/merge_requests/633
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
35de63ca99
newsfragments: Add release note for MR !629
...
Full link: https://gitlab.com/sane-project/backends/-/merge_requests/629
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
5b143760f3
newsfragments: Add release note for MR !627
...
Full link: https://gitlab.com/sane-project/backends/-/merge_requests/627
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
c94a331916
newsfragments: Add release note for MR !628
...
https://gitlab.com/sane-project/backends/-/merge_requests/628
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
141964f652
NEWS: Move unreleased release notes to newsfragments directory
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
0b31b2c1ed
newsfragments: Document how to provide release notes
2021-12-30 19:00:18 +02:00
Povilas Kanapickas
5591ce7c1b
Merge branch 'genesys-remove-gl847-unsupported-resolutions' into 'master'
...
genesys: Remove unsupported resolutions on LiDE 100 and 200
Closes #383
See merge request sane-project/backends!675
2021-12-28 01:29:03 +00:00
Povilas Kanapickas
eca148dbf4
genesys: Remove unsupported 75 and 100 dpi resolutions on LiDE 200
2021-12-28 02:49:59 +02:00
Povilas Kanapickas
c86564a3e3
genesys: Remove unsupported 75 and 100 dpi resolutions on LiDE 100
2021-12-28 02:49:58 +02:00
Povilas Kanapickas
f5d5928346
genesys: Log the target motor speed in case it can't be acquired
2021-12-28 02:49:57 +02:00
Povilas Kanapickas
87f27311f7
Merge branch 'release-1.0.33-backports' into 'release-1.0.33'
...
[1.0.33] Miscellaneous backports
See merge request sane-project/backends!674
2021-12-27 21:26:53 +00:00
Povilas Kanapickas
7353cd598b
genesys: Remove unneeded per-scanner register setup
...
These register values are overwritten later.
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
022f631611
genesys: Fixed offset calibration on certain gl841 devices
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
374ba39e46
genesys: Use consistent initial exposure for led calibration on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
9527a9e623
genesys: Fix inconsistent exposure values in led calib in testing mode
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
8eb2c0e404
genesys: Ensure sensor exposure is up-to-date when scanning on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
dd1abe9380
genesys: Reuse gl124 led calibration acceptability criteria for gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
9611b9d757
genesys: Remove no longer used led calibration fallback code on gl841
...
This was used only on scanners which did not have calibration target
intensity value. All gl841 scanners now have such setting, so the code
can be removed.
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
b3f6637ae2
genesys: Specify target white level for all gl841 devices
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
4d1246b507
genesys: Remove duplicate register write during led calibration on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
408ee7a770
genesys: Reset registers after move during led calibration on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
9669c6c335
genesys: Remove erroneous register write on LiDE 80
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
bafd6e134a
genesys: Clean up exposure calibration on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
4fce71b55b
genesys: Use more robust gain calibration on gl841
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
cc3bf08055
genesys: Remove duplicate register writes in gl841 calibration
2021-12-27 23:11:35 +02:00
Povilas Kanapickas
7dcffcf75f
genesys: Use host-side gray instead of device-side true-gray on gl841
...
True gray mode is not handled correctly by devices: they have bugs that
lead to incorrect LED color being emitted (e.g. dark red) and thus this
feature is completely unusable. At least LiDE 35/40/50, LiDE 60 and LiDE
80 are affected.
Simpy disabling true-gray unfortunately leads to even worse outcome
because the scanner then simply proceeds to perform a color scan.
To work around these problems we do a normal color scan and then produce
gray output based on the color data. This will satisfy the use cases
when correct gray is needed. In cases when it is sufficient to construct
gray from a single color channel, the color filter setting could be
used.
2021-12-27 23:11:34 +02:00
Povilas Kanapickas
440ec4f80c
genesys: Implement host-side gray support
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
6bec3fcfa6
genesys: Implement image pipeline for merging color channels to gray
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
b7b37b4f45
genesys: Rename ImagePipelineNodeMergeMono{Lines -> LinesToColor}
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
e64aad283f
genesys: Remove true_gray variable by deriving its value directly
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
72d0c39656
genesys: Fix incorrect scan exposure setup on gl841
...
When sensor exposure values are significantly different from each other
the total scan exposure will be too low leading to the device becoming
confused and significantly
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
7b25c36c15
genesys: Inline gl841_get_led_exposure()
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
341b2ff6e6
genesys: Remove broken two-table feeding support from gl841
...
At least on LiDE 50 two-table feeding caused unexplained motor spin-up
failures on certain motor exposures. Various register modifications
showed that there's high likelihood on device-side bug. Even the
official drivers don't use proper two-table feeding.
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
df20a7a46e
genesys: Remove unused two-table feeding support from gl847
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
3787dfdb4b
genesys: Remove unused two-table feeding support from gl846
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
491a08ba96
genesys: Remove unused two-table feeding support from gl124
2021-12-27 23:11:12 +02:00
Povilas Kanapickas
c6df5fd69a
genesys: Enable gamma setting when contrast or brightness is adjusted
...
Brightness and contrast adjustments are handled via gamma tables and
thus gamma functionality is required for these settings to have any
effect.
Previously if the device has a sensor with identity gamma
(gamma = {1, 1, 1}), then gamma tables were turned off, consequently
brightness and contrast settings had no effect.
The underlying issue was identified by Gunnar Hjalmarsson
<gunnarhj@ubuntu.com> and STK.
2021-12-27 23:11:08 +02:00
Povilas Kanapickas
2cc2f8a26b
genesys: Store contrast and brightness adjustments in session params
2021-12-27 23:11:08 +02:00
Povilas Kanapickas
4d2a6eb513
Merge branch 'genesys-gl841-fixes' into 'master'
...
genesys: Various fixes for GL841 scanners
Closes #357
See merge request sane-project/backends!673
2021-12-27 21:08:39 +00:00
Povilas Kanapickas
75ac76f87a
genesys: Remove unneeded per-scanner register setup
...
These register values are overwritten later.
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
f06e507de7
genesys: Fixed offset calibration on certain gl841 devices
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
334e4bd8d1
genesys: Use consistent initial exposure for led calibration on gl841
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
af175f6d4c
genesys: Fix inconsistent exposure values in led calib in testing mode
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
3e9431d079
genesys: Ensure sensor exposure is up-to-date when scanning on gl841
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
c11a0e7ab6
genesys: Reuse gl124 led calibration acceptability criteria for gl841
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
d19ccd2fad
genesys: Remove no longer used led calibration fallback code on gl841
...
This was used only on scanners which did not have calibration target
intensity value. All gl841 scanners now have such setting, so the code
can be removed.
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
e540778cfa
genesys: Specify target white level for all gl841 devices
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
c1f731a7e0
genesys: Remove duplicate register write during led calibration on gl841
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
f1910ae58c
genesys: Reset registers after move during led calibration on gl841
2021-12-27 22:39:19 +02:00
Povilas Kanapickas
86fe51e224
genesys: Remove erroneous register write on LiDE 80
2021-12-27 22:39:19 +02:00