时光囚徒 發表於 2020-7-22 10:59:00

ubuntu 20.04 启用 指纹登录

<p></p><div class="toc"><div class="toc-container-header">目录</div><ul><li>一、介绍</li><li>二、更新指纹识别器驱动</li><li>三、添加指纹</li><li>参考资料及附录</li></ul></div><p></p>
<h2 id="一介绍">一、介绍</h2>
<p>为了开发的时候更顺滑、问题更少,把 ThinkPad P53 装上了Ubuntu 20.04 TLS,指望用上几年。</p>
<p>换成 Ubuntu 以后,在设置里面发现支持指纹登陆,但是直接使用会报错,因为指纹器无法识别。</p>
<h2 id="二更新指纹识别器驱动">二、更新指纹识别器驱动</h2>
<p>在 ubuntu 20.04 中,一些硬件的固件推荐使用 fwupd 来更新,这个命令默认已经安装了。</p>
<ul>
<li>
<p>1、更新系统</p>
<pre><code class="language-bash">$ sudo apt update
$ sudo apt upgrade -y
</code></pre>
<p>这么做是为了更新 fwupd,顺便更新系统中的各个软件。</p>
</li>
<li>
<p>2、显示 fwupd 检测到的所有设备:</p>
<pre><code class="language-bash">$ fwupdmgr get-devices
</code></pre>
<p>输出:</p>
<pre><code class="language-bash">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
│ │

</code></pre>
<p>其中 <strong>Summary: Fingerprint reader</strong> 就是指纹识别器。 Device Flags 中的 <em>Updatable</em> 说明有可用的升级。</p>
</li>
<li>
<p>3、列出系统上任何设备可用的更新:</p>
<pre><code class="language-bash">$ fwupdmgr get-updates
</code></pre>
<p>输出:</p>
<pre><code class="language-bash">• 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&nbsp;kB
      Vendor:            Synaptics Inc.
      Duration:          2 seconds
      Flags:             is-upgrade
      Description:       New features and enhancements:

         • Support Linux system
</code></pre>
</li>
<li>
<p>4、安装更新:</p>
<pre><code class="language-bash">$ fwupdmgr update
</code></pre>
</li>
</ul>
<h2 id="三添加指纹">三、添加指纹</h2>
<p>更新指纹识别器驱动以后,再次打开设置,此时已经可以正常添加指纹了。</p>
<p><img src="https://dwg3.oss-cn-shanghai.aliyuncs.com/%E5%B0%8F%E4%B9%A6%E5%8C%A0/1595386241704.png"></p>
<p><img src="https://dwg3.oss-cn-shanghai.aliyuncs.com/%E5%B0%8F%E4%B9%A6%E5%8C%A0/1595386261031.png"></p>
<p><img src="https://dwg3.oss-cn-shanghai.aliyuncs.com/%E5%B0%8F%E4%B9%A6%E5%8C%A0/1595386280379.png"></p>
<p><img src="https://dwg3.oss-cn-shanghai.aliyuncs.com/%E5%B0%8F%E4%B9%A6%E5%8C%A0/1595386320855.png"></p>
<h2 id="参考资料及附录">参考资料及附录</h2>
<ul>
<li>fwupd (简体中文) 2020-07-04</li>
</ul>
<hr>
<p>本文由 <em>qingchuwudi</em> 译制或原创,除非另有声明,在不与原著版权冲突的前提下,本作品采用署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) <img src="https://i.creativecommons.org/l/by-nc-sa/3.0/cn/88x31.png"> 进行许可。</p><br><br>
来源:https://www.cnblogs.com/qingchuwudi/p/13359417.html
頁: [1]
查看完整版本: ubuntu 20.04 启用 指纹登录