You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(systemd): add robust resume service for sensor re-initialization
Problem
Fingerprint sensor fails to re-initialize correctly after system suspend/hibernate on modern kernels. The python3-validity service loses its connection to the hardware or enters an inconsistent state, preventing fingerprint authentication upon resume.
Solution
Add a dedicated systemd resume service python3-validity-resume.service that explicitly restarts python3-validity.service and open-fprintd.service when the system wakes up. This ensures a clean state for the driver and the fprintd bridge.
Environment Information
Hardware
Device: Synaptics, Inc. Metallica MIS Touch Fingerprint Reader
feat(systemd): add robust resume service for sensor re-initialization
Problem
Fingerprint sensor fails to re-initialize correctly after system suspend/hibernate on modern kernels. The
python3-validityservice loses its connection to the hardware or enters an inconsistent state, preventing fingerprint authentication upon resume.Solution
Add a dedicated systemd resume service
python3-validity-resume.servicethat explicitly restartspython3-validity.serviceandopen-fprintd.servicewhen the system wakes up. This ensures a clean state for the driver and the fprintd bridge.Environment Information
Hardware
06cb:009aSoftware
7.0.0-15-generic0.21.0(KDE Plasma/Breeze)libpam-modules 1.7.0,libpam-systemd 259.5open-fprintd(0.7~ppa2)python3-validity(0.15+)Changes
debian/python3-validity-resume.serviceto trigger on resume targets.Steps to Reproduce
sudoor login).USBError [Errno 19]. User is forced to use password fallback.Validation Steps
python3-validity-resume.service- from feat(systemd): add robust resume service for sensor re-initialization #255 .python3-validity-resume.servicetriggered successfully:systemctl status python3-validity-resume.service.sudo <command>correctly prompts for fingerprint authentication (if enabled in PAM).