Support more fingerprint devices by modifying fprint+fwupd(not 100%) #3476
ziggy1030
started this conversation in
Show and tell | 成果展示
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#The package "fwupd" of the Debian source looks out of update,so this case replaced it with the flatpak version.
#This case could just only the probability of enabling the fingerprint reader successfully,not 100% success,welcome to discuss with me if you have a better solution
#I just tested it on UOS,theoretically it is in common use on other distributions.
#You need to have the ability to use commands and patience,if you just want to click & click by your mouse,you could skip the case.
#How to works:"fprint" and other relevant packages provides basic support,use "fwupd" to update the firmware if needed.
Prerequisite preparation
1.Latest version packages of "fprint"(enclosure)
2.Install the "flatpak":After updating the source and type "apt install flatpak" with root privileges
3.Make sure your fingerprint reader devies could run on other OS/distributions successfully.
4.Use the "lsusb" to get the device id of your fingerprint reader devies,and search it on the https://fprint.freedesktop.org/supported-devices.html to check if it is on the support list,if you don't find it on the list,it probably don't get support,so you could skip the next con
tent.
Installating basic components
1.Install all the packages in the enclosure zip with apt
How to use:Type "apt install xxx(local packages)" with root privileges,then you could install the local debian packages with apt.
2.(Optional)Change the flatpak source to the CN version:
Method1:
flatpak remote-add --if-not-exists sjtu https://mirror.sjtu.edu.cn/flathub/flathub.flatpakrepo
Method2:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
Reference Documents:https://skiy.net/d/211
3.Run "flatpak install flathub org.freedesktop.fwupd" with non-root user.
Testing after installing "fprint"
1.Run "fprintd-enroll",if it runs successfully so you could use it after reboot,if it shows " invalid device " then you have to take the following actions.
Updating firmware
1.Type "flatpak run org.freedesktop.fwupd get-devices" with root privileges to scan the devices.
2.Mark down the device id/guid of the fingerprint devices.
3.Type "flatpak run org.freedesktop.fwupd refresh --force" with root privileges to refresh the upgradeable firmwares.
4.Type "flatpak run org.freedesktop.fwupd update [device ID/GUID]" with root privileges to update the firmwares of fingerprint devices only.
Verify
1.Run "fprintd-enroll",if it runs successfully so you could use it after reboot.
2.If fails,reinstall all the packages and reupdate the firmwares.
Some Tips
1.You have to use "fprintd-list [username]" and "fprintd-delete [username]" to delete the test finger data,or you could not to use the Biological Verification of the control center.
2.Reboot or you could not to use the Biological Verification of the control center.
3.Don't remove the depend packages at will (like apt autoremove),though they might be marked with "unnecessary".If the function is disabled suddenly,just redo the above steps.
Full Documents:
fprint_en.md
fprint_cn.md
frpint_packages.zip
Beta Was this translation helpful? Give feedback.
All reactions