Package Details: libfprint-goodix-521d 1.94.1-9

Git Clone URL: https://aur.archlinux.org/libfprint-goodix-521d.git (read-only, click to copy)
Package Base: libfprint-goodix-521d
Description: Library for fingerprint readers - For Goodix 521d and 538d
Upstream URL: https://fprint.freedesktop.org/
Keywords: goodix
Licenses: LGPL
Groups: fprint
Conflicts: libfprint
Provides: libfprint, libfprint-2.so, libfprint-goodix-521d
Submitter: infinyte
Maintainer: infinyte
Last Packager: infinyte
Votes: 2
Popularity: 0.000000
First Submitted: 2021-10-06 20:14 (UTC)
Last Updated: 2024-12-28 23:09 (UTC)

Dependencies (10)

Required by (3)

Sources (1)

Pinned Comments

infinyte commented on 2021-10-06 20:37 (UTC) (edited on 2021-10-26 09:57 (UTC) by infinyte)

Important: You need to flash the firmware of your fingerprint reader first using https://github.com/mpi3d/goodix-fp-dump.

Latest Comments

1 2 Next › Last »

ricclopez commented on 2024-12-24 21:36 (UTC)

The latest changes do allow it to build, but I think something may have been omitted in the update because yay doesn't pull the latest changes to pkgbuild if the package has already been installed previously. I had to manually git pull in the cache dir.

NoPH8 commented on 2024-11-09 19:10 (UTC)

It is not related to the package but can be useful for someone else: it looks like that my laptop has the 90 degrees-rotated sensor because of if I swipe from left to right during enroll then the verify works great (finger also has to be rotated of course)

NoPH8 commented on 2024-11-08 19:19 (UTC)

Thank you, guys!

With the last changes and this article: https://hackmd.io/@0f-sojqTSA6rPUx1QCuZ5A/S1IsezNpt#Requirement I was able to make fingerprint working on Dell Vostro 3500 (27c6:538d).

It often says 'no match' on verify fingerprint but nevertheless it works!

infinyte commented on 2024-10-01 13:37 (UTC)

@paulequilibrio thanks for the suggestion! I updated the PKGBUILD file.

paulequilibrio commented on 2024-10-01 13:26 (UTC)

Thank you @ricclopez for your comment. I was able to compile and install by adding the following prepare function to the PKGBUILD file:

prepare() {
  sed -i "common_cflags = cc.get_supported_arguments(\[/a \    '-Wno-incompatible-pointer-types'," ${_pkgdirname}/meson.build
}

ricclopez commented on 2024-09-11 19:53 (UTC)

This compiles and works fine (as far as I can tell) with the error suppressed.

I pulled the unstable branch and added '-Wno-incompatible-pointer-types', to the list in the cc.get_supported_arguments call on line 22 of meson.build

This is the only route I've been able to find to get Goodix 27c6:538d to work.

NoPH8 commented on 2024-06-22 12:57 (UTC)

Hello! Can you help me to build the library? The build failed with

[79/138] Compiling C object libfprint/libfprint-drivers.a.p/drivers_goodixtls_goodix53xd.c.o
FAILED: libfprint/libfprint-drivers.a.p/drivers_goodixtls_goodix53xd.c.o 
cc -Ilibfprint/libfprint-drivers.a.p -Ilibfprint -I../libfprint/libfprint -I. -I../libfprint -Ilibfprint/nbis/include -I../libfprint/libfprint/nbis/include -Ilibfprint/nbis/libfprint-include -I../libfprint/libfprint/nbis/libfprint-include -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/pixman-1 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Wcast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -Wignored-qualifiers -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpointer-arith -Wshadow -Wswitch-enum -Wtype-limits -Wundef -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-strict-aliasing -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -D_GNU_SOURCE '-DG_LOG_DOMAIN="libfprint"' -Wimplicit-function-declaration -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Werror=pointer-to-int-cast -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/var/tmp/pamac-build-noph8/libfprint-goodix-521d/src=/usr/src/debug/libfprint-goodix-521d -flto=auto -fPIC -pthread -MD -MQ libfprint/libfprint-drivers.a.p/drivers_goodixtls_goodix53xd.c.o -MF libfprint/libfprint-drivers.a.p/drivers_goodixtls_goodix53xd.c.o.d -o libfprint/libfprint-drivers.a.p/drivers_goodixtls_goodix53xd.c.o -c ../libfprint/libfprint/drivers/goodixtls/goodix53xd.c
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c: In function ‘scan_empty_run’:
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c:582:36: error: passing argument 2 of ‘goodix_tls_read_image’ from incompatible pointer type [-Wincompatible-pointer-types]
  582 |         goodix_tls_read_image(dev, &payload, sizeof(payload), on_scan_empty_img, ssm);
      |                                    ^~~~~~~~
      |                                    |
      |                                    guint8 (*)[10] {aka unsigned char (*)[10]}
In file included from ../libfprint/libfprint/drivers/goodixtls/goodix53xd.c:39:
../libfprint/libfprint/drivers/goodixtls/goodix.h:249:51: note: expected ‘guint8 *’ {aka ‘unsigned char *’} but argument is of type ‘guint8 (*)[10]’ {aka ‘unsigned char (*)[10]’}
  249 | void goodix_tls_read_image(FpDevice* dev, guint8* payload, guint16 length, GoodixImageCallback callback,
      |                                           ~~~~~~~~^~~~~~~
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c: In function ‘scan_get_img’:
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c:598:32: error: passing argument 2 of ‘goodix_tls_read_image’ from incompatible pointer type [-Wincompatible-pointer-types]
  598 |     goodix_tls_read_image(dev, &payload, sizeof(payload), scan_on_read_img, ssm);
      |                                ^~~~~~~~
      |                                |
      |                                guint8 (*)[10] {aka unsigned char (*)[10]}
../libfprint/libfprint/drivers/goodixtls/goodix.h:249:51: note: expected ‘guint8 *’ {aka ‘unsigned char *’} but argument is of type ‘guint8 (*)[10]’ {aka ‘unsigned char (*)[10]’}
  249 | void goodix_tls_read_image(FpDevice* dev, guint8* payload, guint16 length, GoodixImageCallback callback,
      |                                           ~~~~~~~~^~~~~~~
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c: In function ‘scan_run_state’:
../libfprint/libfprint/drivers/goodixtls/goodix53xd.c:644:34: warning: excess elements in scalar initializer
  644 |         guint16 payload = {0x05, 0x03};
      |                                  ^~~~

There are also some warnings, I don't know if it is important.

infinyte commented on 2022-04-25 06:56 (UTC)

@YHNdnzj libgudev has been added

YHNdnzj commented on 2022-04-17 10:34 (UTC)

libgudev is missing as a dependency

infinyte commented on 2021-10-24 17:29 (UTC)

@guiodic For help regarding your scanner, you best join the Linux Goodix Fingerprint Development discord: https://discord.gg/6xZ6k34Vqg