Commit Graph

2289 Commits

Author SHA1 Message Date
wagner.oliveira 22683ec490 Fix AES4000 wrong IDs (swapped pid/vid) 2023-01-27 18:23:55 -05:00
Enrik Berkhan 0bf7d58c5e goodixmoc: cleanup enroll state machine
As suggested by @benzea, the following cleanup actions have been
performed:

  - let case order match enroll states enum

  - remove FP_ENROLL_IDENTIFY that is no longer used

  - finally use fpi_ssm_next_state instead of explicitly jumping to
    FP_ENROLL_CREATE

Additionally, all types/functions/variables referring to "enroll_init"
used for FP_ENROLL_CREATE have been renamed to match "enroll_create".
All other states use similar name matching.

Signed-off-by: Enrik Berkhan <Enrik.Berkhan@inka.de>
2023-01-19 20:30:05 +01:00
Enrik Berkhan 86566e8d0b goodixmoc: Fix missing "enroll create" state
After the driver internal duplicate check had been removed in
46669e9f53, all templates were saved with
an all-zeroes template ID.

By going through FP_ENROLL_CREATE before starting to capture, the
template ID returned from the device is taken into account again.

Signed-off-by: Enrik Berkhan <Enrik.Berkhan@inka.de>
2023-01-19 20:28:33 +01:00
Zoltán Böszörményi 7080a5ff8b Abort initialization if unknown sensor dimensions are reported
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-01-17 19:50:21 +00:00
Zoltán Böszörményi 5e52ad2ad1 upektc_img: Add new unit test for the TCS1s chip variant 2023-01-17 19:50:21 +00:00
Zoltán Böszörményi bfaa9a9241 upektc_img: Fix asynchronous problem in init_read_data_cb() 2023-01-17 19:50:21 +00:00
Zoltán Böszörményi 9c900789de upektc_img: Add asserts for expected height reported by the device 2023-01-17 19:50:21 +00:00
Zoltán Böszörményi 29a24ba67f upektc_img: Add finger status changes 2023-01-17 19:50:21 +00:00
Zoltán Böszörményi 987f23698e upektc_img: Deduce sensor type from the information packet 2023-01-17 19:50:21 +00:00
Toni cda4e6136c upektc_img: Fix protocol for area sensors 2023-01-17 19:50:21 +00:00
Toni 522b481297 upektc_img: Add sensor chip detection
Move setting up sensor type and image dimensions to
activation time.
2023-01-17 19:50:21 +00:00
Toni fafe70f985 upektc_img: Fix CRC for upek2020_init_capture. 2023-01-17 19:50:21 +00:00
Vasily Khoruzhick 62818b9407 fpcmoc: fix use-after free in multiple callbacks
Drop if statement that retrieves internal ssm->error.
"error" is already a copied ssm->error, so it makes no sense to return
internal copy which will be freed when ssm is marked as done.

Fixes #526
2023-01-10 11:22:22 -08:00
Vasily Khoruzhick db2fa81358 tests: valgrind: update python and libfprint suppressions list 2023-01-10 11:15:17 -08:00
Vasily Khoruzhick d492901c3e tests: valgrind: generate suppressions list for new tests-suppress-new-valgrind-errors-in-python
That will help with updating suppresions lists in future
2023-01-10 11:14:51 -08:00
Vasily Khoruzhick a5d52eb853 Fix indentation issues with uncrustify-0.76.0
Apparently older version didn't find this indentation issues
2023-01-08 23:36:18 -08:00
Debian Janitor 20b97dba8d Remove constraints unnecessary since buster (oldstable)
* Build-Depends: Drop versioned constraint on libglib2.0-dev, libgusb-dev and meson.

Changes-By: deb-scrub-obsolete
2022-11-23 21:01:33 +00:00
Jelmer Vernooij fa429d92e3 Merge branch 'lintian-fixes' into 'debian'
Fix some issues reported by lintian

See merge request debian/libfprint!7
2022-11-23 19:45:48 +00:00
Debian Janitor 6008222761 Update standards version to 4.6.1, no changes needed.
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2022-11-21 15:22:08 +00:00
Debian Janitor b83f65bf61 Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
2022-11-21 15:22:07 +00:00
Debian Janitor 16c690e8f2 Trim trailing whitespace.
Changes-By: lintian-brush
Fixes: lintian: trailing-whitespace
See-also: https://lintian.debian.org/tags/trailing-whitespace.html
2022-11-21 15:21:55 +00:00
Bastien Nocera 89509c76f4 build: Print the list of enabled drivers
This saves us from having to figure out which drivers were enabled
during a build in some other way.
2022-11-02 12:04:34 +01:00
Jelmer Vernooij 8c641a504c Merge branch 'multiarch-fixes' into 'debian'
Apply hints suggested by the multi-arch hinter

See merge request debian/libfprint!6
2022-10-30 17:07:44 +00:00
Debian Janitor 2c6578e4d9 Apply multi-arch hints.
+ libfprint-2-2: Drop Multi-Arch: same.

