一、介紹
為了開發的時候更順滑、問題更少,把 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) 進行許可。