我在 HP Envy x360 上使用 Ubuntu 20.04 LTS。LSUSB 检测到指纹扫描仪,但 FPRINTD 未检测到硬件。既然 LSUSB 检测到了它,我有机会让它工作吗?
phenom@PhenomFire:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 04f3:0c4c Elan Microelectronics Corp. ELAN:ARM-M4
Bus 003 Device 003: ID 0408:542a Quanta Computer, Inc. HP Wide Vision HD Camera
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 005: ID 8087:0026 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
第二个设备(04f3:0c4c Elan Microelectronics Corp. ELAN:ARM-M4
)是指纹扫描仪。
答案1
指纹传感器目前不受支持fprint
。以下是受支持设备的列表。
答案2
尝试这个:
sudo apt install -y fprintd libpam-fprintd
sudo pam-auth-update
答案3
对我来说,我从源代码编译并安装。确保你已经git
安装了。
sudo apt install libcairo2-dev meson ninja-build libgusb-dev libgirepository1.0-dev libnss3-dev libgudev-1.0-dev gtk-doc-tools valgrind
sudo ldconfig
git clone https://gitlab.freedesktop.org/geodic/libfprint.git
cd libfprint/
git switch elanmoc2
git pull
meson build
cd build
ninja
sudo ninja install
答案来源乌维吉
构建完成后,您还可以测试以下示例build/examples
例如,这将注册新的指纹
examples/enroll
例如检查提供的指纹是否正确
examples/verify