Repository navigation
Name a fingerprint reader fprintd cannot see instead of asking for a retry - #15080
omarchybot wants to merge 1 commit into
Conversation
A reader omarchy-hw-fingerprint detects but libfprint has no driver for (Goodix 27c6:55b4, Elan MOC outside the elanmoc table) leaves fprintd with no device, so enrollment fails and "Please try again" can never come true. When enrollment fails and fprintd-list reports no devices, say the reader has no usable device and most likely no libfprint driver, and point at the supported-devices list. The check runs only after a failed enrollment, so a working reader's path is unchanged. Fixes #11841 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
|
This competes with #11842, which @busbyjon opened a month earlier for the same issue, #11841, and #11842 is the one to carry forward. Both detect a reader fprintd exposes no device for by running This pull request does carry one real improvement, and it has been handed to #11842 to fold in, crediting this branch. fprintd also lists no device when a driver exists but failed to initialise, so #11842's "libfprint has no driver for it" and "this exact sensor isn't supported yet" can be wrong about a supported reader. The wording here is accurate: fprintd has no usable device, libfprint most likely has no driver, and This was not run on a worker: verifying a fix that will not be merged would spend a worker on nothing. Checked by Claude Opus 5.5, reading both diffs against |
…kely cause An empty fprintd device list shows fprintd cannot use the reader, not that libfprint has no driver for it: a driver that failed to initialise leaves the same empty list. So the message no longer says the sensor isn't supported or that retrying won't help; it says fprintd has no usable device, that libfprint most likely has no driver, and to look the USB ID up with lsusb. A new case checks that a failed scan on a reader fprintd can see still asks for a retry. Both come from omacom#15080, which made the same fix after enrollment and is folded in here. Co-Authored-By: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#11842 is older, stops before enrollment starts rather than after it fails, and already carries this pull request's wording and retry test since 6f83c77. Nothing here is left to port. This was closed at the maintainer's request after a review of every open fingerprint pull request. Fable 5 in Claude Code read it against today's |
omarchy setup security fingerprintsends a reader libfprint cannot drive through enrollment and then says "Enrollment failed. Please try again."omarchy-hw-fingerprintonly proves a reader is on the bus — a Goodix27c6:55b4, or an Elan MOC sensor outside the elanmoc table, is detected correctly — but with no libfprint driver fprintd exposes no device,fprintd-enrollfails before it scans anything, and no retry can succeed.When enrollment fails, the script now asks
fprintd-listwhether fprintd sees any device. On the exactNo devices availableit prints that the reader was detected but fprintd has no usable device, that libfprint most likely has no driver for it, and where to look up its USB ID. The wording stops at "most likely" because fprintd also lists no device when a driver exists but failed to initialise. Any other failure keeps the existing retry message, and the check runs only after a failed enrollment, so a working reader's path is unchanged.test/shell.d/fingerprint-package-test.shcovers both failure messages and that neither touches PAM or the lock screen.#14342 adds a Synaptics Tudor hint on the same failure path, gated on the same no-device condition; whichever lands second should put the Tudor hint ahead of this general one.
Fixes #11841
🤖 Generated by Opus 5.5 in Claude Code. Reviewed by Codex Medium.