diff --git a/libfprint/drivers/elan.h b/libfprint/drivers/elan.h index c2f9a66..0aac905 100644 --- a/libfprint/drivers/elan.h +++ b/libfprint/drivers/elan.h @@ -39,12 +39,15 @@ #define ELAN_MIN_CALIBRATION_FW 0x0138 /* max difference between background image mean and calibration mean - * (the response value of get_calib_mean_cmd)*/ -#define ELAN_CALIBRATION_MAX_DELTA 500 + * (the response value of get_calib_mean_cmd). + * Set very high to skip active recalibration — background is always + * re-captured at activation, and the recalibration handshake is + * unreliable on some devices (e.g. 04f3:0c6e). */ +#define ELAN_CALIBRATION_MAX_DELTA 65535 /* times to retry reading calibration status during one session * generally prevents calibration from looping indefinitely */ -#define ELAN_CALIBRATION_ATTEMPTS 30 +#define ELAN_CALIBRATION_ATTEMPTS 100 /* min and max frames in a capture */ #define ELAN_MIN_FRAMES 1