Marco Trevisan (Treviño)
865f202473
debian/update-udev-triggers.sh: Fix hwdb path
...
It was set to a testing location for development purposes, and it got
wrongly committed.
2021-10-27 00:34:20 +02:00
Marco Trevisan (Treviño)
bfa41fe183
Upload to jammy
2021-10-26 21:24:47 +02:00
Marco Trevisan (Treviño)
cd4601c104
Update changelog
2021-10-26 21:24:11 +02:00
Marco Trevisan (Treviño)
d845700226
debian/patches: Fix template struct in goodix drivers
...
LP: #1945296
2021-10-26 21:22:57 +02:00
boger
5e934a4fa0
goodixmoc: add PID 63CC
...
63CC: Dell Latitude series fingerprint sensor
2021-10-20 20:11:05 +08:00
hermanlin
5d0a3eab5c
elanmoc: add PID 0x0c7d
...
Signed-off-by: hermanlin <herman.lin@emc.com.tw >
2021-10-12 14:02:48 +08:00
Marco Trevisan (Treviño)
4058a81829
debian/patches: Add support for new elan, goodix and synaptics drivers
...
Most of the drivers only need to list new product IDs to work with new
devices, and including other changes that new devices may require.
LP: #1945296
LP: #1945298
2021-10-11 05:44:30 -04:00
Matthias Klose
c9bb40364e
Import Debian changes 1:1.90.7+git20210222+tod1-0ubuntu3
...
libfprint (1:1.90.7+git20210222+tod1-0ubuntu3) impish; urgency=medium
.
* No-change rebuild to build packages with zstd compression.
2021-10-11 04:49:57 -04:00
Benjamin Berg
7efb860381
Release 1.94.1
v1.94.1
2021-09-24 15:01:18 +02:00
Benjamin Berg
f9492d5345
NEWS: Fix 1.94.0 release date
2021-09-24 14:25:01 +02:00
Benjamin Berg
46669e9f53
goodixmoc: Do not run identify step during enroll
...
While useful, there are advantages for this to be done by the
surrounding code (i.e. fprintd). As such, remove the identify stage from
the goodix driver and rely on fprintd doing it for us.
One can probably argue that neither solution is perfect. Ideally, we
would probably return the information required to delete the old print
to the upper stack and let the driver/device handle the duplicate
checking.
However, for now this works well. We may need to reconsider this if we
get devices that do the duplicate checking transparently and just throw
an enroll error.
NOTE: The driver did not report any progress for the identify step. As
such, the number of enroll steps reported by the device remain the same.
Closes : #415
2021-09-24 14:24:47 +02:00
Benjamin Berg
a949594050
goodixmoc: Returned device print matched by verify/identify
...
This is needed for the fprintd duplicate checking code. The information
is needed to delete stale prints automatically from the device.
Related: #415
2021-09-21 19:13:02 +02:00
Benjamin Berg
20e8355c01
tests: Run custom.py from test creation helper when available
...
This allows creating tests both for image and non-image devices using
the same script.
2021-09-21 19:13:02 +02:00
boger
f579a77bfd
goodixmoc: add PID 63BC
...
63BC: Dell XPS series fingerprint sensor
2021-09-17 19:28:51 +08:00
Benjamin Berg
03deb3011b
udev-hwdb: Update unsupported device list
2021-09-17 12:54:02 +02:00
Benjamin Berg
c7650b6ec9
udev-hwdb: Set ID_PERSIST=0 in hwdb
...
See https://github.com/systemd/systemd/pull/20756
2021-09-17 12:46:29 +02:00
Aris Lin
128d809227
synaptics: add new PID 0x0123, 0x0126, and 0x0129
2021-09-17 12:42:51 +02:00
Benjamin Berg
9356e895a2
ci: Reference image directly for forks
...
Otherwise forks will not find the image and things fall apart (due to
the method of how we build the image).
2021-09-15 17:23:00 +02:00
Benjamin Berg
3c2883b992
ci: Pull in diffutils
...
It is needed by tests/test-generated-hwdb.sh and is not pulled in
indirectly anymore.
2021-09-15 16:27:17 +02:00
Benjamin Berg
eb568a62aa
ci: Switch to newer CI templates
2021-09-15 16:27:17 +02:00
Benjamin Berg
d763f8f41a
elanmoc: Fix warning
...
Really, it shouldn't matter, as there is no return. But adding the NULL
initializer does not harm either.
2021-09-15 15:54:25 +02:00
Benjamin Berg
df41ed56f6
meson: Use source_root() to not require meson 0.56
...
This fixes the flatpak build.
2021-09-15 15:43:33 +02:00
Bastien Nocera
aff063c23c
tests: Simplify capture of driver behaviour for regression tests
...
And update instructions for the simpler method.
Co-authored-by: Benjamin Berg <bberg@redhat.com >
2021-09-15 13:24:08 +00:00
Bastien Nocera
e2511095d1
device: Export kernel device from FpDevice
...
This is inelegant, but allows API consumers to match the FpDevice with
an OS device.
2021-09-15 13:24:08 +00:00
Bastien Nocera
9515cc2e59
tests: Add U.are.U 4500 test
2021-09-09 10:54:48 +02:00
Bastien Nocera
b3cfc40dea
tests: Add uru4000 test
...
This test requires control transfer replay fixes that will be contained
in umockdev 0.16.3. Bump the requirement accordingly.
Closes : #412
2021-09-08 20:37:00 +02:00
Benjamin Berg
c162b895c0
uru4000: Fix transfer type on interrupt endpoint
...
It appears the kernel automatically "fixes" this mistake and it works.
the transfer in question is an interrupt transfer and should be submitted
as such. Do that in order to make things more correct and so that the
test can run.
2021-09-08 20:37:00 +02:00
Bastien Nocera
40b3923ca6
tests: Add (another) elan driver replay test
...
This capture was made using a "COBO" branded device, and uses the new
pcapng format.
2021-09-08 15:36:35 +02:00
Bastien Nocera
d7e7d8e036
tests: Add aes2501 driver replay test
2021-09-08 15:25:14 +02:00
Bastien Nocera
ec53abfc3a
tests: Simplify multiple tests per driver code
2021-09-08 15:24:59 +02:00
Bastien Nocera
83541a2ddc
Revert "device: Export kernel device from FpDevice"
...
This reverts commit 8f93aef122 .
2021-09-06 17:34:22 +02:00
Bastien Nocera
e22497d51b
Revert "tests: Simplify capture of driver behaviour for regression tests"
...
This reverts commit 0dcb4be4d3 .
2021-09-06 17:34:15 +02:00
Bastien Nocera
0dcb4be4d3
tests: Simplify capture of driver behaviour for regression tests
...
And update instructions for the simpler method.
2021-09-06 17:32:05 +02:00
Bastien Nocera
8f93aef122
device: Export kernel device from FpDevice
...
This is inelegant, but allows API consumers to match the FpDevice with
an OS device.
2021-09-06 17:32:05 +02:00
Marco Trevisan (Treviño)
312b75fe66
test-fp-todv1-types: Ensure we check all the enum values
...
We were ignoring enum values when there were gaps, so let's check that
all the values in the old version enums are present in the current one.
2021-09-04 04:13:15 +02:00
Marco Trevisan (Treviño)
125d6e276f
tests: Repeat tests for TOD drivers compiled for each supported version
2021-09-04 03:20:58 +02:00
Marco Trevisan (Treviño)
4a337393a6
tests: Use more versioned types for fpi types tests
...
Also move images into its own header
2021-09-04 01:00:34 +02:00
Bastien Nocera
8dfa12e41d
fp-context: Fix typo in API docs
2021-09-03 20:58:25 +00:00
Marco Trevisan (Treviño)
9c37ffa4be
tests: Run TOD driver-independent tests alone
2021-09-03 20:18:36 +02:00
Marco Trevisan (Treviño)
c63455d289
TOD: Add wrappers for SSM functions that are not compatible with 1.90
...
Expose new versioned symbols that work with previous API so that we can
keep compatibility with old drivers without having to recompile them.
We disable the GCancellable API in delayed SSM actions since that was
something that wasn't really needed and prone to errors, instead of
just re-implementing it as it was in the TOD case.
2021-09-03 20:18:36 +02:00
Marco Trevisan (Treviño)
e4ef2ed7a0
tests: Do add TOD testing for SSM API
...
Driver is coming from the TOD drivers testing project [1].
https://gitlab.freedesktop.org/3v1n0/libfprint-tod-test-drivers
2021-09-03 19:41:17 +02:00
Marco Trevisan (Treviño)
fdf86e65ec
TOD: Add changed functions in libfprint 1.92, a fallback version is needed
2021-09-03 19:41:17 +02:00
Marco Trevisan (Treviño)
71827856c9
tod: Update version file to include new APIs per versions
2021-09-03 19:41:17 +02:00
Marco Trevisan (Treviño)
d0aa30a435
tod: Check the message emission if the tod path isn't readable
2021-09-03 19:41:17 +02:00
Marco Trevisan (Treviño)
29b904b93d
tests: Add versions check on TOD drivers based on their IDs
...
Recompile tod drivers using libfprint-tod-test-drivers project [1] so
that we don't have to reorder the private driver structure, plus use a
versioned driver ID and parse it to check whether a feature is supported
for such TOD test driver.
https://gitlab.freedesktop.org/3v1n0/libfprint-tod-test-drivers
2021-09-03 19:41:17 +02:00
Marco Trevisan (Treviño)
88cb452e05
fpi-device: Do not include config.h in headers
...
It should be included in files requiring it only.
2021-09-03 18:49:45 +02:00
Marco Trevisan (Treviño)
0a7473dce1
fpi-device: Do not include config.h in headers
...
It should be included in files requiring it only.
2021-09-02 13:43:43 +02:00
Marco Trevisan (Treviño)
4ed67f9084
build: Use host machine family from meson
2021-09-02 13:23:30 +02:00
Marco Trevisan (Treviño)
2d20c6a8f2
fpi-device: Ensure FpDeviceClass is still compatible with TODv1 ABI
...
Tests are ensuring it, adapt internal tests to ignore new features when
using old drivers
2021-08-28 03:07:23 +02:00
Marco Trevisan (Treviño)
2e00b03a43
Merge tag 'v1.94.0' into tod
...
Tag 1.94.0
Git-EVTag-v0-SHA512: 7cf9d7defb02433140f575589099569a5848ab34e8ecb0a4a90bb3c9eb1c228a16438afe1b23c381b59c1506f189a845752fead3dbd3c1c11f686cf47302cb1b
2021-08-28 02:19:40 +02:00