Marco Trevisan (Treviño)
9aa3060d32
ci: Expose valgrind test logs
2021-04-13 19:39:50 +02:00
Marco Trevisan (Treviño)
9a1dcaa801
tests: Use native meson exec wrapper in test setups instead of our script
...
No need to provide a script that will break usage of `meson test --gdb`
when we can use a native and cleaner alternative.
We can then ignore LIBFPRINT_TEST_WRAPPER in basic tests, while it is
still needed by umockdev tests.
2021-04-13 19:38:58 +02:00
Marco Trevisan (Treviño)
683ac48e21
libfprint2-sections: Add missing FpFingerStatusFlags
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
3b34fc9b5b
ci: Expose coverage report and meson logs in MRs
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
41f8737b48
device: Deprecate fp_device_{supports,has}_* functions for has_feature
...
We can avoid having multiple device feature-check functions now and
just rely on a few.
Add uncrustify config to properly handle begin/end deprecation macros.
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
ef805f2341
device: Expose supported features publicly as FpDeviceFeature
...
It can be convenient for device users to check what it supports, without
having multiple functions to check each single feature.
So expose this and add tests.
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
bd99f865d8
fp-device: Gracefully handle capture calls on devices with no support
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
3717468a8a
device: Make verification support optional
...
We always assumed a device can verify, but nothing prevents from having
a device that only can identify or capture.
So, given that we've more fine grained checks, let's stop the task if
this is the case.
2021-04-12 22:14:06 +02:00
Marco Trevisan (Treviño)
8d545a0b95
fpi-device: Add FpiDeviceFeature flags to FpDeviceClass
...
Allows drivers to define more fine grained features for devices, not
strictly depending on assumptions we can make depending on the
implemented vfuncs.
We keep this per class but could be in theory moved to each instance.
In any case, added an utility function to initialize it in the way we
can ensure that we've a consistent way for setting them across all the
devices.
2021-04-12 22:14:06 +02:00
Huan Wang
355957919e
Add nb1010 driver
2021-04-12 20:24:13 +02:00
Matthew Mirvish
07778f6bfa
upeksonly: fix double free in usb transfer cbs
...
Some USB transfer callbacks in this driver were freeing their transfer
buffer in their callbacks, which causes a double free since the transfer
itself frees them afterwards. Probably just got missed during the V2 api
changes.
2021-04-11 07:25:48 -04:00
Benjamin Berg
7fcce7891a
spi-transfer: Add SPI transfer helper routines
...
These routines assume that any messages is composed of a write and/or
read part. While the API allows sending and receiving as part of one
messages/transfer, it does not permit full duplex operation where data is
both send and received at the same time.
2021-04-08 16:52:20 +00:00
Matthew Mirvish
b0d9d00762
Add support for udev based device discovery
...
This is primarily useful for SPI devices. These devices sometimes needs
a combination of an SPI and HID device, so discovery is a bit more
complicated.
2021-04-08 17:08:53 +02:00
mincrmatt12
e95056aa86
fpi-image-device: Allow overriding of enroll stages
2021-04-06 18:51:50 -04:00
Matthias Klose
4f14b6e5b0
Import Debian changes 1:1.90.7+git20210222+tod1-0ubuntu2
...
libfprint (1:1.90.7+git20210222+tod1-0ubuntu2) hirsute; urgency=medium
.
* Disable lto for now, failing test
ibfprint:unit-tests+tod+fake_test_dev_tod_current / fpi-device-tod-fake_test_dev_tod_current
2021-04-02 00:51:06 +02:00
Marco Trevisan (Treviño)
9321791d0e
ci: Do not use verbose logging for tests, just rely on artifacts
...
Only print errors if any
2021-04-01 18:01:29 +02:00
Marco Trevisan (Treviño)
4031bb62d7
device: Gracefully handle identify on devices with no support
...
We were crashing as trying to still call the identify vfunc, so check if
identification is supported and if not return a relative error.
Added test as well
2021-04-01 17:44:56 +02:00
Marco Trevisan (Treviño)
59767af552
doc/libfprint-2.types: Also include fp-image-device to get image type
2021-04-01 17:13:11 +02:00
Aris Lin
3fb8860dc4
synaptics: add new PID 0x100 and remove PID 0xE7
2021-03-21 17:08:34 +08:00
Benjamin Berg
03e0efe7ea
doc: Add a few missing functions to documentation
2021-03-17 10:51:32 +01:00
Benjamin Berg
df9483e723
doc: Remove symbol that does not exist
...
fpi_ssm_next_state_timeout_cb simply does not exist, remove it.
2021-03-17 10:44:29 +01:00
Benjamin Berg
870468c741
doc: Add .types file for signals and properties
...
Without this the signals/properties are simply missing from the
documentation, which is obviously not very useful.
2021-03-17 10:41:48 +01:00
Julius Piso
47223e551f
Added test for vfs7552
2021-03-12 11:29:43 +01:00
Julius Piso
e0de8c67b6
Added driver for validity vfs7552
2021-03-12 11:29:43 +01:00
Benjamin Berg
4a700758a6
ssm: Add getter for the device
...
In some cases it can be useful to be able to retrieve the device. Add
the corresponding getter to do so.
2021-03-12 11:29:43 +01:00
Marco Trevisan (Treviño)
e8a7ff1033
tests/virtual-device: Add test checking close while we're still opening
2021-03-03 19:41:04 +01:00
Marco Trevisan (Treviño)
8ae27b4672
fpi-assemping: Do not include unneeded headers and do not use absolute search paths
2021-03-03 19:40:49 +01:00
Marco Trevisan (Treviño)
447cd3f7ba
fpi-assemping: Do not include unneeded headers and do not use absolute search paths
2021-03-03 19:35:16 +01:00
Marco Trevisan (Treviño)
08cf893e2e
examples: Add TOD inspector tool, to do some basic analysis of TOD drivers
...
Will print some drivers data
2021-03-03 19:30:38 +01:00
Benjamin Berg
b81c6857f2
demo: Fix flatpak build after udev option rename
2021-03-03 18:19:43 +01:00
Aris Lin
dbd20ec669
synaptics: Remove usb reset
...
It will trigger firmware to do some activities, remove it in device open
and device probe.
2021-03-03 16:49:13 +00:00
Benjamin Berg
e7eaecedc6
meson: Autodetect whether autosuspend rules are provided by udev
...
Upstream systemd/udev is pulling our autosuspend hwdb, so if udev is new
enough, then there is no need to install the file. As such, add
auto-detection logic for the scenario.
This also changes the name of the option and the type to "feature".
2021-03-03 16:45:41 +00:00
Benjamin Berg
52d0409241
data: Add note that the unsupported device list needs a manual sync
2021-03-03 17:30:12 +01:00
Benjamin Berg
f2d0d0bc57
udev-hwdb: Update list of unsupported devices
2021-03-03 17:29:30 +01:00
Marco Trevisan (Treviño)
7d5dec796d
Finalise changelog
2021-02-22 21:39:04 +01:00
Marco Trevisan (Treviño)
375d1e18ae
Update changelog
2021-02-22 21:39:00 +01:00
Marco Trevisan (Treviño)
bc8b3d497d
debian/libfprint-2-2.postinst: Regenerate as per generator changes
...
LP: #1909023
2021-02-22 21:39:00 +01:00
Marco Trevisan (Treviño)
f2dac228af
debian/update-udev-triggers.sh: Ignore udevadm trigger failures
...
LP: #1909023
2021-02-22 21:39:00 +01:00
Marco Trevisan (Treviño)
8fd1fcbe49
virtual-device: Move shared functions into the internal scope
...
We are currently exporting such functions in the library, even though
they are meant to be only private.
2021-02-22 21:08:57 +01:00
Marco Trevisan (Treviño)
77b9220178
debian/libfprint-2-2.symbols: Update symbols
2021-02-22 20:55:40 +01:00
Marco Trevisan (Treviño)
3f0aea923b
debian/patches: Drop, they're all applied upstream
2021-02-22 20:45:38 +01:00
Marco Trevisan (Treviño)
a5e2d8d7f0
debian/libfprint-2-2.postinst: Devices triggers updated
2021-02-22 20:42:18 +01:00
Marco Trevisan (Treviño)
5ef323521d
New upstream release
2021-02-22 20:42:15 +01:00
Marco Trevisan (Treviño)
8ea21bb0a2
Update upstream source from tag 'upstream/1.90.7+git20210222+tod1'
...
Update to upstream version '1.90.7+git20210222+tod1'
with Debian dir 064359ef87
2021-02-22 20:42:15 +01:00
Marco Trevisan (Treviño)
1c73414f3c
New upstream version 1.90.7+git20210222+tod1
2021-02-22 20:42:10 +01:00
Marco Trevisan (Treviño)
bd2e9570f6
debian/watch: Support TOD upstream git snapshots
2021-02-22 20:41:58 +01:00
Marco Trevisan (Treviño)
ffb6a00ee3
debian/update-udev-triggers.sh: Restore proper autosuspend.hwdb path
...
I wrongly committed it to a test location :(
2021-02-22 20:40:56 +01:00
Marco Trevisan (Treviño)
4f76dbc18f
Merge tag 'debian/1%1.90.7-3' into ubuntu
...
libfprint Debian release 1:1.90.7-3
2021-02-22 20:35:41 +01:00
Marco Trevisan (Treviño)
b65a775bae
Merge tag 'upstream/1.90.7' into upstream-tod
...
Upstream version 1.90.7
2021-02-22 20:26:04 +01:00
Marco Trevisan (Treviño)
c6da36a373
New upstream version 1.90.7+git20210222+tod1
2021-02-22 20:13:50 +01:00