You are not logged in.

#1 2023-12-10 13:14:30

MrVideo
Member
From: The Internet
Registered: 2023-12-05
Posts: 8

Issues with fingerprint reader

Hello, I'd like to enable finger print login for my laptop.

I've followed the wiki article for fprint and installed fprintd and libfprint-elanmoc2-newdrvs (I already had imagemagick installed). The output of

yay -Q | grep -i fprint

is:

fprintd 1.94.2-2
libfprint-elanmoc2-newdrvs-git 1.94.0+11+g32b8a2d-1

I installed the latter library because from lsusb I can see that I have an ELAN device with ID 0c00, which is not in the supported devices list, but is however mentioned in the wiki article in the installation section.

Now, when I try to enroll a fingerprint, I get different errors, seemingly at random.

I have GNOME and GDM installed, so I tried enrolling fingerprints from the GNOME settings panel. Sometimes, I reach the end of the enrollment process and get the "Problem Reading Device" error. Other times, for a brief moment, the operation succeeds and then errors out, allowing me to save the fingerprint by clicking on "Done" in the pop-up window.

I have dumped my system journal after a reboot and followed the same procedure to show the errors fprintd encounters:

dic 10 13:00:15 arch-portable dbus-daemon[510]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.21' (uid=120 pid=625 comm="/usr/bin/gnome-shell")
dic 10 13:00:15 arch-portable dbus-daemon[510]: [system] Successfully activated service 'net.reactivated.Fprint'
dic 10 13:00:50 arch-portable polkitd[563]: Operator of unix-session:3 successfully authenticated as unix-user:mario to gain TEMPORARY authorization for action net.reactivated.fprint.device.enroll for system-bus-name::1.92 [/usr/bin/gnome-control-center] (owned by unix-user:mario)
dic 10 13:01:31 arch-portable kernel: fprintd[950]: segfault at 55f664a80 ip 00007fb27a909f41 sp 00007ffc4dccd9b8 error 4 in libgobject-2.0.so.0.7800.3[7fb27a8de000+35000] likely on CPU 9 (core 4, socket 0)
dic 10 13:01:32 arch-portable systemd-coredump[2256]: Process 950 (fprintd) of user 0 dumped core.
                                                      
                                                      Stack trace of thread 950:
                                                      #0  0x00007fb27a909f41 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0 + 0x3af41)
                                                      #1  0x00007fb27a8f169e g_object_unref (libgobject-2.0.so.0 + 0x2269e)
                                                      #2  0x00007fb27783e114 n/a (libfprint-2.so.2 + 0x3e114)
                                                      #3  0x00007fb27a9de37f n/a (libgio-2.0.so.0 + 0xad37f)
                                                      #4  0x00007fb27a8f18b4 g_object_unref (libgobject-2.0.so.0 + 0x228b4)
                                                      #5  0x00007fb27784826e n/a (libfprint-2.so.2 + 0x4826e)
                                                      #6  0x00007fb27ab63f69 n/a (libglib-2.0.so.0 + 0x59f69)
                                                      #7  0x00007fb27abc2367 n/a (libglib-2.0.so.0 + 0xb8367)
                                                      #8  0x00007fb27ab64b97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
                                                      #9  0x000055f6643804da n/a (fprintd + 0x94da)
                                                      #10 0x00007fb277645cd0 n/a (libc.so.6 + 0x27cd0)
                                                      #11 0x00007fb277645d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                      #12 0x000055f664380935 _start (fprintd + 0x9935)
                                                      
                                                      Stack trace of thread 972:
                                                      #0  0x00007fb277730b3d sendmsg (libc.so.6 + 0x112b3d)
                                                      #1  0x00007fb27a9cf11a g_socket_send_message_with_timeout (libgio-2.0.so.0 + 0x9e11a)
                                                      #2  0x00007fb27a9cf4a7 g_socket_send_message (libgio-2.0.so.0 + 0x9e4a7)
                                                      #3  0x00007fb27aa4b7e8 n/a (libgio-2.0.so.0 + 0x11a7e8)
                                                      #4  0x00007fb27aa4bec0 n/a (libgio-2.0.so.0 + 0x11aec0)
                                                      #5  0x00007fb27aa4c061 n/a (libgio-2.0.so.0 + 0x11b061)
                                                      #6  0x00007fb27ab63f69 n/a (libglib-2.0.so.0 + 0x59f69)
                                                      #7  0x00007fb27abc2367 n/a (libglib-2.0.so.0 + 0xb8367)
                                                      #8  0x00007fb27ab64b97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
                                                      #9  0x00007fb27aa4319c n/a (libgio-2.0.so.0 + 0x11219c)
                                                      #10 0x00007fb27ab95a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                                                      #11 0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #12 0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      
                                                      Stack trace of thread 970:
                                                      #0  0x00007fb27772c73d syscall (libc.so.6 + 0x10e73d)
                                                      #1  0x00007fb27abbd2f7 g_cond_wait (libglib-2.0.so.0 + 0xb32f7)
                                                      #2  0x00007fb27ab2f1b4 n/a (libglib-2.0.so.0 + 0x251b4)
                                                      #3  0x00007fb27ab97a8e n/a (libglib-2.0.so.0 + 0x8da8e)
                                                      #4  0x00007fb27ab95a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                                                      #5  0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #6  0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      
                                                      Stack trace of thread 971:
                                                      #0  0x00007fb277720f6f __poll (libc.so.6 + 0x102f6f)
                                                      #1  0x00007fb27abc22b6 n/a (libglib-2.0.so.0 + 0xb82b6)
                                                      #2  0x00007fb27ab62162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                                      #3  0x00007fb27ab621b2 n/a (libglib-2.0.so.0 + 0x581b2)
                                                      #4  0x00007fb27ab95a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                                                      #5  0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #6  0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      
                                                      Stack trace of thread 974:
                                                      #0  0x00007fb277720f6f __poll (libc.so.6 + 0x102f6f)
                                                      #1  0x00007fb2771ff6e5 n/a (libusb-1.0.so.0 + 0x106e5)
                                                      #2  0x00007fb277201468 libusb_handle_events_timeout_completed (libusb-1.0.so.0 + 0x12468)
                                                      #3  0x00007fb27a75e4df n/a (libgusb.so.2 + 0x84df)
                                                      #4  0x00007fb27ab95a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                                                      #5  0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #6  0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      
                                                      Stack trace of thread 973:
                                                      #0  0x00007fb277720f6f __poll (libc.so.6 + 0x102f6f)
                                                      #1  0x00007fb2771fbaa6 n/a (libusb-1.0.so.0 + 0xcaa6)
                                                      #2  0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #3  0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      
                                                      Stack trace of thread 2202:
                                                      #0  0x00007fb27772c73d syscall (libc.so.6 + 0x10e73d)
                                                      #1  0x00007fb27abbdcd3 g_cond_wait_until (libglib-2.0.so.0 + 0xb3cd3)
                                                      #2  0x00007fb27ab2f185 n/a (libglib-2.0.so.0 + 0x25185)
                                                      #3  0x00007fb27ab2f2e7 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x252e7)
                                                      #4  0x00007fb27ab9837e n/a (libglib-2.0.so.0 + 0x8e37e)
                                                      #5  0x00007fb27ab95a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                                                      #6  0x00007fb2776aa9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #7  0x00007fb27772e7cc n/a (libc.so.6 + 0x1107cc)
                                                      ELF object binary architecture: AMD x86-64
