The driver relied on a running finger-detection or capture callback to observe the deactivating flag and call complete_deactivation(). When the async loop was broken by a session error from a terminal callback (such as capture_sm_complete), no further iteration was left to notice the flag, so the deactivation never completed. Rather than scatter complete_deactivation() calls after every fpi_image_device_session_error(), track whether an operation is actually pending with an "active" flag and let dev_deactivate() complete the request itself when nothing is in flight. This keeps the deactivation lifecycle owned by dev_deactivate.
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.orgbridged to the IRC channel - MailingList - low traffic, not much used these days