Povilas Kanapickas
f856a3dacf
genesys: Return errors as exceptions from *read_hregister()
2019-07-14 23:40:35 +03:00
Povilas Kanapickas
a79f1404f3
genesys: Return errors as exceptions from *bulk_read_data()
2019-07-14 23:40:34 +03:00
Povilas Kanapickas
5c32aefd0f
genesys: Implement transparency scanning support for 8400F
2019-07-20 03:11:24 +03:00
Povilas Kanapickas
ab2952d1df
genesys: Add support for regular scans on CanoScan 8400F
2019-07-20 03:11:23 +03:00
Povilas Kanapickas
0c1dded259
genesys: Enable support for CanoScan 8400F
2019-07-20 03:11:22 +03:00
Povilas Kanapickas
6d6dbd81d3
genesys: Improve documentation of Genesys_Model struct
2019-07-13 04:14:47 +03:00
Povilas Kanapickas
644314bdad
genesys: Put 0x72/0x73 registers to sensor definition on GL843
2019-07-13 04:14:46 +03:00
Povilas Kanapickas
1a5e3944b3
genesys: Add option to get a raw scan ignoring offsets
2019-07-13 04:14:45 +03:00
Povilas Kanapickas
144ed1f29b
genesys: Implement infrared channel support for 8600F
2019-07-13 04:14:44 +03:00
Povilas Kanapickas
78cdb347be
genesys: Fix lperiod on transparency scans on 8600F
2019-07-13 04:14:43 +03:00
Povilas Kanapickas
3137639aca
genesys: Make scan method explicit when selecting sensor
2019-07-13 04:14:42 +03:00
Povilas Kanapickas
c96a34f4a8
genesys: Fix partial width during calibration support
2019-07-13 04:14:41 +03:00
Povilas Kanapickas
7e2a1eed97
genesys: Fix alignment of lamp and sensor during of transparency scan
...
The calibration area does not necessarily need to be at the zero
position. We may need to drive sensor to the lamp and then drive both to
the calibration.
2019-07-13 04:14:40 +03:00
Povilas Kanapickas
7d32dca50e
genesys: Sync GPIO with window driver on transparency scans on 8600F
2019-07-13 04:14:39 +03:00
Povilas Kanapickas
0db759d996
genesys: Don't enable buggy behavior on newly supported scanners
2019-07-13 04:14:38 +03:00
Povilas Kanapickas
ac6ccfc184
genesys: Repark before regs are setup in white_shading_calibration()
...
Reparking after registers have been setup is very brittle approach, as
it must preserve everything intact.
2019-07-02 23:30:53 +03:00
Povilas Kanapickas
af0f8e7e46
genesys: Improve gain calibration on GL843
2019-07-02 23:30:50 +03:00
Povilas Kanapickas
74854a85aa
genesys: Reinit registers for shading again before white shading
2019-07-02 23:30:48 +03:00
Povilas Kanapickas
a5c5ea56ad
genesys: Add debug markers to data captured during calibration
2019-07-02 23:30:47 +03:00
Povilas Kanapickas
1491a1067e
Merge branch 'genesys-usb-capture-debug-msg' into 'master'
...
genesys: Add a way to record debug messages to USB captures
See merge request sane-project/backends!95
2019-08-08 17:49:06 +00:00
Povilas Kanapickas
aa6bdba74d
genesys: Add a way to record debug messages to USB captures
2019-08-08 20:33:49 +03:00
Povilas Kanapickas
0fc4eb80e3
Merge branch 'genesys-cleanup' into 'master'
...
genesys: Various cleanups
See merge request sane-project/backends!94
2019-08-08 16:51:43 +00:00
Ralph Little
eae96342d8
Merge branch 'text_corrections' into 'master'
...
Some fixes to US messages in source.
See merge request sane-project/backends!91
2019-08-08 16:44:19 +00:00
Olaf Meeuwissen
1be824f2c5
Merge branch 'sanei-usb-testing-mode' into 'master'
...
sanei: Support capture and replay of USB data for testing
See merge request sane-project/backends!55
2019-08-08 14:01:30 +00:00
Olaf Meeuwissen
953ed4c2b0
mustek_usb2: Fix sprintf invocation. Fixes #110
2019-08-08 21:41:22 +09:00
Ralph Little
fdc23d129a
1) Correct some spelling mistakes
...
2) Convert some British spellings to US
3) Modified some longer sentences to improve readability.
4) Modified en_GB to suit
2019-08-05 20:54:18 -07:00
Povilas Kanapickas
a8a5f58f21
genesys: Add tests for serialization of calibration data
2019-07-23 02:00:44 +03:00
Povilas Kanapickas
25ed10029c
genesys: Make set_calibration_value() more robust
2019-07-23 02:00:43 +03:00
Povilas Kanapickas
b9fb97e0f7
genesys: Make serialization of calibration data less error prone
2019-07-23 02:00:42 +03:00
Olaf Meeuwissen
cb81717341
.gitignore: more build artifacts
2019-07-14 17:09:33 +09:00
Povilas Kanapickas
4742f21318
Fix invocations of memset with incorrect size
2019-07-06 22:14:11 +03:00
Povilas Kanapickas
34d378347c
genesys: Remove unused register read
2019-07-06 21:02:28 +03:00
Povilas Kanapickas
8c9d6d7208
genesys: Read the value of CKSEL from the sensor definition directly
2019-07-06 21:02:27 +03:00
Povilas Kanapickas
1a641316b0
genesys: Remove duplicate entry of Canon 5600F in config file
2019-07-06 21:02:26 +03:00
Povilas Kanapickas
f84f1b9d42
genesys: Sort the initial register map by register on GL843
2019-07-06 21:02:25 +03:00
Povilas Kanapickas
a6a09f5dc5
genesys: Don't reuse non-applicable macro just because its value matches
2019-07-06 21:02:24 +03:00
Povilas Kanapickas
f4d5fd4ad6
genesys: Add a way to dump Genesys_Register_Set to debug
2019-07-06 21:02:23 +03:00
Povilas Kanapickas
640fa9dbba
genesys: Always initialize status variable
2019-07-06 02:30:08 +03:00
Povilas Kanapickas
0454f42c36
genesys: Report USB errors via exceptions to reduce code duplication
2019-07-06 02:30:08 +03:00
Povilas Kanapickas
b9cd547aea
genesys: Support printf-like messages in debug helper
2019-07-06 02:10:06 +03:00
Povilas Kanapickas
22b7fb5105
genesys: Move more error functionality to genesys_error.{h,cc}
2019-07-06 02:10:05 +03:00
Povilas Kanapickas
942f3fbbf7
genesys: Move error-related functions to separate header
2019-07-06 02:10:04 +03:00
Povilas Kanapickas
9d07e2108a
genesys: Support message argument to exceptions
2019-07-06 02:10:03 +03:00
Povilas Kanapickas
14bbe802db
genesys: Move move_to_ta() calls out of *_init_regs_for_*()
2019-06-30 14:05:29 +03:00
Povilas Kanapickas
a92187edad
genesys: Move moving to home out of *_init_regs_for_scan()
2019-06-30 14:05:28 +03:00
Povilas Kanapickas
442ffd0486
genesys: Move waiting for motor stop out of *_init_regs_for_scan()
2019-06-30 14:05:27 +03:00
Povilas Kanapickas
bba75702b6
genesys: Add utility to print debug messages upon function exit
2019-06-30 14:05:26 +03:00
Povilas Kanapickas
397994b215
genesys: Make exposure configuration more consistent
2019-06-30 14:05:25 +03:00
Povilas Kanapickas
1e7da8638e
genesys: Use a more descriptive filename for coarse gain debug images
2019-06-30 14:05:24 +03:00
Povilas Kanapickas
6d11f6df25
genesys: Fix support for large exposures on GL843
2019-06-30 14:05:23 +03:00