Fprintd on T440p


#1

Hi,
I try to use my fingerprint reader on a Thinkpad T440p but there is a problem with the fprintd.conf

fprintd[15259]: Could not open fprintd.conf: No such file or directory
user 'victor' claiming the device: 0
now monitoring fd 15
device 0 claim status 0
start enrollment device 0 finger 7
enroll_stage_cb: result 3
enroll_stage_cb: result 3

I try to sudo and add /etc/fprintd.conf but I didn’t works.
Someone have an idea ?

Regards


#2

Hi,

Cursory scanning of the nixpkgs source code indicated that services.fprintd.enable = true should be set in the nixos configuration. Did you already do that?


#3

Hello,
Yes I did it. Here is the different options that I used :

services.fprintd.enable = true;
security.pam.services.login.fprintAuth = true;
security.pam.services.xscreensaver.fprintAuth = true;

#4

I tried to had conf file manually but it don’t works.

I don’t known how I can fix this up.


#5

I can reproduce the issue:

$ systemctl status fprintd
● fprintd.service - Fingerprint Authentication Daemon
   Loaded: loaded (/nix/store/a6p2nf7d891iip6qbya8im4zhdqi9sp4-unit-fprintd.service/fprintd.service; linked; vendor preset: enabled)
   Active: inactive (dead)

Nov 08 14:22:18 x1 systemd[1]: Starting Fingerprint Authentication Daemon...
Nov 08 14:22:19 x1 systemd[1]: Started Fingerprint Authentication Daemon.
Nov 08 14:22:19 x1 fprintd[24040]: Could not open fprintd.conf: No such file or directory

Looking at the source, the frpintd module doesn’t have references to frptindf.conf: https://github.com/NixOS/nixpkgs/blob/release-18.09/nixos/modules/services/security/fprintd.nix

There is only a single commit from abbradar.

Next, searching github, I found your issue :slight_smile: https://github.com/NixOS/nixpkgs/issues/49872


#6

#7

let’s keep discussing on the issue instead