在 openSUSE 下启用指纹认证

done! 顺利的完成了安装. 非常顺利。应该是因为我的 plasma 环境。
但接下来
sudo fprintd-list user

Failed to get Fprintd manager: 为 net.reactivated.Fprint 调用 StartServiceByName 出错:Failed to activate service ‘net.reactivated.Fprint’: timed out (service_start_timeout=25000ms)

已经运行过: sudo meson setup --wipe . _build
sudo meson --reconfigure . _build

先查看 sudo systemctl status fprintd
如果是 Failed 或者是 Dead,尝试 sudo system restart fprintd或者 sudo systemctl enable frpintd --now

系统日志里看起来是装上了驱动?
[ 5.423660] usb 1-9: New USB device found, idVendor=138a, idProduct=0097, bcdDevice= 1.64
但:
sudo systemctl status fprintd
ines 1-12/12 (END)…skipping…
● fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/usr/lib/systemd/system/fprintd.service; static)
Active: failed (Result: exit-code) since Thu 2022-02-03 01:30:03 CST; 10min ago
Docs: man:fprintd(1)
Process: 3574 ExecStart=/usr/lib/fprintd (code=exited, status=127)
Main PID: 3574 (code=exited, status=127)

2 月 03 01:30:03 tps systemd[1]: Starting Fingerprint Authentication Daemon…
2 月 03 01:30:03 tps fprintd[3574]: /usr/lib/fprintd: symbol lookup error: /usr/lib/fprintd: undefined symbol: fp_device_has_feature, version LIBFPRINT_2.0.0
2 月 03 01:30:03 tps systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
2 月 03 01:30:03 tps systemd[1]: fprintd.service: Failed with result ‘exit-code’.
2 月 03 01:30:03 tps syst2 月 03 01:48:05 tps emd[1]: Failed to start Fingerprint Authentication Daemon.
运行 sudo systemctl enable frpintd --now 失败后的系统日志:
kernel: usb 1-9: reset full-speed USB device number 6 using xhci_hcd
fprintd[4406]: /usr/lib/fprintd: symbol lookup error: /usr/lib/fprintd: undefined symbol: fp_device_has_feature, version LIBFPRINT_2.0.0
systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
An ExecStart= process belonging to unit fprintd.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 127.

看来这是个已知的问题,需要降级到 1.90?


我的版本是:
名称 : fprintd
版本 : 1.94.1-lp153.41.1
架构 : x86_64
厂商 : obs://build.opensuse.org/hardware

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。

我的笔记本目前使用的是 1.90.9,整套系统有一段时间没升级了,刚升级到了 0204 快照版本,内核 5.16.4,目前工作正常,你可以测试一下。
如果感觉是 frpintd 版本的问题可以试试安装 1.90, 我这边从 OBS 上 fork 了一份 1.90 的版本
使用这条命令添加 OBS 安装源:

sudo zypper ar https://download.opensuse.org/repositories/home:emf37:branches:openSUSE:Factory/openSUSE_Tumbleweed/home:emf37:branches:openSUSE:Factory.repo
zypper refresh
1赞