Wykres commitów

218 Commity (144ed1f29b5d6869d40dc495edb5fda813a0de4c)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 3137639aca genesys: Make scan method explicit when selecting sensor 2019-07-13 04:14:42 +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 8c9d6d7208 genesys: Read the value of CKSEL from the sensor definition directly 2019-07-06 21:02:27 +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 a8a5f58f21 genesys: Add tests for serialization of calibration data 2019-07-23 02:00:44 +03:00
Povilas Kanapickas b9fb97e0f7 genesys: Make serialization of calibration data less error prone 2019-07-23 02:00:42 +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 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 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 f41440ef9f genesys: Extract debug_dump for Genesys_Current_Setup 2019-06-30 14:05:22 +03:00
Povilas Kanapickas 3050f50b25 genesys: Add a macro to convert status return to exception 2019-06-30 14:05:17 +03:00
Povilas Kanapickas 1685e6e863 genesys: Return bool out of *_is_compatible_calibration() 2019-06-30 14:05:16 +03:00
Povilas Kanapickas eaa4cb7766 genesys: Return void out of *_calculate_current_setup() 2019-06-30 14:05:15 +03:00
Povilas Kanapickas 4d4b3be12d genesys: Cache logical lamp and XPA state in register set 2019-06-08 14:04:28 +03:00
Povilas Kanapickas 5b788022dc genesys: Extract sanei_genesys_set_motor_power() 2019-06-08 14:04:25 +03:00
Povilas Kanapickas 57480021dd genesys: Extract sanei_genesys_set_lamp_power() 2019-06-08 14:04:24 +03:00
Povilas Kanapickas 8d5ff56ee9 genesys: Use scan method out of setup params for cache comparison 2019-06-08 14:04:23 +03:00
Povilas Kanapickas bf0ed8ed09 genesys: Store scan method within params struct 2019-06-08 14:04:22 +03:00
Povilas Kanapickas be19edfd72 genesys: Store setup params to current setup struct 2019-06-08 14:04:21 +03:00
Povilas Kanapickas bf395270e8 genesys: Refactor color filter into an enum 2019-06-08 14:04:16 +03:00
Povilas Kanapickas 0ffbd6c023 genesys: Specify underlying types of enums 2019-06-08 14:04:15 +03:00
Povilas Kanapickas cd7186965b genesys: Don't use floating point numbers in SetupParams unnecessarily 2019-06-08 14:04:14 +03:00
Povilas Kanapickas ca070fb569 genesys: Extract function to dump SetupParams to debug 2019-06-08 14:04:13 +03:00
Povilas Kanapickas 8184699bbf genesys: Allocate GL646 slope tables on stack 2019-06-08 14:04:08 +03:00
Povilas Kanapickas 50f5007b3d genesys: Reuse SetupParams on GL124 code 2019-06-08 14:04:02 +03:00
Povilas Kanapickas 319a5082ac genesys: Remove unused command set API 2019-06-08 14:04:01 +03:00
Povilas Kanapickas d92bfd1e9e genesys: Remove unused fields out of Genesys_Settings struct 2019-06-08 14:04:00 +03:00
Povilas Kanapickas efd7723a4f genesys: Deduplicate dumping of Genesys_Current_Setup to logs 2019-06-08 14:03:59 +03:00
Povilas Kanapickas 7020001ba7 genesys: Remove unused ScanColorMode::COLOR_MULTI_PASS 2019-06-08 14:03:58 +03:00
Povilas Kanapickas 6e657e3eac genesys: Refactor scan color mode into an enum 2019-06-08 14:03:57 +03:00
Povilas Kanapickas 723426d78b genesys: Don't use dev->calib_reg directly when possible 2019-06-08 14:03:56 +03:00
Povilas Kanapickas c09370eab4 genesys: Add support for selecting infrared channel 2019-06-08 14:03:55 +03:00
Povilas Kanapickas a63c8a5f8c genesys: Support more than two scan methods 2019-06-08 14:03:54 +03:00
Povilas Kanapickas f1e583aea8 genesys: Refactor scan method into an enum 2019-06-08 14:03:53 +03:00
Povilas Kanapickas 3f184b795f genesys: Simplify sensor handling 2019-06-08 14:03:47 +03: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 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 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