[fprintd] debug 'fprintd-enroll' and 'fprintd-verify'
I managed to get some matches now by fprintd
. For that I enabled debug mode like this:
In any case please, edit /lib/systemd/system/fprintd.service
adding Environment=G_MESSAGES_DEBUG=all, then in a terminal run
journalctl --unit fprint.service -f, while in another fprintd-enroll
and give me the log of fprintd please.
If you don't want change the .service file you can also just run
sudo env G_MESSAGES_DEBUG=all /usr/lib/fprintd -t
(may need to systemctl stop fprintd first) in a terminal,
and the enroll tool in another, and give me the daemon log
journalctl gave me nada, but the terminal did:
~/.../build/Test >>> sudo env G_MESSAGES_DEBUG=all /usr/lib/fprintd -t
(fprintd:2751): fprintd-DEBUG: 16:28:30.557: About to load configuration file '/etc/fprintd.conf'
(fprintd:2751): fprintd-DEBUG: 16:28:30.557: Launching FprintObject
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.568: No driver found for USB device 1D6B:0003
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 8087:0029
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 1D6B:0002
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 05E3:0626
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 05E3:0626
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 1D6B:0003
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 0461:0010
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 046D:C52B
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 05E3:0610
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 05E3:0610
(fprintd:2751): libfprint-context-DEBUG: 16:28:30.569: No driver found for USB device 1D6B:0002
(fprintd:2751): fprintd-DEBUG: 16:28:30.572: D-Bus service launched with name: net.reactivated.Fprint
(fprintd:2751): fprintd-DEBUG: 16:28:30.572: entering main loop
(fprintd:2751): fprintd-DEBUG: 16:29:01.341: user 'beelink' claiming the device: 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.451: [pa_primex] INIT_DONE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.451: [pa_primex] INIT_DONE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.451: [pa_primex] INIT_DONE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:29:01.451: Device reported open completion
(fprintd:2751): libfprint-device-DEBUG: 16:29:01.452: Completing action FPI_DEVICE_ACTION_OPEN in idle!
(fprintd:2751): fprintd-DEBUG: 16:29:01.452: claimed device 0
(fprintd:2751): fprintd-DEBUG: 16:29:01.457: start enrollment device 0 finger 7
(fprintd:2751): libfprint-WARNING **: 16:29:01.457: Error loading storage, assuming it is empty
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.457: [pa_primex] ENROLL_UPDATE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.457: [pa_primex] ENROLL_UPDATE entering state 1
(fprintd:2751): libfprint-DEBUG: 16:29:01.458: PixelAut: handle_get_list number 0
buf len = 10
0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.458: [pa_primex] ENROLL_UPDATE entering state 2
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.458: [pa_primex] ENROLL_UPDATE entering state 3
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:01.458: [pa_primex] ENROLL_UPDATE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:29:09.980: Device reported enroll progress, reported 1 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:09.980: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:11.192: Device reported enroll progress, reported 1 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:11.192: enroll_stage_cb: result enroll-finger-not-centered
(fprintd:2751): libfprint-device-DEBUG: 16:29:12.324: Device reported enroll progress, reported 2 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:12.325: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:12.965: Device reported enroll progress, reported 3 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:12.966: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:13.717: Device reported enroll progress, reported 4 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:13.717: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:14.464: Device reported enroll progress, reported 4 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:14.464: enroll_stage_cb: result enroll-remove-and-retry
(fprintd:2751): libfprint-device-DEBUG: 16:29:15.185: Device reported enroll progress, reported 5 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:15.185: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:15.953: Device reported enroll progress, reported 6 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:15.953: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:16.310: Device reported enroll progress, reported 6 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:16.310: enroll_stage_cb: result enroll-finger-not-centered
(fprintd:2751): libfprint-device-DEBUG: 16:29:16.753: Device reported enroll progress, reported 6 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:16.753: enroll_stage_cb: result enroll-remove-and-retry
(fprintd:2751): libfprint-device-DEBUG: 16:29:17.357: Device reported enroll progress, reported 7 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:17.357: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:17.898: Device reported enroll progress, reported 7 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:17.898: enroll_stage_cb: result enroll-finger-not-centered
(fprintd:2751): libfprint-device-DEBUG: 16:29:18.282: Device reported enroll progress, reported 7 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:18.282: enroll_stage_cb: result enroll-remove-and-retry
(fprintd:2751): libfprint-device-DEBUG: 16:29:18.968: Device reported enroll progress, reported 7 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:18.968: enroll_stage_cb: result enroll-finger-not-centered
(fprintd:2751): libfprint-device-DEBUG: 16:29:20.070: Device reported enroll progress, reported 8 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:20.070: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:20.846: Device reported enroll progress, reported 8 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:20.846: enroll_stage_cb: result enroll-remove-and-retry
(fprintd:2751): libfprint-device-DEBUG: 16:29:21.680: Device reported enroll progress, reported 9 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:21.680: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:22.535: Device reported enroll progress, reported 10 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:22.535: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:23.413: Device reported enroll progress, reported 11 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:23.413: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-device-DEBUG: 16:29:24.387: Device reported enroll progress, reported 16 of 16 have been completed
(fprintd:2751): fprintd-DEBUG: 16:29:24.387: enroll_stage_cb: result enroll-stage-passed
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:24.387: [pa_primex] ENROLL_DONE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:24.387: [pa_primex] ENROLL_DONE entering state 1
(fprintd:2751): libfprint-DEBUG: 16:29:24.387: PixelAut: handle_get_list number 1
buf len = 10
0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
(fprintd:2751): libfprint-SSM-DEBUG: 16:29:24.387: [pa_primex] ENROLL_DONE completed successfully
(fprintd:2751): libfprint-DEBUG: 16:29:24.387: PixelAut:enroll done finger 7
(fprintd:2751): libfprint-WARNING **: 16:29:24.387: Error loading storage, assuming it is empty
(fprintd:2751): libfprint-device-DEBUG: 16:29:24.387: Device reported enroll completion
(fprintd:2751): libfprint-device-DEBUG: 16:29:24.387: Completing action FPI_DEVICE_ACTION_ENROLL in idle!
(fprintd:2751): fprintd-DEBUG: 16:29:24.387: enroll_cb: result enroll-completed
(fprintd:2751): GLib-GObject-CRITICAL **: 16:29:24.389: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(fprintd:2751): libfprint-DEBUG: 16:29:24.397: 968337731: ../libfprint/libfprint/drivers/pa_primex.c:453
(fprintd:2751): libfprint-device-DEBUG: 16:29:24.397: Device reported close completion
(fprintd:2751): libfprint-device-DEBUG: 16:29:24.397: Completing action FPI_DEVICE_ACTION_CLOSE in idle!
(fprintd:2751): fprintd-DEBUG: 16:29:24.397: released device 0
(fprintd:2751): fprintd-DEBUG: 16:29:56.987: file_storage_discover_prints() for user 'beelink' in '/var/lib/fprint/beelink/pa_primex/0'
(fprintd:2751): fprintd-DEBUG: 16:30:13.150: user 'beelink' claiming the device: 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.261: [pa_primex] INIT_DONE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.261: [pa_primex] INIT_DONE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.261: [pa_primex] INIT_DONE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:30:13.262: Device reported open completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:13.262: Completing action FPI_DEVICE_ACTION_OPEN in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:13.262: claimed device 0
(fprintd:2751): fprintd-DEBUG: 16:30:13.268: file_storage_discover_prints() for user 'beelink' in '/var/lib/fprint/beelink/pa_primex/0'
(fprintd:2751): fprintd-DEBUG: 16:30:13.272: start verification device 0 finger 7
(fprintd:2751): fprintd-DEBUG: 16:30:13.272: file_storage_print_data_load(): loaded '/var/lib/fprint/beelink/pa_primex/0/7' Success
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.272: [pa_primex] VERIFY_UPDATE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.273: [pa_primex] VERIFY_UPDATE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:13.273: [pa_primex] VERIFY_UPDATE completed successfully
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:15.072: [pa_primex] VERIFY_FINAL entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:15.073: [pa_primex] VERIFY_FINAL entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:15.073: [pa_primex] VERIFY_FINAL completed successfully
(fprintd:2751): libfprint-DEBUG: 16:30:15.073: get_dev_index /dev//0
(fprintd:2751): libfprint-device-DEBUG: 16:30:15.073: Device reported verify result
(fprintd:2751): libfprint-device-DEBUG: 16:30:15.073: Device reported verify completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:15.073: Completing action FPI_DEVICE_ACTION_VERIFY in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:15.073: verify_cb: result verify-match
(fprintd:2751): GLib-GObject-CRITICAL **: 16:30:15.073: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(fprintd:2751): libfprint-DEBUG: 16:30:15.085: 1019025494: ../libfprint/libfprint/drivers/pa_primex.c:453
(fprintd:2751): libfprint-device-DEBUG: 16:30:15.085: Device reported close completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:15.085: Completing action FPI_DEVICE_ACTION_CLOSE in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:15.085: released device 0
(fprintd:2751): fprintd-DEBUG: 16:30:35.111: user 'beelink' claiming the device: 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.221: [pa_primex] INIT_DONE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.221: [pa_primex] INIT_DONE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.222: [pa_primex] INIT_DONE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:30:35.222: Device reported open completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:35.222: Completing action FPI_DEVICE_ACTION_OPEN in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:35.222: claimed device 0
(fprintd:2751): fprintd-DEBUG: 16:30:35.227: file_storage_discover_prints() for user 'beelink' in '/var/lib/fprint/beelink/pa_primex/0'
(fprintd:2751): fprintd-DEBUG: 16:30:35.232: start verification device 0 finger 7
(fprintd:2751): fprintd-DEBUG: 16:30:35.232: file_storage_print_data_load(): loaded '/var/lib/fprint/beelink/pa_primex/0/7' Success
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.232: [pa_primex] VERIFY_UPDATE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.233: [pa_primex] VERIFY_UPDATE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:35.233: [pa_primex] VERIFY_UPDATE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:30:36.964: Device reported verify result
(fprintd:2751): libfprint-device-DEBUG: 16:30:36.964: Device reported verify completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:36.964: Completing action FPI_DEVICE_ACTION_VERIFY in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:36.964: verify_cb: result verify-no-match
(fprintd:2751): libfprint-DEBUG: 16:30:36.974: 1040914750: ../libfprint/libfprint/drivers/pa_primex.c:453
(fprintd:2751): libfprint-device-DEBUG: 16:30:36.974: Device reported close completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:36.975: Completing action FPI_DEVICE_ACTION_CLOSE in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:36.975: released device 0
(fprintd:2751): fprintd-DEBUG: 16:30:42.126: user 'beelink' claiming the device: 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.238: [pa_primex] INIT_DONE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.238: [pa_primex] INIT_DONE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.238: [pa_primex] INIT_DONE completed successfully
(fprintd:2751): libfprint-device-DEBUG: 16:30:42.239: Device reported open completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:42.239: Completing action FPI_DEVICE_ACTION_OPEN in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:42.239: claimed device 0
(fprintd:2751): fprintd-DEBUG: 16:30:42.244: file_storage_discover_prints() for user 'beelink' in '/var/lib/fprint/beelink/pa_primex/0'
(fprintd:2751): fprintd-DEBUG: 16:30:42.250: start verification device 0 finger 7
(fprintd:2751): fprintd-DEBUG: 16:30:42.250: file_storage_print_data_load(): loaded '/var/lib/fprint/beelink/pa_primex/0/7' Success
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.250: [pa_primex] VERIFY_UPDATE entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.250: [pa_primex] VERIFY_UPDATE entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:42.250: [pa_primex] VERIFY_UPDATE completed successfully
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:43.780: [pa_primex] VERIFY_FINAL entering state 0
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:43.780: [pa_primex] VERIFY_FINAL entering state 1
(fprintd:2751): libfprint-SSM-DEBUG: 16:30:43.780: [pa_primex] VERIFY_FINAL completed successfully
(fprintd:2751): libfprint-DEBUG: 16:30:43.780: get_dev_index /dev//0
(fprintd:2751): libfprint-device-DEBUG: 16:30:43.780: Device reported verify result
(fprintd:2751): libfprint-device-DEBUG: 16:30:43.780: Device reported verify completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:43.780: Completing action FPI_DEVICE_ACTION_VERIFY in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:43.780: verify_cb: result verify-match
(fprintd:2751): GLib-GObject-CRITICAL **: 16:30:43.781: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(fprintd:2751): libfprint-DEBUG: 16:30:43.791: 1047731287: ../libfprint/libfprint/drivers/pa_primex.c:453
(fprintd:2751): libfprint-device-DEBUG: 16:30:43.791: Device reported close completion
(fprintd:2751): libfprint-device-DEBUG: 16:30:43.791: Completing action FPI_DEVICE_ACTION_CLOSE in idle!
(fprintd:2751): fprintd-DEBUG: 16:30:43.791: released device 0
Here the user activities to that log:
~/.../build/Test >>> fprintd-enroll beelink
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-finger-not-centered
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-remove-and-retry
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-finger-not-centered
Enroll result: enroll-remove-and-retry
Enroll result: enroll-stage-passed
Enroll result: enroll-finger-not-centered
Enroll result: enroll-remove-and-retry
Enroll result: enroll-finger-not-centered
Enroll result: enroll-stage-passed
Enroll result: enroll-remove-and-retry
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-completed
~/.../build/Test >>> fprintd-list $(whoami)
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user beelink on Pixelauth PrimeX (press):
- #0: right-index-finger
~/.../build/Test >>> fprintd-verify beelink
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
- #0: right-index-finger
Verify result: verify-match (done)
~/.../build/Test >>> fprintd-verify beelink
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
- #0: right-index-finger
Verify result: verify-no-match (done)
~/.../build/Test >>> fprintd-verify beelink
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
- #0: right-index-finger
Verify result: verify-match (done)
Using sudo
with fingerprint works:
~/.../build/Test >>> sudo ./FPTest
Place your right index finger on the fingerprint reader
===========================================================
================== 0. return ==================
================== 1. key get fp list ==================
================== 2. key enroll fp ==================
================== 3. key verify fp ==================
================== 4. key delete fp ==================
================== 5. key delete all fp ==================
================== 6. get device info ==================
================== 7. calibrate ==================
================== 8. abort ==================
Please select case: 1
Device[0]: 0003:0002:00
Please input selected device: 0
Selected device[0]: 0003:0002:00
Finger 0: B368096E1A0C02B81D2DCF78B0BAC3BF4EEE483474FEF32537F007081326AC90
test_key_get_fp_list_ex return 0
To get this all done I deleted every enrolled fingerprint.
Edited by Philip Müller