- Saved searches
- Use saved searches to filter your results more quickly
- License
- hyqskevin/Thinkpad-fingerprint-device
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- How to use fingerprint reader on Lenovo ThinkPad? Ubuntu 20.04
- But when I type:
- Then I get:
- Настройка сканера отпечатков пальцев в Ubuntu 20.04
- How do I install a fingerprint reader on Lenovo ThinkPad?
- 6 Answers 6
- Installation
- Configuration
Saved searches
Use saved searches to filter your results more quickly
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.
Thinkpad fingerprint device on Linux(Linuxmint & Arch)
License
hyqskevin/Thinkpad-fingerprint-device
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
finger print device in Linux system on Thinkpad
- Firstly thanks to the amazing work that nmikhailov done in Validity90 and Trevisan done in libfprint
- The device had both tested on Linuxmint & Arch
- my example in device ID: 138:0090
1.Check your finger print device in terminal
- and show device ID (example for me) Bus xxx Device xxx: ID 138a:0090 Validity Sensors, Inc.
- here are some integrated fingerprint Reader in www.thinkwiki.org
2.Install packages(two methods)
- 2.1 Fingerprint GUI for Ubuntu 14.04, 16.04, 17.10 and any distribution based thereupon
- you can download the fingerprint-gui-1.09.tar.gz in repository or find the release packages in www.ullrich-online.cc
- ! check if your device is in supported readers then install
sudo apt install fpirntd sudo add-apt-repository -y ppa:3v1n0/libfprint-vfs0090 sudo apt update sudo apt install libpam-fprintd
sudo pacman -S fprintd yaourt -S libfprint-vfs0090-git
3.Enroll your finger print
for finger in -; do fprintd-enroll -f "$finger" "$USER"; done
- e.g for finger in -; do fprintd-enroll -f «right-index-finger» «kevin»; done
- ! here has a bug, you may need to add 10×4 times to add finger signature
- read the guide in archlinux wiki
- 4.1 For linuxmint
- Add pam_fprintd.so as sufficient 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 .
- check the light of finger device
- in linuxmint, print finger then click sign in
- in archlinux, click enter then print finger
About
Thinkpad fingerprint device on Linux(Linuxmint & Arch)
How to use fingerprint reader on Lenovo ThinkPad? Ubuntu 20.04
I have a Thinkpad X380 Yoga running Ubuntu 20.04 freshly installed (I am a complete beginner coming from windows). I have tried the solution suggested here: [How do I install a fingerprint reader on Lenovo ThinkPad?
But when I type:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui
Then I get:
Packages for Fingerprint GUI (http://www.ullrich-online.cc/fingerprint/) NOTE: Fingerprint GUI is no longer maintained and is not compatible with Ubuntu 20.04 and newer Supported readers (run command lsusb to find out the ID of your reader) ============ https://fprint.freedesktop.org/supported-devices.html and 0483:2015 147e:1003 147e:3000 0483:2016 147e:2015 147e:3001 147e:1000 147e:2016 147e:5002 147e:1001 147e:2020 147e:5003 147e:1002
joe@joe-ThinkPad-X380-Yoga:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 138a:009d Validity Sensors, Inc. Bus 001 Device 003: ID 13d3:584b IMC Networks Integrated Camera Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bus 001 Device 005: ID 056a:5150 Wacom Co., Ltd Pen and multitouch sensor Bus 001 Device 007: ID 046d:c534 Logitech, Inc. Unifying Receiver Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I’m not even sure the fingerprint reader is there, I’m assuming it’s «Device 004», but I’m not even sure. Can someone help me out? Thanks in advance 🙂
Настройка сканера отпечатков пальцев в Ubuntu 20.04
При попытке настроить сканер отпечатка пальца в Ubuntu 20.04 я столкнулся со странной ошибкой типа:
$ fprintd-enroll Using device /net/reactivated/Fprint/Device/0 failed to claim device: Open failed with error: The driver encountered a protocol error with the device.
Быстрый гугляж ни к чему не привёл, но натолкнул на мысль об обновлении прошивки/драйверов/uefi. Как это сделать? Очень просто! Но лучше максимально сконцентрироваться на этой задаче, чтобы не окирпичить устройство.
Первым делом обновляем локальную базу fwupd.
$ fwupdmgr refresh --force Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gz Downloading… [***************************************] Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc
Вторым делом получаем список поддерживаемых устройств:
$ fwupdmgr get-updates • Integrated Camera has no available firmware updates • Prometheus IOTA Config has the latest available firmware version • SKHynix HFS512GD9TNI-L2B0B has no available firmware updates • System Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates 20UD0013RT │ └─Prometheus: │ Device ID: 50efef912094e784a03628350441f6927c4920b0 │ Summary: Fingerprint reader │ Current version: 10.01.3121519 │ Vendor: Synaptics (USB:0x06CB) │ Install Duration: 2 seconds │ GUIDs: 09e8bf16-3e69-50f5-bb66-c7a040248352 │ 8088f861-6318-5b1e-9ce4-fbddbedb09ac │ Device Flags: • Updatable │ • Supported on remote server │ • Cryptographic hash verification is available │ └─Prometheus Fingerprint Reader Device Update: New version: 10.01.3158804 Remote ID: lvfs Summary: Firmware for the Synaptics Prometheus Fingerprint Reader device License: Proprietary Size: 400,3 kB Vendor: Synaptics Inc. Duration: 2 seconds Flags: is-upgrade Description: New features and enhancements: • Support Linux system
Как можно увидеть, для сканера отпечатков пальца Prometheus IOTA Config есть доступное обновление. Почему бы и не установить?
Для установки обновлений достаточно выполнить одну команду:
$ fwupdmgr update Upgrade available for Prometheus from 10.01.3121519 to 10.01.3158804 Prometheus and all connected devices may not be usable while updating. Continue with update? [Y|n]: y Downloading 10.01.3158804 for Prometheus. Fetching firmware https://fwupd.org/downloads/5e92f5765cea1313ad0b8397ccc258b8ea5139b650b53a52c65256eea74d78f3-Synaptics-Prometheus-10.01.3158804.cab Decompressing… [***************************************] Authenticating… [***************************************] Updating Prometheus… [ - ] Restarting device… [***************************************] Successfully installed firmware • Integrated Camera has no available firmware updates • Prometheus IOTA Config has the latest available firmware version • SKHynix HFS512GD9TNI-L2B0B has no available firmware updates • System Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has no available firmware updates
Всё действо заняло буквально пару минут.
После завершения обновления требуется установить дополнительные инструменты. Как я успел найти в интернете, есть несколько приложений: fingerprint-gui (с удобным интерфейсом, но не для Ubuntu 20.x) и fprintd (без интерфейса). Возможно, есть и какие-нибудь проприетарные вендорные штуки, но я решил оставить их на крайний случай.
sudo apt install libpam-fprintd sudo pam-auth-update
Первая команда устанавливает fprintd, а вторая – запускает окошко для активации работы со сканером пальца
После того, как все предварительные действия завершены, пора научить систему распознавать палец:
$ fprintd-enroll Using device /net/reactivated/Fprint/Device/0 Enrolling right-index-finger finger. Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-retry-scan Enroll result: enroll-completed
Будет дано несколько попыток для того, чтобы снять как можно лучше/больше нужной части пальца.
Вуаля! Теперь в случае надобности подтверждения повышения привелегий будет появляться сообщение об использовании сканера отпечатка пальца. При трёх неудачных попытках возможность блокируется и требуется ввести пароль с клавиатуры.1
How do I install a fingerprint reader on Lenovo ThinkPad?
I have a Lenovo ThinkPad with a fingerprint reader: How to make Ubuntu recognise it and use it for login? I already tried:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt-get update
According to the Arch Linux wiki, you might need to reboot or add yourself to the plugdev and scanner groups (you should alread be in the plugdev group).
Read man useradd and do something like sudo useradd —groups=plugdev,scanner $USER . Then logout — groups are only applied at login time. Well, not exactly, but logout/login is the easiest way.
Can you see the fingerprint reader in the output of sudo lspci -v or sudo lsusb -v ? If so, please edit your question to share the information.
6 Answers 6
I tried both Fingerprint Gui and FPrint in my Thinkpad W550S. Fingerprint Gui (Dead link, project is gone. ) had a nice interface, but was pretty unstable on the login page and sudo and constantly crashed.
FPrint seems more simple, but works very well:
Installation
sudo apt install libpam-fprintd
sudo apt install libpam-fprintd fprint-demo
sudo add-apt-repository -y ppa:fingerprint/fprint sudo apt-get update sudo apt-get install libfprint0 fprint-demo libpam-fprintd gksu-polkit
Configuration
After that, you can test it by running fprint_demo and save the fingerprint with fprintd-enroll . This will automatically make your login screen require a finger swipe instead of a password.
In some cases you also may need to run:
. to activate fingerprint reader for elevated privileges, for example with sudo .