[Share Experiences] 让更多指纹设备再次得到试验指纹功能可行性的机会(不完全保证)
Tofloor
poster avatar
Ziggy
deepin
2022-09-06 01:27
Author

#Debian上游最新fwupd版本较老,本文采用flatpak较新版本替代

#只能提升能够使用设备指纹功能的概率,并不保证成功率,有更好的方案欢迎共享

#目前只测试UOS,其他发行版理论上通用

#需要有一定命令操作能力和耐心要求,喜欢鼠标点点点的可以考虑绕道了

#基础原理:frpint相关组件提供支持,fwupd更新硬件固件

前提准备

1.fprint相关组件包最新版本(附件)

2.提前安装flatpak:以root权限更新源后执行apt install flatpak

3.确保指纹设备无故障,其他发行版/OS上正常运行

4.执行lsusb获取指纹设备的device id,到https://fprint.freedesktop.org/supported-devices.html上搜索是否在support list内,不在列表大概率不支持,可以忽略下面内容了

截图_选择区域_20221025162236.png

基础组件安装

1.使用apt同时安装附件内所有包

安装方法:root权限下执行apt install xxx本地包,即可以apt形式安装本地debian包

2.(可选)为flatpak换为国内源:

方法一:

flatpak remote-add --if-not-exists sjtu https://mirror.sjtu.edu.cn/flathub/flathub.flatpakrepo

方法二:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

参考文档:https://skiy.net/d/211

3.非root账户下运行flatpak install flathub org.freedesktop.fwupd

安装fprint后测试

1.执行fprintd-enroll,正常调用识别则可以重启直接使用,显示无效设备则需要进行下一板块

更新固件

1.root权限下执行flatpak run org.freedesktop.fwupd get-devices扫描设备

fwupd.png

2.记录指纹设备的device id或guid

**
fwupd_marked.png

**

3.root权限下执行flatpak run org.freedesktop.fwupd refresh --force刷新可更新固件

4.root权限下执行flatpak run org.freedesktop.fwupd update [device ID/GUID]仅更新指纹设备的固件

验证

1.执行fprintd-enroll,正常调用识别则可以重启直接使用

2.不通过重新安装附件内所有组件包,并重新更新固件

避雷

1.fprintd-enroll添加完后必须使用fprintd-list [username]和fprintd-delete [username]删除创建的指纹数据,否则控制中心生物验证无法使用

2.重启后控制中心生物验证方可使用

3.安装完fprint包后原则上不要随意卸载依赖,尽管被标记为“不需要”,也不要执行自动清理依赖。若突然无法使用,重新执行上述步骤即可。

Reply Favorite View the author
All Replies
Ziggy
deepin
2022-09-06 01:28
#1
Reply View the author
jjcui8595
Moderator
2022-09-06 02:21
#2

like

Reply View the author
rabbitwq
deepin
2022-09-06 03:37
#3

安装gir1.2-fprint-2.0-1.94.2-1_amd64.deb

libfprint-2-2-dbgsym_1.94.2-1_amd64.deb

libfprint-2-dev_1.94.2-1_amd64.deb

三个包的时候提示依赖错误,有解决办法吗

Reply View the author
Ziggy
deepin
2022-09-06 03:41
#4
rabbitwq

安装gir1.2-fprint-2.0-1.94.2-1_amd64.deb

libfprint-2-2-dbgsym_1.94.2-1_amd64.deb

libfprint-2-dev_1.94.2-1_amd64.deb

三个包的时候提示依赖错误,有解决办法吗

用apt装,一起装,V23自行尝试

Reply View the author
晚秋(lateautumn)
Moderator
2022-09-08 07:09
#5

请教版主:我是小白,如何用apt命令装指纹驱动,我升级完V20.7没有指纹设置。
image.png

Reply View the author
xuqi
deepin testing team
2022-09-13 18:15
#6

like

Reply View the author
南川
deepin
2022-09-15 22:30
#7

优秀,可以用了,测试正常

Reply View the author
jjcui8595
Moderator
2022-10-21 23:01
#8

大赞,收藏like

Reply View the author
晚秋(lateautumn)
Moderator
2022-10-21 23:51
#9

没人教我,从网上学会了APT 安装。joy

Reply View the author
Ziggy
deepin
2022-10-26 00:54
#10

1025更新:部分环节添加截图和提示,以防有人不会用apt装本地包

Reply View the author
132******48
deepin
2022-11-04 08:12
#11

换源法一法二都试了接着进行第三步报错:

error: Unable to load summary from remote flathub: Server returned status 308: Unknown Error

Reply View the author
wyz144343
deepin
2022-11-04 18:11
#12

@Ziggy 楼主,你说明中所有操作我都过了, 上传的依赖包也安装了,但是提示找不到设备,还有其他办法么??

image.png

Reply View the author
Ziggy
deepin
2022-11-04 19:12
#13
wyz144343

@Ziggy 楼主,你说明中所有操作我都过了, 上传的依赖包也安装了,但是提示找不到设备,还有其他办法么??

image.png

先查支不支持这个device id

Reply View the author
wyz144343
deepin
2022-11-05 05:59
#14
Ziggy

先查支不支持这个device id

已经定位过了,支持的

Reply View the author
海豚湾
deepin
2022-11-15 05:57
#15

请问如何卸载上面安装的那么多东东?

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-12-23 17:43
#16

这操作可真是秀儿啊~

Reply View the author