Enable fingerprint reader with fprintd

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Enable fingerprint reader with fprintd

Post by jodarove »

Supported devices are listed here https://fprint.freedesktop.org/supported-devices.html
Check if your device id. Run

Code: Select all

lsusb
copy the id (the sixth column of the output) and search it on the website. In my case, it was 27c6:639c
Screenshot from 2023-11-17 11-09-08.png
Let's proceed to the installation:
1- Search for the package fprint

Code: Select all

apt search fprint
Screenshot from 2023-11-17 09-51-06.png
2- Install fprintd

Code: Select all

sudo apt install fprintd
in my case it was already installed
Screenshot from 2023-11-17 09-53-17.png
3- Install the library/module PAM module

Code: Select all

sudo apt install libpam-fprintd
Image
4- Tell the system to use the fingerprint reader

Code: Select all

sudo pam-auth-update
make sure "Fingerprint authentication" is selected, then select "Ok" to save.
Image
5- Add or enroll your fingers print

Code: Select all

fprintd-enroll -f [finger]
. so you can do

Code: Select all

fprintd-enroll -f right-index-finger
Image
Options for [finger] can be:

Code: Select all

  left-thumb
  left-index-finger
  left-middle-finger
  left-ring-finger
  left-little-finger
  right-thumb
  right-index-finger
  right-middle-finger
  right-ring-finger
  right-little-finger
6- Test it! run

Code: Select all

fprintd-verify
enjoy!
My system info:

Code: Select all

System:
Kernel: 6.5.0-1007-oem x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33 wm: muffin dm: LightDM 1.30.0
Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
I'm here to learn!
VictorGG
Level 1
Level 1
Posts: 16
Joined: Sat Sep 16, 2023 9:16 am

Re: Enable fingerprint reader with fprintd

Post by VictorGG »

Hello jodarove,

First of all, thank you for the tutorial about this topic. I've followed all the steps you mention above, but something went wrong I guess I've missed something.

I'd like you to take a look at my screen shots
Screenshot from 2024-01-16 15-51-12.png
My device is supported according to this site: https://fprint.freedesktop.org/supported-devices.html
Screenshot from 2024-01-16 15-58-41.png

Code: Select all

