python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

Fingerprint reader stops working on suspend

Open kozross opened this issue 2 years ago • 6 comments

I've set up python-validity according to the instructions for my distro (Arch Linux) and enrolled a fingerprint successfully. This works, but only until I first suspend. Once this happens, upon waking, I can no longer log in via fingerprint scan (the option isn't even offered), and when I check the status of fprintd.service, I get this:

[koz@Emi ~]$ systemctl status fprintd.service
○ fprintd.service - Fingerprint Authentication Daemon
     Loaded: error (Reason: Unit fprintd.service failed to load properly, please adjust/correct and reload service manager: File exists)
     Active: inactive (dead)
       Docs: man:fprintd(1)

Mar 17 16:45:57 Emi systemd[1]: fprintd.service: Two services allocated for the same bus name net.reactivated.Fprint, refusing operation.

Enabling the suspend-related services does not help. I do not have any other fprintd-related anything installed: only what was required for the AUR package. I'm using a ThinkPad T580, with python-validity 0.12-5 according to pacman -Qs. My DE is GNOME.

kozross avatar Mar 17 '22 03:03 kozross

I had the same problem on Fedora 36. Try disable and enable again open-fprintd-resume and open-fprintd-suspend services.

piotrzientarski avatar Apr 18 '22 16:04 piotrzientarski

I have the same issue on the Thinkpad Carbon X1 gen6, but this solution does not work for me. Any other tips? fprintd.service unable to start

Update: the trick abobe solved it for me

Arsur avatar May 07 '22 06:05 Arsur

I have the same issue on the Thinkpad Carbon X1 gen6, too.How did you fix it?

mjzjz avatar Jun 15 '23 00:06 mjzjz

Same problem here with ThinkPad X1 Yoga gen 3. After resuming from suspend I can still se my device in lsusb: Bus 001 Device 006: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader However I get this error from open-fprintd-resume service.

Jan 21 18:11:08 NoYoga resume.py[5836]: usb.core.USBError: [Errno 19] No such device (it may have been disconnected)
Jan 21 18:11:08 NoYoga systemd[1]: open-fprintd-resume.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 18:11:08 NoYoga systemd[1]: open-fprintd-resume.service: Failed with result 'exit-code'.
Jan 21 18:11:08 NoYoga systemd[1]: Failed to start Restart devices after resume.

gamecraftCZ avatar Jan 21 '24 17:01 gamecraftCZ

As for workaround you can try this: https://github.com/uunicorn/python-validity/issues/106#issuecomment-1019342483

gamecraftCZ avatar Jan 21 '24 17:01 gamecraftCZ