dic 10 13:01:32 arch-portable systemd[1]: fprintd.service: Main process exited, code=dumped, status=11/SEGV
dic 10 13:01:32 arch-portable dbus-daemon[510]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.92' (uid=1000 pid=1973 comm="/usr/bin/gnome-control-center")
dic 10 13:01:32 arch-portable systemd[1]: fprintd.service: Failed with result 'core-dump'.
dic 10 13:01:32 arch-portable dbus-daemon[510]: [system] Successfully activated service 'net.reactivated.Fprint'
dic 10 13:01:34 arch-portable gnome-control-c[1973]: Stopping enrollment on device ELAN Match-on-Chip 2 failed: GDBus.Error:net.reactivated.Fprint.Error.NoActionInProgress: No enrollment in progress

I have also tried enrolling fingerprints manually with fprintd-enroll. When I do that, I almost always encounter this error by the end of the procedure:

❯ fprintd-enroll
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-stage-passed
Enroll result: enroll-completed
EnrollStop failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

I've looked around online but cannot find this same issue elsewhere, so maybe you'll be able to help me. Below, the output of my neofetch:

mario@arch-portable 
------------------- 
OS: Arch Linux x86_64 
Host: HP Laptop 15s-eq3xxx 
Kernel: 6.6.5-arch1-1 
Uptime: 1 hour, 12 mins 
Packages: 905 (pacman) 
Shell: zsh 5.9 
Resolution: 1920x1080 
DE: GNOME 45.2 
WM: Mutter 
WM Theme: Marble-blue-dark-filled 
Theme: Adwaita [GTK2/3] 
Icons: Colloid-dark [GTK2/3] 
Terminal: kitty 
CPU: AMD Ryzen 7 5825U with Radeon Graphics (16) @ 4.546GHz 
GPU: AMD ATI 03:00.0 Barcelo 
Memory: 2817MiB / 15331MiB 

