Ilia Sotnikov
767cbfaa7f
Merge branch 'hp5590-devel' into 'master'
...
HP5590: Add options for reading out user settings from scanner panel.
See merge request sane-project/backends!66
2019-06-03 06:10:26 +00:00
Bernard B Badeer
1f383b3795
Add options for reading LCD counter and LED indicator.
...
* Add command line parameters for readling LCD counter and LED indicator.
* Code refactoring: Use static parameter strings instead of dynamically
allocated string in order to avoid memory leak.
2019-06-03 06:10:26 +00:00
Olaf Meeuwissen
1c143f630e
Remove more generated files. Re !72
2019-06-02 21:33:22 +09:00
Olaf Meeuwissen
93be23ccf5
Fix libtool requirement for autogen.sh. Re !72
2019-06-02 21:24:26 +09:00
Povilas Kanapickas
8aa5318f90
genesys: Make frontend register list generic
2019-06-02 11:48:04 +03:00
Povilas Kanapickas
24853e657a
genesys: Refactor frontend table to initialize data explicitly
2019-06-02 11:48:03 +03:00
Povilas Kanapickas
6305433210
genesys: Cache the initial frontend values in the device
2019-06-02 11:48:02 +03:00
Povilas Kanapickas
ba778a7d84
genesys: Add a way to set custom FE registers depending on scan mode
2019-06-02 11:48:01 +03:00
Povilas Kanapickas
c05b0c1598
genesys: Add initial support for 8600F 4800dpi transparency scanning
2019-06-02 11:48:00 +03:00
Povilas Kanapickas
91a37b6558
genesys: Add a way to calibrate partial width of the scanner
2019-06-02 11:47:59 +03:00
Povilas Kanapickas
a2f451526c
genesys: Extract GenesysRegisterSettingSet::{fread,fwrite}()
2019-06-02 11:47:58 +03:00
Povilas Kanapickas
ac624433bb
sanei: Print the number of read bytes on bulk USB read error
2019-06-02 11:47:57 +03:00
Povilas Kanapickas
a9689de478
genesys: Don't hardcode ccd size divisor for start position
2019-06-02 11:47:56 +03:00
Povilas Kanapickas
3a8f1ddf6c
genesys: Support 2400dpi transparency scans on 8600F
2019-06-02 11:47:55 +03:00
Povilas Kanapickas
8520b810fd
genesys: Add support for mixed half/quarter-ccd mode on the same scanner
2019-06-02 11:47:54 +03:00
Povilas Kanapickas
36872e5751
genesys: Add support for half-ccd and quarter-ccd modes on the same chip
...
Previously we hardcoded half-ccd mode to be actually quarter-ccd mode on
GL843.
2019-06-02 11:47:53 +03:00
Povilas Kanapickas
8a9a4e3f71
genesys: Move GL843 sensor profiles to global sensor database
...
Note that gl843_setup_sensor() did not write certain registers and they
weren't written to the scanner anywhere else, thus they have been
excluded from the new definitions.
2019-06-02 11:47:52 +03:00
Povilas Kanapickas
723aa2b73c
genesys: Don't store current sensor in device as it depends on the scan
2019-06-02 11:47:51 +03:00
Povilas Kanapickas
f8e8243b78
genesys: Don't modify sensor with gamma data
2019-06-02 11:47:50 +03:00
Povilas Kanapickas
dafd2a150b
genesys: Extract gamma creation into a single function
2019-06-02 11:47:49 +03:00
Povilas Kanapickas
ea74f8e6ef
genesys: Pass gamma tables as vectors
2019-06-02 11:47:48 +03:00
Povilas Kanapickas
dd2884ede7
genesys: Don't read registers to get data available from model flags
2019-06-02 11:47:47 +03:00
Povilas Kanapickas
5adaea3e2f
genesys: Pass sensor to genesys_coarse_calibration() as param
2019-06-02 11:47:46 +03:00
Povilas Kanapickas
60289d58e2
genesys: Pass sensor to genesys_average_white() as param
2019-06-02 11:47:45 +03:00
Povilas Kanapickas
35e45196b9
genesys: Pass sensor to sanei_genesys_search_reference_point() as param
2019-06-02 11:47:44 +03:00
Povilas Kanapickas
43c86ecd81
genesys: Only ever name Genesys_Sensor as "sensor" to reduce confusion
2019-06-02 11:47:43 +03:00
Povilas Kanapickas
7738412517
genesys: Remove vim indent settings
2019-06-02 11:47:42 +03:00
Povilas Kanapickas
6fdabd8174
genesys: Remove unused sensor config
2019-06-02 11:47:41 +03:00
Povilas Kanapickas
d3f13839af
genesys: Remove no longer needed explicit initialization and copying
2019-06-02 11:47:40 +03:00
Povilas Kanapickas
4269f67c4a
genesys: Always initialize Genesys_Frontend
2019-06-02 11:47:39 +03:00
Povilas Kanapickas
68df437faf
genesys: Always initialize Genesys_Motor
2019-06-02 11:47:38 +03:00
Povilas Kanapickas
52f73ffd8d
genesys: Always initialize Genesys_Gpo
2019-06-02 11:47:37 +03:00
Povilas Kanapickas
d39189e424
genesys: Always initialize Genesys_Settings
2019-06-02 11:47:36 +03:00
Povilas Kanapickas
03ecbf1bb0
genesys: Always initialize Genesys_Current_Setup
2019-06-02 11:47:35 +03:00
Povilas Kanapickas
a287f4945c
genesys: Extract computation of session setup to callers
2019-06-02 11:47:34 +03:00
Povilas Kanapickas
d688429ccd
genesys: Fix use of wrong dpi when computing output pixel count
2019-06-02 11:47:33 +03:00
Povilas Kanapickas
1a9e05b291
genesys: Extract params to gl843_init_scan_regs to a struct
2019-06-02 11:47:32 +03:00
Povilas Kanapickas
836a78bef5
genesys: Extract exposure to separate variable in sensor definition
2019-06-02 11:47:31 +03:00
Povilas Kanapickas
e9419d5e33
genesys: Make per-sensor register override list generic
2019-06-02 11:47:30 +03:00
Povilas Kanapickas
7f22e35e2c
genesys: Use internal sleep wrapper for remaining sleep calls
2019-06-02 11:47:29 +03:00
Povilas Kanapickas
90814ac7d3
genesys: Move half CCD property to sensor definition
2019-06-02 11:47:28 +03:00
Povilas Kanapickas
7359412548
genesys: Remove dead code
2019-06-02 11:47:27 +03:00
Povilas Kanapickas
04c5b4afde
genesys: Improve type safety of Genesys_Register_Set
2019-06-02 11:47:26 +03:00
Rolf Bensch
1f847e4128
INSTALL.linux: add missing development package
2019-06-01 18:23:41 +02:00
Povilas Kanapickas
3b2ecec808
style-check: Ignore patch files
2019-06-01 14:41:32 +03:00
Povilas Kanapickas
61bff8b601
autotools: Restore patch to libtool to change libsane soname
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
72320897d8
autotools: Move byteorder.m4 to prevent mixing with generated files
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
9e6a83860b
autotools: Add autogen.sh to run autotools in appropriate way
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
1c3e1aa184
autotools: Remove files generated by autotools from version control
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
6b47592520
Merge branch 'genesys-fix-read-set-reg-from-set' into 'master'
...
genesys: Fix sanei_genesys_{read,set}_reg_from_set()
See merge request sane-project/backends!80
2019-06-01 02:40:24 +00:00