Skip to content

Enroll fails on Thinkpad P51 (138a:0097), Linux Mint #268

Open

Description

@Jakeory1

Laptop: Lenovo Thinkpad P51
System: Linux Mint 22.3
Fingerprint-Reader: Bus 001 Device 003: ID 138a:0097 Validity Sensors, Inc.

All the steps in "Setting Up" worked fine, until I got to $ fprintd-enroll. The light above the fingerprint reader lights up; When I place my finger on it and lift it, the stage gets passed, but in the end the enroll fails:

Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-failed

I have tried many times but always get the same result and I couldn't find any issue that seemed to solve this.
The following is the result from $ sudo systemctl status python3-validity:

● python3-validity.service - python-validity driver dbus service
     Loaded: loaded (/usr/lib/systemd/system/python3-validity.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-06-29 21:24:09 CEST; 23min ago
   Main PID: 5846 (python3)
      Tasks: 3 (limit: 18644)
     Memory: 20.4M (peak: 21.7M)
        CPU: 2.039s
     CGroup: /system.slice/python3-validity.service
             └─5846 python3 /usr/lib/python-validity/dbus-service --debug

Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:>tls> 17: 4705000b000300880a02000300600a20000100380a0000000a0000000071f4ec0f54d42e84d697353fbac2ecf07960b6fce984b1852ee30570228b864c86650b0f524728579933d3ce82e65ebc0e5fbbd831f2>
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:>cmd> 1703030ad0a7a815eb99c42008320b55f30fc2c9d2c358a21cb4bdb0ada0db12012775042bda842100ae9f4592592a5c485295e286bedfd016bb41dd2bd4c5623b12cbbdccf04734aa70cb10f761798d4a0bb50fba>
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:<cmd< 17030300406345a316e16ec9b90c1520a0603acc648439abe8bcb7f2822f4958c5eb9fc0f6009e5e442a23d928005c67529e954427686579bba7bdd5c634fc862eedfce488
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:<tls< 17: c304
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:>tls> 17: 1a
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:>cmd> 170303004076fce0346900aab00d6cea65f5a261babae8333c6636df8177d6653fd471bf1bdfab1a345eff13f40a07098ac4ee76572375a106323d604a687ae679032f1635
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:<cmd< 17030300400d2f662643232bda031ba747f045973c357793fe96f760e2e09f0cef635317eab55a79b69bdcda2582f9398b5b52bd499b0cd6355ec3f0a79a3084be63f68ff3
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:<tls< 17: 0000
Jun 29 21:40:53 jakeory-ThinkPad-P51 ERROR:root:Failed[5846]: 04c3
                                                            Traceback (most recent call last):
                                                              File "/usr/lib/python-validity/dbus-service", line 159, in run
                                                                sensor.enroll(usr, index, update_cb)
                                                              File "/usr/lib/python3/dist-packages/validitysensor/sensor.py", line 854, in enroll
                                                                return do_create_finger(template, tid)
                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                              File "/usr/lib/python3/dist-packages/validitysensor/sensor.py", line 820, in do_create_finger
                                                                recid = db.new_finger(usr, tinfo)
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^
                                                              File "/usr/lib/python3/dist-packages/validitysensor/db.py", line 235, in new_finger
                                                                rec = self.new_record(userid, 0xb, stg.dbid, template)
                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                              File "/usr/lib/python3/dist-packages/validitysensor/db.py", line 218, in new_record
                                                                assert_status(rsp)
                                                              File "/usr/lib/python3/dist-packages/validitysensor/util.py", line 12, in assert_status
                                                                raise Exception('Failed: %04x' % s)
                                                            Exception: Failed: 04c3
Jun 29 21:40:53 jakeory-ThinkPad-P51 python3[5846]: DEBUG:root:EnrollStatus

Does anyone have an idea what the issue might be or how I can find out?

I'd very much appreciate any help! :)

Activity

  1. dmitriy-myz commented on Jul 3, 2026

    @dmitriy-myz

    @Jakeory1 have you tried to specify finger on fprintd-enroll? From error it seems like it tries to write finger over already existed one. E.g. try to use fprintd-enroll -f left-index-finger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions