Thank you all for your feedback, all the reported issues should now be fixed.
Thanks @Stebalien for the patch.
Git Clone URL: | https://aur.archlinux.org/libfprint-vfs009x-git.git (read-only, click to copy) |
---|---|
Package Base: | libfprint-vfs009x-git |
Description: | Library for fingerprint readers (includes libre vfs0090 and vfs0097 driver) |
Upstream URL: | https://github.com/3v1n0/libfprint |
Licenses: | LGPL |
Groups: | fprint-git |
Conflicts: | fprintd, libfprint |
Provides: | libfprint, libfprint-2.so, libfprint-vfs0090, libfprint-vfs0097, libfprint-vfs009x |
Replaces: | libfprint, libfprint-vfs0090, libfprint-vfs0097, libfprint-vfs009x |
Submitter: | depau |
Maintainer: | None |
Last Packager: | Fusate |
Votes: | 15 |
Popularity: | 0.002905 |
First Submitted: | 2020-06-21 21:32 (UTC) |
Last Updated: | 2024-07-01 18:58 (UTC) |
Thank you all for your feedback, all the reported issues should now be fixed.
Thanks @Stebalien for the patch.
Attempt to build via pamac on Manjaro Gnome yields:
|index f3c2072..e8b4619 100644 |--- a/vfs0090.h |+++ b/vfs0090.h
File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored ==> ERROR: A failure occurred in prepare(). Aborting...
Patch to fix the PKGBUILD: https://gist.github.com/5e6f91229968f92eaf85a0c971d1dc0c
warning
instead of messing around with color codes manually.Sadly the neweest package change broke the aur package with the following error message
libfprint-vfs009x-git/PKGBUILD: line 36: local: RED: Readonly variable.
Alright guys, I updated the package and added some checks:
export VFS0097=1
or =0
will respectively force the VFS0097 patch on or off.Please let me know if it works :)
EDIT: I also noticed 3v1n0 created a new repo on XDG's GitLab, I asked which one should be used and I'll update the package accordingly. https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues/3
Thanks @ectospasm for linking this. I'm aware that 3v1n0 is quite busy so he doesn't look at GitHub issues very often.
This is the actual patch: https://github.com/piotrekzurek/libfprint-tod-vfs0090/commit/804bdcfe4179a2f350af5344dc0362111ab017ae
I just tested it on my laptop (vfs0090) and it does NOT work with the patch.
However, as a temporary workaround I can make it so that the patch is applied if you export VFS0097=1
at build-time.
The issue ultimately needs to be addressed by upstream.
Anyone experiencing a protocol error with vfs0097 should review this upstream issue. There's a patch to getting it working, but I had to use a third-party GitHub repository to get it.
The package will automatically apply a patch required for the vfs0097 reader if one is found in the system at build time, it will otherwise build for vfs0090. You can force a preferred behavior by exporting VFS0097=1
or =0
.
If you have any issues, make sure talk about it https://gitter.im/Validity90/Lobby so it has a chance to get fixed.
GH issues have also been enabled by upstream, so make sure you check that as well: https://github.com/3v1n0/libfprint/
The driver should work as expected, but same as above for any issues.
You should probably ask in the Gitter chat: https://gitter.im/Validity90/Lobby
As a temporary workaround you can use downgrader
from AUR to download fprintd
v0.90 and install this package, then add it to IgnorePkg
so it doesn't get upgraded.
Okay. I have installed this other one but when I run fprintd-enroll <username> I get failed to claim device: Open failed with error: The driver encountered a protocol error with the device. Do you know any fix?
Pinned Comments
depau commented on 2020-07-25 16:17 (UTC) (edited on 2020-10-09 19:21 (UTC) by depau)
vfs0097 users
The package will automatically apply a patch required for the vfs0097 reader if one is found in the system at build time, it will otherwise build for vfs0090. You can force a preferred behavior by exporting
VFS0097=1
or=0
.If you have any issues, make sure talk about it https://gitter.im/Validity90/Lobby so it has a chance to get fixed.
GH issues have also been enabled by upstream, so make sure you check that as well: https://github.com/3v1n0/libfprint/
vfs0090 users
The driver should work as expected, but same as above for any issues.