victor@victorgg-lenovor7:~$ apt search fprint
i   fprintd                          - D-Bus daemon for fingerprint reader access 
p   fprintd-doc                      - development documentation for fprintd      
p   gir1.2-fprint-2.0                - async fingerprint library of fprint project
i   libfprint-2-2                    - async fingerprint library of fprint project
p   libfprint-2-dev                  - async fingerprint library of fprint project
p   libfprint-2-doc                  - async fingerprint library of fprint project
p   libfprint-2-tod-dev              - async fingerprint library of fprint project
p   libfprint-2-tod1                 - async fingerprint library of fprint project
i   libpam-fprintd                   - PAM module for fingerprint authentication t
victor@victorgg-lenovor7:~$ sudo apt install fprintd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fprintd is already the newest version (1.94.2-1ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Screenshot from 2024-01-16 15-31-52.png
When I run the command fprintd-enroll -f right-index-finger this is the result:

Code: Select all

victor@victorgg-lenovor7:~$ fprintd-enroll -f right-index-finger
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
What do you think it might be? ... Thanks again 🙂

This is my system info:

Code: Select all

System:
  Kernel: 6.5.0-14-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82KU v: IdeaPad 3 15ALC6 serial: <superuser required>
    Chassis: type: 10 v: IdeaPad 3 15ALC6 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709WIN serial: <superuser required> UEFI: LENOVO
    v: GLCN22WW date: 03/17/2021
Battery:
  ID-1: BAT0 charge: 43.4 Wh (98.9%) condition: 43.9/45.0 Wh (97.5%) volts: 11.8 min: 11.1
    model: SMP L20M3PF0 serial: <filter> status: Not charging
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2
    rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
  Speed (MHz): avg: 1415 high: 4093 min/max: 400/4372 cores: 1: 2196 2: 1397 3: 400 4: 1397
    5: 1397 6: 1530 7: 400 8: 400 9: 400 10: 1397 11: 1397 12: 4093 13: 4032 14: 400 15: 400
    16: 1410 bogomips: 57493
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 03:00.0 chip-ID: 1002:164c
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2
    chip-ID: 04f2:b725
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
  Monitor-1: HDMI-A-0 mapped: HDMI-A-1 pos: primary,left model: Samsung T24B301 res: 1920x1080
    dpi: 94 diag: 598mm (23.5")
  Monitor-2: eDP pos: primary,right res: 1920x1080 dpi: 142 diag: 394mm (15.5")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.54 6.5.0-14-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3
  Sound Server-1: ALSA v: k6.5.0-14-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo
    driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0
    chip-ID: 10ec:c822
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:3
    chip-ID: 0bda:c123
  Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
    sub-v: 6d7d
Drives:
  Local Storage: total: 238.47 GiB used: 24.97 GiB (10.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530 SDBPMPZ-256G-1101 size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 35.9 C
Partition:
  ID-1: / size: 196.51 GiB used: 24.97 GiB (12.7%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2431
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.alwyzon.net/linuxmint victoria main upstream import backport
    2: deb http: //mirror.easyname.at/ubuntu-archive jammy main restricted universe multiverse
    3: deb http: //mirror.easyname.at/ubuntu-archive jammy-updates main restricted universe multiverse
    4: deb http: //mirror.easyname.at/ubuntu-archive jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 463 Uptime: 58m Memory: 13.5 GiB used: 3.25 GiB (24.0%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13
Linux Mint 21.3 Cinnamon
LENOVO IdeaPad 3 - AMD Ryzen 7 5700U
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Re: Enable fingerprint reader with fprintd

Post by jodarove »

Hi Victor,

Sorry for the late reply.
It looks like you miss the step 3 to Install the library/module PAM module. if that's the case can you try to this?

Code: Select all

sudo apt install libpam-fprintd
and then try to enroll your finger? Let me know how it goes?
I'm here to learn!
VictorGG
Level 1
Level 1
Posts: 16
Joined: Sat Sep 16, 2023 9:16 am

Re: Enable fingerprint reader with fprintd

Post by VictorGG »

jodarove wrote: Wed Jan 24, 2024 7:14 pm Hi Victor,

Sorry for the late reply.
It looks like you miss the step 3 to Install the library/module PAM module. if that's the case can you try to this?

Code: Select all

sudo apt install libpam-fprintd
and then try to enroll your finger? Let me know how it goes?
Hi again jodarove,

Thanks for your reply.
It's installed, but it still doesn't work. It says GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
It seems I'll have to live without it 🙁

Code: Select all

victor@victorgg-lenovor7:~$ sudo apt install libpam-fprintd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpam-fprintd is already the newest version (1.94.2-1ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

victor@victorgg-lenovor7:~$ fprintd-enroll -f right-index-finger
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
Linux Mint 21.3 Cinnamon
LENOVO IdeaPad 3 - AMD Ryzen 7 5700U
Sunny2014
Level 1
Level 1
Posts: 1
Joined: Mon Sep 18, 2023 2:59 pm

Re: Enable fingerprint reader with fprintd

Post by Sunny2014 »

Dear All,
I stepped over this, maybe still helpful. I had similar issues after installing libpam-fprintd and fprintd. In my case, I had to install additionally libfprint-2-2 and libfprint-2-tod1 for getting the fingerprint reader to work.

Best regards
Sunny

Code: Select all

victor@victorgg-lenovor7:~$ apt search fprint
i   fprintd                          - D-Bus daemon for fingerprint reader access 
p   fprintd-doc                      - development documentation for fprintd      
p   gir1.2-fprint-2.0                - async fingerprint library of fprint project
i   libfprint-2-2                    - async fingerprint library of fprint project
p   libfprint-2-dev                  - async fingerprint library of fprint project
p   libfprint-2-doc                  - async fingerprint library of fprint project
p   libfprint-2-tod-dev              - async fingerprint library of fprint project
p   libfprint-2-tod1                 - async fingerprint library of fprint project
i   libpam-fprintd                   - PAM module for fingerprint authentication t
Last edited by SMG on Fri Mar 22, 2024 10:21 am, edited 1 time in total.
Reason: Changed c tags to code tags.
eplm
Level 1
Level 1
Posts: 17
Joined: Wed Mar 17, 2021 8:08 am

Re: Enable fingerprint reader with fprintd

Post by eplm »

In my case I also get the 'No device' message. To be honest, my device number is not listed, but since there are so many ELAN numbers already there, I thought I would gamble. Alas. Any chance for ELAN 04f3:0c00 to become supported any time soon?
Post Reply

Return to “Tutorials”