Thank you so much for your help in advance smile


I just try not to duck it up

Offline

#2 2024-07-08 14:07:25

ZeroKun265
Member
Registered: 2024-07-08
Posts: 1

Re: Issues with fingerprint reader

I get the same error and then it just hangs if i try again, even after deleting the prints with fprintd-delete user

Using device /net/reactivated/Fprint/Device/0
Enrolling right-thumb 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-stage-passed
<hangs here indefinitely>

Here are some command outputs, if anything else is needed i can send it

[0]zerokun265@zerokun265-hp-laptop ~ $ yay -Q | grep -i fprint
fprintd 1.94.3-1
libfprint-elanmoc2-newdrvs-git 1.94.0+11+g32b8a2d-1
libfprint-elanmoc2-newdrvs-git-debug 1.94.0+11+g32b8a2d-1
zerokun265@zerokun265-hp-laptop 
------------------------------- 
OS: Arch Linux x86_64 
Host: HP Laptop 15s-fq5xxx 
Kernel: 6.9.8-arch1-1 
Uptime: 21 mins 
Packages: 2203 (pacman), 7 (flatpak) 
Shell: zsh 5.9 
Resolution: 1920x1080 
DE: Plasma 6.1.2 
WM: kwin 
Theme: Breeze-Dark [GTK2], Breeze [GTK3] 
Icons: breeze-dark [GTK2/3] 
Terminal: konsole 
CPU: 12th Gen Intel i5-1235U (12) @ 4.400GHz 
GPU: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] 
Memory: 3713MiB / 15666MiB 
[130]zerokun265@zerokun265-hp-laptop ~ $ journalctl --user | grep "fprint"
lug 08 15:00:40 zerokun265-hp-laptop kscreenlocker_greet[4893]: pam_fprintd(kde-fingerprint:auth): No prints enrolled
lug 08 15:02:50 zerokun265-hp-laptop kscreenlocker_greet[1125]: pam_fprintd(kde-fingerprint:auth): No prints enrolled
lug 08 15:03:23 zerokun265-hp-laptop kscreenlocker_greet[1102]: pam_fprintd(kde-fingerprint:auth): No prints enrolled
lug 08 15:03:55 zerokun265-hp-laptop sudo[1722]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/ls /var/lib/fprint
lug 08 15:04:02 zerokun265-hp-laptop sudo[1737]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/cp -r .local_bin/fingerprints_data/zerokun265 /var/lib/fprint
lug 08 15:04:04 zerokun265-hp-laptop sudo[1744]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/ls /var/lib/fprint
lug 08 15:05:50 zerokun265-hp-laptop sudo[2378]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/ls /var/lib/fprint
lug 08 15:09:45 zerokun265-hp-laptop sudo[3344]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -R -n -s --config /etc/pacman.conf -- fprintd
lug 08 15:15:15 zerokun265-hp-laptop sudo[20971]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -S --config /etc/pacman.conf -- extra/fprintd extra/libfprint
lug 08 15:15:26 zerokun265-hp-laptop sudo[20987]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -S --config /etc/pacman.conf -- extra/fprintd
lug 08 15:15:31 zerokun265-hp-laptop sudo[21126]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asexplicit --config /etc/pacman.conf -- fprintd
lug 08 15:25:23 zerokun265-hp-laptop sudo[23764]: zerokun265 : TTY=pts/3 ; PWD=/home/zerokun265/src/libfprint ; USER=root ; COMMAND=/usr/bin/pacman -S --config /etc/pacman.conf -- core/glib2-devel
lug 08 15:25:26 zerokun265-hp-laptop sudo[23797]: zerokun265 : TTY=pts/3 ; PWD=/home/zerokun265/src/libfprint ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asexplicit --config /etc/pacman.conf -- glib2-devel
lug 08 15:34:31 zerokun265-hp-laptop systemd-coredump[26274]: Process 26269 (fprint-list-ude) of user 1000 dumped core.
                                                              #2  0x00005b8cb5da93eb n/a (/home/zerokun265/src/libfprint/build/libfprint/fprint-list-udev-hwdb + 0xf3eb)
