Ralph Little
602b4f8d3d
genesys: add full button support for the Canon 5600F
...
This model spreads their GPIO buttons lines over 3 different registers:
0x6c, 0xa6 and 0x6d
2022-04-15 11:50:56 -07:00
Ralph Little
41866df6e1
genesys: fix for computation of total file size exceeding unsigned
...
Large scans that exceed 32-bits need cast to allow 64-bit size.
2022-02-27 18:55:26 -08:00
Povilas Kanapickas
59506f866d
genesys: Remove exception for the GPL license
...
Several files already don't have the exception that allows uses of the
code that are additional to the GPL license. I'm no longer comfortable
granting this exception for my subsequent contributions, thus the
exception has been removed.
2021-12-30 19:16:54 +02:00
Povilas Kanapickas
e27d991fdf
genesys: Remove unused two-table feeding support from gl847
2021-12-27 22:22:44 +02:00
Povilas Kanapickas
b668e92047
genesys: Use {uint,int}{8,16,32,64} from std namespace
...
This is not strictly necessary as all known C++ compilers also inject
these types to the global namespace. However this is not guaranteed by
the C++ standard and accordingly some code completion tools don't
support this without additional configuration.
2021-12-26 16:09:17 +02:00
Povilas Kanapickas
bf4614b76e
genesys: Store contrast and brightness adjustments in session params
2021-12-26 14:53:14 +02:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Povilas Kanapickas
02782651a3
genesys: Add model option to disable fast feeding
2020-06-27 00:47:17 +03:00
Povilas Kanapickas
3cca2593fc
genesys: Add support for Canon 5600F
2020-05-26 01:51:19 +03:00
Povilas Kanapickas
8ec6bc2e5d
genesys: Deduplicate move_to_ta()
2020-05-26 01:32:44 +03:00
Povilas Kanapickas
b8a24ee409
genesys: Remove useless debug statements
2020-05-26 01:32:41 +03:00
Povilas Kanapickas
57a398888d
genesys: Deduplicate init_regs_for_scan()
2020-05-26 01:32:40 +03:00
Povilas Kanapickas
f3b04b374a
genesys: Implement transparency support on gl847
2020-05-26 01:14:43 +03:00
Povilas Kanapickas
a12083c8c4
genesys: Remove support for generating lineart within the backend
2020-05-24 18:20:17 +03:00
Povilas Kanapickas
a23d61c26b
genesys: Allow pipeline to be created without mutating device
2020-05-24 18:02:03 +03:00
Povilas Kanapickas
d172b9cc4d
genesys: Remove read buffer after image processing
2020-05-24 16:35:59 +03:00
Povilas Kanapickas
b5430cc039
genesys: Rename Genesys_Sensor::{optical_res => full_resolution}
2020-05-18 06:35:19 +03:00
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
9c4f84f91a
genesys: Don't generate excessive amount of steps for the motor tables
2020-05-18 03:53:07 +03:00
Povilas Kanapickas
800cf3beaf
genesys: Use ModelFlag::DISABLE_*_CALIBRATION instead of NO_CALIBRATION
2020-05-17 01:02:28 +03:00
Povilas Kanapickas
d6570c86ff
genesys: Remove debug messages that are no longer useful
2020-05-16 23:43:47 +03: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
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
b1b61b043b
genesys: Pass whole motor struct to create_slope_table()
2020-05-09 10:34:41 +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
edda9bff25
genesys: Simplify creation of command set
2020-04-17 05:38:43 +03:00
Povilas Kanapickas
ad4c8f5453
genesys: Reduce duplication in led_calibration
2020-04-17 05:23:07 +03:00
Povilas Kanapickas
eec083f46a
genesys: Remove startup position hack on 4400F 4800dpi scans
2020-04-13 07:38:08 +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
db50c91132
genesys: Remove uses of sanei_genesys_get_address()
2020-04-05 06:19:38 +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
4586ae4e56
genesys: Increase consistency of lamp warmup handling
2020-04-09 23:57:04 +03:00
Povilas Kanapickas
40b4852eb7
genesys: Remove unused argument out of sanei_genesys_asic_init
2020-04-09 23:53:30 +03:00
Povilas Kanapickas
ef583d54f2
genesys: Rename dpiset_override to register_dpiset
2020-03-21 00:11:32 +02:00
Povilas Kanapickas
989782bd72
genesys: Simplify dpiset calculation on gl847
2020-03-21 00:11:29 +02:00
Povilas Kanapickas
eb5a643c0a
genesys: Rename register_dpihw_override to register_dpihw
2020-03-21 00:03:45 +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
f06238c97c
genesys: Simplify shading resolution computation on gl847
2020-03-21 00:03:34 +02:00
Povilas Kanapickas
dd16101d44
genesys: Simplify dpihw calculation on gl847
2020-03-21 00:03:31 +02:00
Povilas Kanapickas
6e3713c87d
genesys: Simplify calculation of shading upload parameters on gl847
2020-03-21 00:03:25 +02:00
Povilas Kanapickas
3da269b7de
genesys: Use common code path for memory layouts
2020-03-14 23:19:38 +02:00
Povilas Kanapickas
31fecb8140
genesys: Clean up motor setup on gl847
2020-03-14 23:19:31 +02:00
Povilas Kanapickas
cd43109966
genesys: Deduplicate gain calibration
2020-03-14 23:19:28 +02:00
Povilas Kanapickas
233cb4bd5a
genesys: Use single code path for gain code calculation
2020-03-14 23:19:27 +02:00
Povilas Kanapickas
e0bec6723d
genesys: Deduplicate offset calibration
2020-03-14 23:19:26 +02:00