elanspi 04f3:3104, cannot identify or verify fingerprint, enroll works though.
Hi,
I am have a Asus x571gt-bq098t that has a elan touchpad with a fingerprint reader on the top right corner.
I realized that someone already wrote the driver for the spi devices (yay!). The orientation is ELANSPI_90RIGHT_ROTATE. So, I tried to test run it. I compiled the library from source (f20b8bc3).
I don't use fprint system-wide (yet) so I just used the examples: enroll, img-capture, and verify.
img-capture
works. enroll
also works but somehow, verify
and identify
always fails.
Logs for 'verify'
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.345: stddev=133d, ip=41, is_fp=0, is_empty=2
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.345: got empty
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.345: have enough debounce
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.345: have enough frames, submitting
(process:371604): libfprint-assembling-DEBUG: 01:09:22.402: calc delta completed in 0.056676 secs
(process:371604): libfprint-assembling-DEBUG: 01:09:22.455: calc delta completed in 0.053503 secs
(process:371604): libfprint-assembling-DEBUG: 01:09:22.455: errors: 141474 rev: 121410
(process:371604): libfprint-assembling-DEBUG: 01:09:22.455: height is -282
(process:371604): libfprint-image_device-DEBUG: 01:09:22.457: Image device captured an image
(process:371604): libfprint-image_device-DEBUG: 01:09:22.457: Image device internal state change from FPI_IMAGE_DEVICE_STATE_CAPTURE to FPI_IMAGE_DEVICE_STATE_AWAIT_FINGER_OFF
(process:371604): libfprint-device-DEBUG: 01:09:22.457: Device reported finger status change: FP_FINGER_STATUS_PRESENT
(process:371604): libfprint-SSM-DEBUG: 01:09:22.457: [elanspi] ELANSPI_FPCAPT_NSTATES entering state 5
(process:371604): libfprint-SSM-DEBUG: 01:09:22.457: [elanspi] ELANSPI_CAPTHV_NSTATES entering state 0
(process:371604): libfprint-SSM-DEBUG: 01:09:22.469: [elanspi] ELANSPI_CAPTHV_NSTATES completed successfully
(process:371604): libfprint-SSM-DEBUG: 01:09:22.469: [elanspi] ELANSPI_FPCAPT_NSTATES entering state 6
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.469: stddev=118d, ip=50, is_fp=0, is_empty=2
(process:371604): libfprint-SSM-DEBUG: 01:09:22.469: [elanspi] ELANSPI_FPCAPT_NSTATES entering state 5
(process:371604): libfprint-SSM-DEBUG: 01:09:22.469: [elanspi] ELANSPI_CAPTHV_NSTATES entering state 0
(process:371604): libfprint-SSM-DEBUG: 01:09:22.481: [elanspi] ELANSPI_CAPTHV_NSTATES completed successfully
(process:371604): libfprint-SSM-DEBUG: 01:09:22.481: [elanspi] ELANSPI_FPCAPT_NSTATES entering state 6
(process:371604): libfprint-elanspi-DEBUG: 01:09:22.481: stddev=98d, ip=49, is_fp=0, is_empty=2
(process:371604): libfprint-device-DEBUG: 01:09:22.481: Device reported finger status change: FP_FINGER_STATUS_NONE
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Image device reported finger status: off
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Image device internal state change from FPI_IMAGE_DEVICE_STATE_AWAIT_FINGER_OFF to FPI_IMAGE_DEVICE_STATE_IDLE
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Deactivating image device
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Image device internal state change from FPI_IMAGE_DEVICE_STATE_IDLE to FPI_IMAGE_DEVICE_STATE_DEACTIVATING
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Image device deactivation completed
(process:371604): libfprint-image_device-DEBUG: 01:09:22.481: Image device internal state change from FPI_IMAGE_DEVICE_STATE_DEACTIVATING to FPI_IMAGE_DEVICE_STATE_INACTIVE
(process:371604): libfprint-SSM-DEBUG: 01:09:22.481: [elanspi] ELANSPI_FPCAPT_NSTATES completed successfully
(process:371604): libfprint-image-DEBUG: 01:09:22.483: Minutiae scan completed in 0.026190 secs
(process:371604): libfprint-print-DEBUG: 01:09:22.483: score 0/24
(process:371604): libfprint-print-DEBUG: 01:09:22.483: score 0/24
(process:371604): libfprint-print-DEBUG: 01:09:22.483: score 4/24
(process:371604): libfprint-print-DEBUG: 01:09:22.483: score 3/24
(process:371604): libfprint-print-DEBUG: 01:09:22.483: score 5/24
(process:371604): libfprint-print-DEBUG: 01:09:22.484: score 11/24
(process:371604): libfprint-print-DEBUG: 01:09:22.484: score 5/24
(process:371604): libfprint-device-DEBUG: 01:09:22.484: Device reported verify result
(process:371604): libfprint-DEBUG: 01:09:22.484: written to 'verify.pgm'
Print image saved as verify.pgm
(process:371604): libfprint-DEBUG: 01:09:22.484: Match report: Finger not matched
NO MATCH!
I have also attached sample files using someone else's finger. enrolled.pgm verify.pgm