Find a file
FIM43-Redeye 7893c2cb36 goodixmoc: Wait for finger removal before completing verify
The goodixmoc driver's verify state machine was missing a
WAIT_FINGER_UP state between IDENTIFY and PWR_BTN_SHIELD_OFF.
After the sensor reported a match/no-match result, the driver
immediately completed the verify operation without waiting for
the finger to be lifted from the sensor.

This caused problems when fprintd retried verification after a
no-match: the finger was still on the sensor, so the same
(wrong) finger was scanned again instantly. On fast match-on-chip
readers, all retry attempts could be exhausted in under a second,
giving the user no time to reposition their finger.

Add GOODIX_VERIFY_WAIT_FINGER_UP to the verify state machine,
mirroring the existing GOODIX_ENROLL_WAIT_FINGER_UP in the
enroll flow. The new state sends MOC_CMD0_FINGER_MODE /
MOC_CMD1_SET_FINGER_UP to the sensor and waits for the finger
to be removed before advancing to PWR_BTN_SHIELD_OFF.

The callback handles the same cases as the enroll equivalent:
- Timeout (5s): retry the finger-up wait
- Protocol error: fail the SSM
- Success: clear FINGER_STATUS_PRESENT and advance

Link: https://gitlab.freedesktop.org/libfprint/fprintd/-/issues/209
2026-03-17 17:55:38 +00:00
.ci ci: Add ABI check 2019-08-05 20:05:13 +02:00
.gitlab-ci ci: Add PyGObject symbols 2026-02-10 06:33:00 +01:00
data focaltech_moc: add new pid:0x077A pid:0x079A 2026-02-12 17:09:41 +08:00
demo scripts/uncrustify: Use 2-spaces indentation for defines too 2025-02-20 15:50:46 +00:00
doc build: Stop using deprecated dep.get_pkgconfig_variable() method 2024-02-20 01:02:00 +01:00
examples examples/clear-storage: Remove local storage for devices without storage 2025-02-20 16:37:11 +01:00
libfprint goodixmoc: Wait for finger removal before completing verify 2026-03-17 17:55:38 +00:00
scripts scripts/uncrustify: Use 2-spaces indentation for defines too 2025-02-20 15:50:46 +00:00
tests tests/valgrind-python.supp: Ignore PyGObject leaks 2026-02-10 06:33:00 +01:00
.git-blame-ignore-revs .git-blame-ignore-revs: Ignore formatting commit and add hint how to use it 2020-12-07 19:01:10 +01:00
.gitignore gitignore: Remove autotools ignores, add _build 2020-02-10 11:41:40 +01:00
.gitlab-ci.yml ci: Make jobs interrumpible 2026-02-10 06:35:26 +01:00
AUTHORS AUTHORS: Update 2012-12-14 13:17:24 +01:00
code-of-conduct.md Add code of conduct document 2019-07-25 12:04:39 +02:00
COPYING upekts relicensing 2007-11-15 09:54:35 +00:00
gcovr.cfg gcovr: Add gcovr project configuration 2025-08-01 01:42:01 +02:00
HACKING.md HACKING: Clarify the intent of the license 2019-08-05 13:37:28 +02:00
INSTALL INSTALL: Update for Meson 2018-05-18 01:16:30 +02:00
MAINTAINERS Add MAINTAINERS file 2020-05-22 15:00:11 +02:00
meson.build Release 1.94.10 2026-02-10 03:18:14 +01:00
meson_options.txt tests: Add support for installed tests 2023-06-28 16:35:16 +02:00
NEWS Release 1.94.10 2026-02-10 03:18:14 +01:00
README.md README: Add contact information 2024-05-03 15:35:11 +02:00
THANKS Thanks to Greg and Martin from AuthenTec 2012-11-29 09:51:55 +01:00

LibFPrint

LibFPrint is part of the FPrint project.


Button Website Button Documentation

Button Supported Button Unsupported

Button Contribute Button Contributors

History

LibFPrint was originally developed as part of an academic project at the University Of Manchester.

It aimed to hide the differences between consumer fingerprint scanners and provide a single uniform API to application developers.

Goal

The ultimate goal of the FPrint project is to make fingerprint scanners widely and easily usable under common Linux environments.

License

Section 6 of the license states that for compiled works that use this library, such works must include LibFPrint copyright notices alongside the copyright notices for the other parts of the work.

LibFPrint includes code from NIST's NBIS software distribution.

We include Bozorth3 from the US Export Controlled distribution, which we have determined to be fine being shipped in an open source project.

Get in touch

  • IRC - #fprint @ irc.oftc.net
  • Matrix - #fprint:matrix.org bridged to the IRC channel
  • MailingList - low traffic, not much used these days

Badge License