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
Povilas Kanapickas
e5c371b24b
genesys: Merge motor optical_ydpi to base_ydpi
2020-04-22 22:41:45 +03:00
Povilas Kanapickas
b68fd960e3
genesys: Simplify sensor setup on gl646
2020-04-17 06:19:22 +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
edda9bff25
genesys: Simplify creation of command set
2020-04-17 05:38:43 +03:00
Povilas Kanapickas
eec083f46a
genesys: Remove startup position hack on 4400F 4800dpi scans
2020-04-13 07:38:08 +03:00
Povilas Kanapickas
8b37d4b15e
genesys: Remove handling of XCORRECTION on gl646
2020-04-13 07:19:55 +03:00
Povilas Kanapickas
db50c91132
genesys: Remove uses of sanei_genesys_get_address()
2020-04-05 06:19:38 +03:00
Povilas Kanapickas
6420e00a38
genesys: Don't hardcode depth during warmup
2020-04-09 23:57:05 +03:00
Povilas Kanapickas
4586ae4e56
genesys: Increase consistency of lamp warmup handling
2020-04-09 23:57:04 +03:00
Povilas Kanapickas
ef583d54f2
genesys: Rename dpiset_override to register_dpiset
2020-03-21 00:11:32 +02:00
Povilas Kanapickas
5bcb5f3e80
genesys: Simplify shading resolution calculation on gl646
2020-03-21 00:11:31 +02:00
Povilas Kanapickas
c8c9deaf6d
genesys: Simplify dpiset calculation on gl646
2020-03-21 00:11:30 +02:00
Povilas Kanapickas
88989a1616
genesys: Pass resolution setting to sanei_genesys_set_dpihw() directly
2020-03-21 00:03:41 +02:00
Povilas Kanapickas
255da97fcb
genesys: Remove get_closest_resolution()
...
All gl646 scanners have sensors for all supported resolutions
2020-03-14 23:19:25 +02:00
Povilas Kanapickas
d8f09656b2
genesys: Deduplicate strip searching functionality
2020-02-22 11:02:57 +02:00
Povilas Kanapickas
0d0c9f76b4
Merge branch 'genesys-remove-search-start' into 'master'
...
genesys: Remove start search functionality
See merge request sane-project/backends!342
2020-02-22 14:18:04 +00:00
Povilas Kanapickas
9d7aa61544
genesys: Define the width of the sensor in mm instead of pixels
2020-02-22 10:48:26 +02:00
Povilas Kanapickas
2cf05553c0
genesys: Remove no longer used code related to start position search
2020-02-22 10:28:17 +02:00
Povilas Kanapickas
4c395182be
genesys: Remove no longer used coarse calibration ced path
2020-02-17 00:49:14 +02:00
Povilas Kanapickas
55000d82ac
genesys: Simplify shading line calculation by defining distance in mm
2020-02-16 10:46:09 +02:00
Povilas Kanapickas
b54d12bc4d
genesys: Define SetupParams::startx in terms of xres
2020-02-16 10:41:08 +02:00
Povilas Kanapickas
2428efd6af
genesys: Fix host-side calibration when scan start position is not zero
2020-02-15 14:12:44 +02:00
Povilas Kanapickas
328f39e39e
genesys: Remove uses of calib_lines
2020-02-03 01:00:49 +02:00
Povilas Kanapickas
53d51a6537
genesys: Fix wrong line count computation on gl646
...
It actually does not matter, because we overwrite LINCNT below anyway
and don't use any information affected by this variable when computing
how much data to retrieve.
2020-02-03 01:00:49 +02:00
Povilas Kanapickas
26eec0ba57
genesys: Remove uses of calib_channels
2020-02-03 01:00:47 +02:00
Povilas Kanapickas
10fb42cd68
genesys: Use calib_session to retrieve pixel counts
2020-02-03 01:00:34 +02:00
Povilas Kanapickas
9b1fe59c2a
genesys: Set calib_session on all chipsets
2020-02-03 00:41:57 +02:00
Povilas Kanapickas
3b27241e07
genesys: Remove no longer needed conversions to single precision float
2020-02-03 00:41:56 +02:00
Povilas Kanapickas
c1791e6c83
genesys: Pass the register set to modify to init_regs_for_scan()
2020-02-03 00:41:53 +02:00
Povilas Kanapickas
5fb5da4f78
genesys: Remove duplicate way to check for transparency support
2020-02-03 00:41:52 +02:00
Povilas Kanapickas
32041bc7fe
genesys: Rename calib_reg to initial_regs
2020-02-02 18:45:31 +02:00
Povilas Kanapickas
86fe2f5f6d
genesys: Move modification of calib_reg out of shading reg init on gl646
2020-02-02 18:45:29 +02:00
Povilas Kanapickas
dff52ad713
genesys: Don't write registers in init_regs_for_warmup()
2020-02-02 18:45:22 +02:00
Povilas Kanapickas
e59401ed6b
genesys: Move model flags to a separate enum
2020-02-02 14:08:52 +02:00
Povilas Kanapickas
645820bc4d
genesys: Improve set_head_pos_unknown() to set status per head
2020-01-12 10:57:08 +02:00
Povilas Kanapickas
e2bb81ef01
genesys: Add extra sleep during scan stop for gl646
2019-12-26 17:13:23 +02:00
Povilas Kanapickas
538b34f418
genesys: Fix testing mode in gl646
2019-12-23 02:27:28 +02:00
Povilas Kanapickas
5d83753b07
genesys: Work around bad acceleration curves on certain gl646 scanners
2019-12-23 02:27:28 +02:00
Povilas Kanapickas
fb1dea325c
genesys: Fix crash when moving back hove on gl646
2019-12-23 01:43:39 +02:00
Povilas Kanapickas
9f4cabb55c
genesys: Fix random lock ups when waiting for motor to stop on gl646
2019-12-23 01:43:38 +02:00
Povilas Kanapickas
fffcb62544
genesys: Fix completely broken backtracing calculation on gl646
2019-12-23 01:43:37 +02:00
Povilas Kanapickas
2397d8879a
genesys: Fix collection of scanhead movement information
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
29166d9b3b
genesys: Remove rewind() function due to unreliability
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
7d477da404
genesys: Use MotorSlope in gl646 code
2019-12-14 10:20:10 +02:00