如何在 Ubuntu 16.04 上的 lenovo X1 carbon 上安装指纹驱动程序

Kas*_*iya 11 thinkpad lenovo fingerprint-reader 16.04

我需要在 Ubuntu 16.04 上安装 X1 carbon 5th gen 的指纹驱动程序。在哪里可以找到 Linux 发行版的驱动程序?

这里是输出 lspci

kasun@kasun-ThinkPad-X1-Carbon-5th:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Device 9d12 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Device 24fd (rev 88)
05:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a804
kasun@kasun-ThinkPad-X1-Carbon-5th:~$ 
Run Code Online (Sandbox Code Playgroud)

lsusb输出

kasun@kasun-ThinkPad-X1-Carbon-5th:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 138a:0097 Validity Sensors, Inc. 
Bus 001 Device 003: ID 13d3:5682 IMC Networks 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kasun@kasun-ThinkPad-X1-Carbon-5th:~$ 
Run Code Online (Sandbox Code Playgroud)

小智 11

138A:0097效度传感器,公司依然是被“逆向工程”,而不是通过简单易用且支持安装fingerprint或他人。

以下是 Nikita Mikhailov 的 WIP(正在进行的工作):

  1. sudo apt install git libusb-1.0-0-dev libxv-dev
  2. git clone https://github.com/nmikhailov/Validity90.git
  3. cd Validity90/libfprint
  4. ./configure
  5. make
  6. make check
  7. sudo make install

其他信息和讨论:

https://forums.lenovo.com/t5/Linux-Discussion/Validity-Fingerprint-Reader-Linux/td-p/3352145

https://bugs.freedesktop.org/show_bug.cgi?id=94536

  • 实际上 https://github.com/hrenod/libfprint 在 ThinkPad X1 Yoga 上为我工作! (2认同)

小智 6

您可以尝试使用 @uunicorn 的作品(https://github.com/uunicorn/python-validity)。它适用于我的 Ubuntu 20.04.1。

\n
    \n
  1. $ sudo apt remove fprintd
  2. \n
  3. $ sudo add-apt-repository ppa:uunicorn/open-fprintd
  4. \n
  5. $ sudo apt-get update
  6. \n
  7. $ sudo apt install open-fprintd fprintd-clients python3-validity
  8. \n
  9. $ fprintd-enroll
  10. \n
\n

如果最后一个命令提示错误list_devices failed:,请执行

\n
sudo systemctl status python3-validity\n
Run Code Online (Sandbox Code Playgroud)\n

检查服务的状态并尝试重置设备:(需要关闭占用设备的所有进程,例如 Ubuntu 20.04.1 上的 \xcc\x8dUsers\xcc\x8d 设置/指纹注册)

\n
    \n
  1. sudo systemctl stop python3-validity
  2. \n
  3. sudo validity-sensors-firmware
  4. \n
  5. sudo python3 /usr/share/python-validity/playground/factory-reset.py
  6. \n
  7. sudo systemctl start python3-validity
  8. \n
  9. fprintd-enroll
  10. \n
\n

您应该能够在命令行上注册指纹。\n现在,如果您使用的是 Ubuntu 20,请尝试转到设置,下面Users应该有\nan 选项。Fingerprint LoginAuthentication & Login

\n

(您可能必须首先在以下位置启用指纹验证pam-auth-update:do

\n
    \n
  1. sudo pam-auth-update
  2. \n
  3. 选择该行Fingerprint authentication,按空格键启用
  4. \n
  5. 选择Ok以确认更改)
  6. \n
\n