使用项目 uunicorn/python-validity

设置

1
2
3
4
5
6
sudo apt remove fprintd
sudo add-apt-repository ppa:uunicorn/open-fprintd
sudo apt-get update
sudo apt install open-fprintd fprintd-clients python3-validity
...wait a bit...
fprintd-enroll

设置 -> 用户 中即可设置指纹登陆,如果锁定界面,指纹设备 LED 灯亮起,但扫描无效,尝试以下操作:

1
2
3
4
5
6
7
8
9
10
11
12
sudo systemctl stop python3-validity
sudo validity-sensors-firmware
sudo python3 /usr/share/python-validity/playground/factory-reset.py

# At some of the above points you may get a 'device busy' error,
# depending on how systemctl plays along. Kill offending processes if
# necessary, or re-run the systemctl stop python3-validity command,
# in case it has automatically been restarted, or or kill other
# offending processes.

sudo systemctl start python3-validity
fprintd-enroll

不出意外,指纹识别设备应当可以使用,若有其他错误,参考项目地址。

更多

更多 Ubuntu 相关见折腾造作 - Ubuntu

参考资料

uunicorn/python-validity