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
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)
608a9f10df
libfprint: Use a macro to easily compute TOD padding
2021-10-31 23:09:30 +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)
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)
378fae0ea2
doc: Add missing Drivers API SSM functions
2021-10-28 16:56:11 +02:00
Marco Trevisan (Treviño)
01b0f7aba0
doc: Include missing types (SPI) and functions to the Drivers API
2021-10-28 16:39:35 +02:00
Marco Trevisan (Treviño)
1153fc85a5
Merge with libfprint 1.94.1 and followup fixup commits
2021-10-28 15:46:02 +02:00
Benjamin Berg
17ff49f85c
goodixmoc: Fix template struct for required length calculation
...
The length is only a single byte in the transfer. However, the struct
had a uint32_t in that place, breaking the sizeof() calculation and
seemingly creating issues for certain lengths of user id strings (which
depend on the username).
Fix this by changing the type to uint8_t. Also add the initial 0x43
prefix byte and a byte of apparent padding that the struct contains.
Leave the two reserved bytes at the end, as they seem to actually have a
meaning (i.e. they are seemingly send in listings).
This effectively makes the struct one byte smaller, bringing it down to
127 bytes from 128 bytes.
Closes : #428 , #404
2021-10-27 06:54:47 +00:00
Marco Trevisan (Treviño)
de46e1e4b8
tests: Add missing trailing new lines on devices attributes
...
This as per the same reasons of commit 63bfaf4 , and without trailing new
lines such attributes aren't picked by umockdev in ubuntu and debian.
2021-10-27 02:01:50 +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
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