Dmitrii Shcherbakov
999bca076c
Allow FpPrint data to be extended on enrollment.
...
* Allow FPI_PRINT_NBIS to be extended rather than overridden if a user
supplies an existing FpPrint template with data;
* Prints will only be extended if a device has the required feature.
For image-based devices this feature is added by default since they
typically do not have storage (this can be overridden at the child
class level).
Extending an existing FpPrint requires passing a template print with
existing data during the enrollment process. This is done because the
caller is responsible for maintaining the fingerprint database and doing
the necessary deserialization operations if needed. The existing
example program is updated to show how to do that.
2021-12-16 12:53:41 +01:00
Marco Trevisan (Treviño)
5be5f5ac59
Upload to jammy
2021-12-14 19:57:05 +01:00
Marco Trevisan (Treviño)
73b185d1c4
Update changelog
2021-12-14 19:55:53 +01:00
Marco Trevisan (Treviño)
58781d5309
debian/patches: Drop, all applied upstream
2021-12-14 19:53:03 +01:00
Marco Trevisan (Treviño)
94f35d1d92
debian/libfprint-2-2.postinst: Devices triggers updated
2021-12-14 19:51:52 +01:00
Marco Trevisan (Treviño)
79ce870a65
New upstream release
2021-12-14 19:51:52 +01:00
Marco Trevisan (Treviño)
63320c998b
Update upstream source from tag 'upstream/1.94.2+tod1'
...
Update to upstream version '1.94.2+tod1'
with Debian dir 8aa5295f88
2021-12-14 19:46:09 +01:00
Marco Trevisan (Treviño)
2be7eed63d
New upstream version 1.94.2+tod1
2021-12-14 19:46:02 +01:00
Benjamin Berg
c3ef68fa5e
context: Ensure mainloop is idle before enumeration completes
...
This ensures that we have processed all hotplug events before
considering enumeration to be complete. This is important due to USB
persist being turned off. At resume time, devices will disappear and
immediately re-appear. In this situatoin, enumerate could first see the
old state with a removed device resulting in it to not be discovered.
As a hotplug event is semingly emitted by the kernel immediately, we
can simply make sure to process this hotplug event before returning
from enumerate.
Closes: fprintd#119
2021-12-14 19:33:50 +01:00
Matthew Mirvish
0b37a36874
doc: Fix broken documentation for FpiDeviceUdevSubtypeFlags enum
...
Added description and fixed incorrect name in comment, so now gtkdoc
actually shows useful information.
2021-12-14 19:33:41 +01:00
Marco Trevisan (Treviño)
d46c34b21c
Merge tag 'v1.94.2' into tod
...
Tag 1.94.2
Git-EVTag-v0-SHA512: 3eed67186b9533300d5ba70ce9abc36055068c3eafa663a48c655ef0e8c7a6928bb7cd875a7ae1860a65324fb806da79d83ca3c97a0640b10dc92dc497f04f11
2021-12-14 19:32:04 +01:00
Benjamin Berg
e198b04222
elanspi: Silence some SSMs that may log excessively otherwise
2021-12-02 13:54:59 +01:00
Benjamin Berg
3981c42d3e
ssm: Add API to silence most state change debug messages
...
Otherwise tightly looping SSMs (primarily SPI transfers), will flood the
logs in inappropriate ways.
2021-12-02 13:54:59 +01:00
Benjamin Berg
31afd3ba5c
elanspi: Move debug print so that it contains all information
...
Two of the printed variables were only calculated after the message was
printed, making the logged information less useful than it could be.
2021-12-02 13:53:54 +01:00
Benjamin Berg
05fd2c58cb
context: Ensure mainloop is idle before enumeration completes
...
This ensures that we have processed all hotplug events before
considering enumeration to be complete. This is important due to USB
persist being turned off. At resume time, devices will disappear and
immediately re-appear. In this situatoin, enumerate could first see the
old state with a removed device resulting in it to not be discovered.
As a hotplug event is semingly emitted by the kernel immediately, we
can simply make sure to process this hotplug event before returning
from enumerate.
Closes: fprintd#119
2021-12-01 15:29:18 +00:00
Matthew Mirvish
a033154b2e
doc: Fix broken documentation for FpiDeviceUdevSubtypeFlags enum
...
Added description and fixed incorrect name in comment, so now gtkdoc
actually shows useful information.
2021-11-15 17:10:44 -05:00
Marco Trevisan (Treviño)
8772056484
Upload to unstable
2021-11-03 17:39:27 +01:00
Marco Trevisan (Treviño)
683b882f97
Update changelog
2021-11-03 17:39:22 +01:00
Marco Trevisan (Treviño)
e1dd1de320
debian/patches: Drop, all applied upstream
2021-11-03 17:37:19 +01:00
Marco Trevisan (Treviño)
d4f1365d81
debian/watch: Use @PACKAGE@
2021-11-03 17:31:25 +01:00
Marco Trevisan (Treviño)
e7b6cfec6d
debian/update-udev-triggers: Ignore errors on udevadm trigger
...
These are not fatal for package installation and rebuild postinst script
2021-11-03 17:31:21 +01:00
Marco Trevisan (Treviño)
7461f18466
debian/libfprint-2-*.install: Use more restrictive rules to reduce ubuntu delta
2021-11-03 17:30:25 +01:00
Marco Trevisan (Treviño)
8217d33581
debian/libfprint-2-2.postinst: Devices triggers updated
2021-11-03 17:28:45 +01:00
Marco Trevisan (Treviño)
dae6dfe73a
New upstream release
2021-11-03 17:28:44 +01:00
Marco Trevisan (Treviño)
06843005ac
Update upstream source from tag 'upstream/1.94.2'
...
Update to upstream version '1.94.2'
with Debian dir ccbb696b9b
2021-11-03 17:28:43 +01:00
Marco Trevisan (Treviño)
84e920118a
New upstream version 1.94.2
2021-11-03 17:28:34 +01:00
Benjamin Berg
5e4bb26801
Release 1.94.2
v1.94.2
2021-11-02 16:28:13 +01:00
Benjamin Berg
2cfff27729
udev-hwdb: Update unsupported device list
2021-11-02 16:28:13 +01:00
Marco Trevisan (Treviño)
a36a4f20ff
tod-inspector: Add support for 1.94 device class members
2021-10-31 23:44:37 +01:00
Marco Trevisan (Treviño)
8ae5522201
tod-inspector: Support udev devices
2021-10-31 23:44:05 +01:00
Marco Trevisan (Treviño)
fef4120ae1
test-fpi-todv1-types: Check missing device class members for 1.94
...
Not a problem now, as we're still on 1.94, but will be needed to ensure
that future versions will be checked.
2021-10-31 23:28:21 +01:00
Marco Trevisan (Treviño)
dcfe3e0da9
Upload to jammy
2021-10-31 23:13:40 +01:00
Marco Trevisan (Treviño)
e14493f340
Update changelog
2021-10-31 23:13:36 +01:00
Marco Trevisan (Treviño)
608a9f10df
libfprint: Use a macro to easily compute TOD padding
2021-10-31 23:09:30 +01:00
Marco Trevisan (Treviño)
d6eb249fd6
debian/patches: Ensure that structures padding is constant in all archs
2021-10-31 23:08:38 +01:00
Marco Trevisan (Treviño)
ec8a9ba0fd
fpi-device: Adjust padding based on actual gpointer size
...
In some architectures pointer size is different. So let's adapt it to it
2021-10-31 22:31:01 +01:00
Marco Trevisan (Treviño)
bfbd8b5aee
Upload to jammy
2021-10-28 20:32:43 +02:00
Marco Trevisan (Treviño)
164fecb343
Update changelog
2021-10-28 20:32:37 +02:00
Marco Trevisan (Treviño)
90a1d2d481
debian/control: Depend libfprint-2-tod-dev on libgudev-1.0-dev
2021-10-28 19:45:38 +02:00
Marco Trevisan (Treviño)
437d8fa0cf
debian/libfprint-2-2.symbols: Remove virtual device symbols
...
These were wrongly exported before and not really part of any public
API.
2021-10-28 19:29:01 +02:00
Marco Trevisan (Treviño)
d402f1bed9
debian/libfprint-2-tod1.symbols: Update TOD symbols
2021-10-28 19:24:33 +02:00
Marco Trevisan (Treviño)
34d317bbbe
debian/patches: Drop, all applied on the TOD upstream branch
2021-10-28 19:24:32 +02:00
Marco Trevisan (Treviño)
f0e53af57e
debian/source/lintian-overrides: Update for new TOD drivers paths
2021-10-28 19:24:31 +02:00
Marco Trevisan (Treviño)
46ece03c62
debian/libfprint-2-2.postinst: Devices triggers updated
2021-10-28 19:24:18 +02:00
Marco Trevisan (Treviño)
5a45cb5023
New upstream release
2021-10-28 19:24:17 +02:00
Marco Trevisan (Treviño)
abbc365b5c
Update upstream source from tag 'upstream/1.94.1+tod1'
...
Update to upstream version '1.94.1+tod1'
with Debian dir 7437b3331b
2021-10-28 19:24:16 +02:00
Marco Trevisan (Treviño)
8839ed6b69
New upstream version 1.94.1+tod1
2021-10-28 19:24:08 +02:00
Marco Trevisan (Treviño)
77ff30e19d
tod: Mark symbols that were added in 1.90 series as part of TOD 1.0.0
...
Otherwise we'd cause the symbols to disappear on such versions
2021-10-28 19:22:21 +02:00
Marco Trevisan (Treviño)
d2d1834b6f
Merge tag 'debian/1%1.94.1-1' into ubuntu
...
libfprint Debian release 1:1.94.1-1
2021-10-28 18:20:45 +02:00
Marco Trevisan (Treviño)
378fae0ea2
doc: Add missing Drivers API SSM functions
2021-10-28 16:56:11 +02:00