一、介绍
为了开发的时候更顺滑、问题更少,把 ThinkPad P53 装上了Ubuntu 20.04 TLS,指望用上几年。
换成 Ubuntu 以后,在设置里面发现支持指纹登陆,但是直接使用会报错,因为指纹器无法识别。
二、更新指纹识别器驱动
在 ubuntu 20.04 中,一些硬件的固件推荐使用 fwupd 来更新,这个命令默认已经安装了。
-
1、更新系统
$ sudo apt update $ sudo apt upgrade -y
这么做是为了更新 fwupd,顺便更新系统中的各个软件。
-
2、显示 fwupd 检测到的所有设备:
$ fwupdmgr get-devices
输出:
20QQA01JCD │ ├─Thunderbolt Controller: │ Device ID: 5c186bd735e96445c0730ae49e424b1035e1322b │ Summary: Unmatched performance for high-speed I/O │ Current version: 59.00 │ Vendor: Lenovo (TBT:0x0109) │ GUIDs: d358cf61-abca-5232-bfde-8a92e1a5b100 │ 64e51565-c48d-55e1-b59f-ca1afff199f4 │ Device Flags: • Internal device │ • Updatable │ • Requires AC power │ • Device stages updates │ ├─Prometheus: │ │ Device ID: d432baa2162a32c1554ef24bd8281953b9d07c11 │ │ Summary: Fingerprint reader │ │ Current version: 10.01.3121519 │ │ Vendor: Synaptics (USB:0x06CB) │ │ Install Duration: 2 seconds │ │ GUIDs: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ │ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ │ Device Flags: • Updatable │ │ • Supported on remote server │ │ • Cryptographic hash verification is available │ │
其中 Summary: Fingerprint reader 就是指纹识别器。 Device Flags 中的 Updatable 说明有可用的升级。
-
3、列出系统上任何设备可用的更新:
$ fwupdmgr get-updates
输出:
• Thunderbolt Controller has no available firmware updates • Prometheus IOTA Config has the latest available firmware version • SAMSUNG MZVLB1T0HBLR-000L7 has no available firmware updates • System Firmware has the latest available firmware version • UEFI Device Firmware has no available firmware updates • UEFI Device Firmware has the latest available firmware version • UEFI Device Firmware has no available firmware updates 20QQA01JCD │ └─Prometheus: │ Device ID: d432baa2162a32c1554ef24bd8281953b9d07c11 │ Summary: Fingerprint reader │ Current version: 10.01.3121519 │ Vendor: Synaptics (USB:0x06CB) │ Install Duration: 2 seconds │ GUIDs: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx │ 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
-
4、安装更新:
$ fwupdmgr update
三、添加指纹
更新指纹识别器驱动以后,再次打开设置,此时已经可以正常添加指纹了。
参考资料及附录
- fwupd (简体中文) 2020-07-04
本文由 qingchuwudi 译制或原创,除非另有声明,在不与原著版权冲突的前提下,本作品采用署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 进行许可。