Thinkpad fingerprint device on Linux
Thinkpad 在 Linux 下新版本指纹识别驱动的安装与指纹实现管理员验证
1.Check your finger print device
lsusb |
- example in device ID: 138:0090
and show device ID (for me)
Bus xxx Device xxx: ID 138a:0090 Validity Sensors, Inc.
here are some integrated fingerprint Reader in thinkwiki
USB ID | Reader | Software |
---|---|---|
08ff:1600 | Authentec AES1610 | fprint |
08ff:2580 | Authentec AES2501 | fprint |
08ff:2810 | Authentec 2810 | supported by libfprint v0.5.0 onwards released December 2012 |
138a:0017 | Validity Sensors, Inc. | Fingerprint Reader (to test) Driver Patch as use case with T440 or gist sample Supported by libfprint v0.6.0 |
138a:0090 | Validity Sensors | RE work for validity90 fingerprint reader |
2.Install packages
- 2.1 Packages for Fingerprint GUI for Ubuntu 14.04, 16.04, 17.10, 18.04 and any distribution based thereupon
- ! check if your device is in supported readers then install
2.2 Install fprintd (for me in device 138a:0090)
3.Enroll your finger print
add your signature for a finger (touch your finger device)
fprintd-enroll
- ! use
sudo fprintd-enroll
may have some bug
- ! use
if not work
for finger in {left,right}-{thumb,{index,middle,ring,little-finger}; do fprintd-enroll -f "$finger" "$USER"; done
e.g
for finger in {left,right}-{thumb,{index,middle,ring,little-finger}; do fprintd-enroll -f "right-index-finger" "kevin"; done
! here has a bug, you may need to add 10x4 times to add finger signature
4.Login configuration
read the guide in archlinux wiki
4.1 For linuxmint
- Add
pam_fprintd.so
assufficient
to the top of the auth section of/etc/pam.d/runuser
sudo nano /etc/pam.d/runuser
---
auth sufficient pam_fprintd.so
auth sufficient pam_rootok.so
session optional pam_keyinit.so revoke
...- Add
4.2 For archlinux
- Add
pam_fprintd.so
assufficient
to the top of the auth section of/etc/pam.d/system-local-login
- Add
5.Reboot
- check the light of finger device
- in linuxmint, print finger then click sign in
- in archlinux, click
enter
then print finger
- 本文链接:https://hyqskevin.github.io/2018/10/28/tp-print/
- 版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!