Wykres commitów

80 Commity (b9a4054775cd32ef294480dfc0b6f106f55b1dac)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 75b2bd6445 genesys: Fix incorrect calculation of X offsets on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 8532e63194 genesys: Fix incorrect calculation of X offsets on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 1748e625f0 genesys: Fix recovery from interrupted transparency scans on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 8d07515bea Merge branch 'genesys-refactor-motor-handling' into 'master'
genesys: Refactor motor handling

See merge request sane-project/backends!308
2020-01-12 19:26:35 +00:00
Povilas Kanapickas e8e56e33d3 genesys: Make XPA motor mode handling more generic 2020-01-12 10:57:10 +02:00
Povilas Kanapickas 05978e1c8b genesys: Move *_set_xpa_lamp_power() to common command set 2020-01-12 10:57:06 +02:00
Povilas Kanapickas cbb3d98e83 genesys: Move *_set_xpa_motor_power() to common command set 2020-01-12 10:57:05 +02:00
Povilas Kanapickas 8b129b32ff genesys: Simplify handling of xpa motor state on gl843 2020-01-12 10:57:03 +02:00
Povilas Kanapickas 8d2081cda8 genesys: Deduplicate calculation of scan line count 2020-01-04 12:09:23 +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 fd29cae64a genesys: Correctly set LINESEL on 4400F 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 38f988dc39 genesys: Use correct SHDAREA setting on 4400F 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 67638f55b2 genesys: Use a more reasonable backtract distance on gl843 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 2a6081affe genesys: Fix scanning table length calculation on gl843 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 83fa276b90 genesys: Fix bug in setting up motor tables 3,4,5 on gl843 2019-12-22 17:06:38 +02:00
Povilas Kanapickas 48fd80d208 genesys: Simplify handling of motor step multiplier 2019-12-14 10:20:15 +02:00
Povilas Kanapickas 1d7adfcfc1 genesys: Fix naming of step multiplier 2019-12-14 10:20:14 +02:00
Povilas Kanapickas dec9962773 genesys: Make the size of slope tables configurable by asic type 2019-12-14 10:20:09 +02:00
Povilas Kanapickas 7c6229f272 genesys: Rename MotorSlopeTable::{scan_steps -> steps_count} 2019-12-14 10:20:06 +02:00
Povilas Kanapickas 524c9de1fa genesys: Fix calibration exposure in testing mode 2019-12-08 11:42:30 +02:00
Povilas Kanapickas 6a5fd2d36c genesys: Support multiple scan methods in scanner_move() 2019-12-01 10:43:11 +02:00
Povilas Kanapickas 27aea235b4 genesys: Rename slow_back_home() to move_back_home() 2019-12-01 10:43:10 +02:00
Povilas Kanapickas 35c8cb84f8 genesys: Extract slow_back_home_ta() to common code 2019-12-01 10:43:09 +02:00
Povilas Kanapickas 5b7c19a7d5 genesys: Reduce duplication of *_stop_action() across the ASICs 2019-12-01 10:08:59 +02:00
Povilas Kanapickas 9e092f9d67 genesys: Extract scanner_is_motor_stopped() to use across the asics 2019-12-01 10:08:58 +02:00
Povilas Kanapickas c2863d6ba1 genesys: Fix inconsistent check of scanner status in *_stop_action() 2019-12-01 10:08:57 +02:00
Povilas Kanapickas a90ab552a9 genesys: Extract scanner_stop_action_no_move() to use across the asics 2019-12-01 10:08:56 +02:00
Povilas Kanapickas 6913513dc2 genesys: Extract regs_set_optical_off() to use across the ASICs 2019-12-01 10:08:55 +02:00
Povilas Kanapickas 052aa01626 genesys: Reduce duplication of *_feed() across different ASICs 2019-12-01 10:08:54 +02:00
Povilas Kanapickas e435036b97 genesys: Use single function to set exposure on all ASICs 2019-12-01 10:08:53 +02:00
Povilas Kanapickas f98bec2afb genesys: Use full scan initialization in slow_back_home_ta() 2019-11-30 19:19:21 +02:00
Povilas Kanapickas 8aee1f0982 genesys: Expose slow_back_home_ta() to the cmd set 2019-11-30 19:19:18 +02:00
Povilas Kanapickas 97ae3fc946 genesys: Reduce duplication of slow_back_home() across different asics 2019-11-30 19:06:52 +02:00
Povilas Kanapickas cba6086ce7 genesys: Expose init_regs_for_scan_session() to the cmd set 2019-11-30 19:06:51 +02:00
Povilas Kanapickas 6626453804 genesys: Reduce duplication of scanner status printing 2019-11-30 19:06:46 +02:00
Povilas Kanapickas df8a411de3 genesys: Extract reliable reading of home sensor to separate function 2019-11-30 19:06:45 +02:00
Povilas Kanapickas 2ca325c638 genesys: Simplify scanner status handling 2019-11-30 19:06:44 +02:00
Povilas Kanapickas 7385e0d305 genesys: Simplify get_gain4_bit() implementation 2019-11-30 19:06:43 +02:00
Povilas Kanapickas 3ada79c35a genesys: Move motor direction register adjustment to low level functions 2019-11-30 19:06:42 +02:00
Povilas Kanapickas 50149e9064 genesys: Use enum class for motor flags 2019-11-30 19:06:41 +02:00
Povilas Kanapickas 837ec33c7f genesys: Make scan flags an enum 2019-11-23 12:38:51 +02:00
Povilas Kanapickas 05e3091d5f genesys: Remove duplication of motor startup 2019-11-23 12:38:50 +02:00
Povilas Kanapickas 9cd373fe6c genesys: Return MotorSlopeTable out of sanei_genesys_slope_table() 2019-11-23 12:38:49 +02:00
Povilas Kanapickas 63b0366b43 genesys: Store motor profile tables in std::vector 2019-11-23 12:38:48 +02:00
Povilas Kanapickas 34bba237b5 genesys: Don't select motor profile twice during setup of same scan 2019-11-23 12:38:45 +02:00
Povilas Kanapickas ce59a69224 genesys: Record motor slope tables in the config test 2019-11-23 12:38:40 +02:00
Povilas Kanapickas 10662d2973 genesys: Remove uses of SETREG and INITREG macros 2019-11-23 15:32:45 +02:00
Povilas Kanapickas 6d9259bd48 genesys: Put chip-specific functionality into namespaces 2019-11-23 15:32:45 +02:00
Povilas Kanapickas f366073b08 genesys: Add initial support for flatbed mode on Canon 4400F 2019-11-23 14:54:10 +02:00