Changes-By: apply-multiarch-hints
2022-10-14 18:05:28 +00:00
Marco Trevisan (Treviño) 673aba6846 Upload to unstable 2022-10-14 01:09:06 +02:00
Marco Trevisan (Treviño) 3d6d5901a9 Update changelog 2022-10-14 01:06:23 +02:00
Marco Trevisan (Treviño) 01a462580b debian/docs: Update reference to README.md and remove TODO 2022-10-14 01:06:16 +02:00
Jeremy Bicha 0c91e8745e releasing package libfprint version 1:1.94.5+tod1-0ubuntu1 2022-10-13 19:05:05 -04:00
Marco Trevisan (Treviño) 73ceb9e39c debian/patches: Cherry-pick post-release upstream cleanups 2022-10-14 00:59:50 +02:00
Marco Trevisan (Treviño) 81230b793c debian/libfprint-2-2.postinst: Devices triggers updated 2022-10-14 00:55:33 +02:00
Marco Trevisan (Treviño) 42c823205b New upstream release 2022-10-14 00:55:31 +02:00
Marco Trevisan (Treviño) 8bb07377ab Update upstream source from tag 'upstream/1.94.5'
Update to upstream version '1.94.5'
with Debian dir 704eca5787
2022-10-14 00:55:30 +02:00
Marco Trevisan (Treviño) 3b901ff205 New upstream version 1.94.5 2022-10-14 00:55:22 +02:00
Marco Trevisan (Treviño) b0380415c0 debian/source: Remove include-binaries file, we've none now 2022-10-14 00:18:33 +02:00
Marco Trevisan (Treviño) 6395dda012 fp-image: Remove config.h inclusion in fpi-header
And also avoid defining a function we expose depending on it's presency.
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño) 54bb0c12e6 fpi-image: Check for PIXMAN presency using #ifdef
That's a defined variable that may be there or not, and currently we
warn with:
 - fpi-image.c:29:5: warning: "HAVE_PIXMAN" is not defined, evaluates to 0
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño) 1f1ed80dbf test-device-fake: Add more logging showing the current device action 2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño) 36bcb24b3a fp-device: Move FpDevice private functions to public library
This these functions are not really needed by anything else than
FpDevice, so move them back to the cpp file, so that we don't expose
them in the private library, given that we don't need them
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño) ddacf07e3b meson: Actually bump the version to 1.94.5 2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño) 819a16842b Update changelog 2022-10-13 21:07:46 +02:00
Marco Trevisan (Treviño) 3d6814d48d debian/libfprint-2-tod1.symbols: Add new drivers symbols 2022-10-13 20:52:50 +02:00
Marco Trevisan (Treviño) 6e00b172be debian/patches: Drop all (applied upstream) 2022-10-13 20:52:49 +02:00
Marco Trevisan (Treviño) 87a9171d28 debian/libfprint-2-2.postinst: Devices triggers updated 2022-10-13 20:52:48 +02:00
Marco Trevisan (Treviño) 66337f7008 New upstream release 2022-10-13 20:52:27 +02:00
Marco Trevisan (Treviño) e41df1a318 Update upstream source from tag 'upstream/1.94.5+tod1'
Update to upstream version '1.94.5+tod1'
with Debian dir 4e0429ec4f
2022-10-13 20:52:27 +02:00
Marco Trevisan (Treviño) ac36b213ad New upstream version 1.94.5+tod1 2022-10-13 20:52:19 +02:00
Marco Trevisan (Treviño) 3ea2ee8a76 tod: Change namespace of internal functions to tod_*
In this way we don't have the risk of them being exported because
starting with `fpi_*`.
2022-10-13 20:42:31 +02:00
Marco Trevisan (Treviño) 17818cffe6 ci: allow failure on valgrind job
We have tests depending on external libraries that must not be updated
just to fix such issues
2022-10-13 20:21:15 +02:00
Marco Trevisan (Treviño) 18ca916c4d tod: Add fpi_device_suspend and fpi_device_resume to 1.94 version 2022-10-13 20:12:14 +02:00
Marco Trevisan (Treviño) 082b335300 Merge tag 'v1.94.5' into tod
v1.94.5

 * New driver: fpcmoc, supporting various FPC MOC Fingerprint Sensors
 * goodixmoc: New PIDs 0x6014, 0x6094, 0x631C, 0x634C, 0x6384, 0x659A.
 * goodixmoc: Support resetting device on firmware failure due to corrupted DB.
 * elanmoc: New PIDs 0x0c88, 0x0c8c, 0x0c8d.
 * synaptics: New PID 0x0104.
 * upektc: New PID 0x2017.
 * Fixed various memory leaks
 * More tests

Git-EVTag-v0-SHA512: a36e4b627ffc830a78932266119b73e53921965990bd1b6cae6fd8d166b1b8e62f5a538151a74b82a2a2d83a4ab7399ed17cb2bef39441f881a38a24252e4efa
2022-10-13 20:08:10 +02:00