lug 08 15:34:31 zerokun265-hp-laptop drkonqi-coredump-launcher[26285]: Unable to find file for pid 26269 expected at "kcrash-metadata/fprint-list-udev-hwdb.b8964ba813334954b25d7c36e6cf2efa.26269.ini"
lug 08 15:35:22 zerokun265-hp-laptop sudo[26333]: zerokun265 : TTY=pts/3 ; PWD=/home/zerokun265/src/libfprint ; USER=root ; COMMAND=/usr/bin/meson install -C build
lug 08 15:39:10 zerokun265-hp-laptop sudo[27453]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265/src/libfprint ; USER=root ; COMMAND=/usr/bin/pacman -R -n -s --config /etc/pacman.conf -- libfprint-elanmoc2-newdrvs-git fprintd
lug 08 15:39:32 zerokun265-hp-laptop sudo[27951]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265/src ; USER=root ; COMMAND=/usr/bin/rm -rf libfprint
lug 08 15:44:23 zerokun265-hp-laptop drkonqi-coredump-processor[983]: "/home/zerokun265/src/libfprint/build/libfprint/fprint-list-udev-hwdb" 26269 "/var/lib/systemd/coredump/core.fprint-list-ude.1000.b8964ba813334954b25d7c36e6cf2efa.26269.1720445670000000.zst"
lug 08 15:44:23 zerokun265-hp-laptop drkonqi-coredump-launcher[2604]: Unable to find file for pid 26269 expected at "kcrash-metadata/fprint-list-udev-hwdb.b8964ba813334954b25d7c36e6cf2efa.26269.ini"
lug 08 15:44:53 zerokun265-hp-laptop sudo[2995]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -S --config /etc/pacman.conf -- extra/fprintd
lug 08 15:44:58 zerokun265-hp-laptop sudo[3241]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asexplicit --config /etc/pacman.conf -- fprintd
lug 08 15:45:43 zerokun265-hp-laptop sudo[7181]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -U --config /etc/pacman.conf -- /home/zerokun265/.cache/yay/libfprint-elanmoc2-newdrvs-git/libfprint-elanmoc2-newdrvs-git-1.94.0+11+g32b8a2d-1-x86_64.pkg.tar.zst /home/zerokun265/.cache/yay/libfprint-elanmoc2-newdrvs-git/libfprint-elanmoc2-newdrvs-git-debug-1.94.0+11+g32b8a2d-1-x86_64.pkg.tar.zst
lug 08 15:46:13 zerokun265-hp-laptop sudo[7287]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asdeps --config /etc/pacman.conf -- libfprint-elanmoc2-newdrvs-git-debug
lug 08 15:46:13 zerokun265-hp-laptop sudo[7291]: zerokun265 : TTY=pts/1 ; PWD=/home/zerokun265 ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asexplicit --config /etc/pacman.conf -- libfprint-elanmoc2-newdrvs-git

Last edited by ZeroKun265 (2024-07-08 14:09:03)

Offline

Board footer

Powered by FluxBB