libfprint/libfprint
Benjamin Berg 5c89bda7f3 synaptics: Implement suspend/resume methods
We only allow suspending while we are in the interrupt transfer stage.
To suspend, we cancel the interrupt transfer and at resume time we
restart it.

This has been tested to work correctly on an X1 Carbon 8th Gen with
suspend mode set to "Windows 10" (i.e. S0ix [s2idle] and not S3 [suspend
to RAM]). With S3 suspend, the USB root hub appears to be turned off or
reset and the device will be unresponsive afterwards (if it returns). To
avoid issues, libfprint disables the "persist" mode in the kernel and
we'll see a new device instead after resume.
2021-08-09 16:08:27 +02:00
..
drivers synaptics: Implement suspend/resume methods 2021-08-09 16:08:27 +02:00
nbis nbis: re-add step to remove perimeter points 2020-06-03 20:44:41 -07:00
drivers_api.h spi-transfer: Add SPI transfer helper routines 2021-04-08 16:52:20 +00:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp-context.c fp-context: Check hidraw VID/PID with udev instead of an ioctl 2021-06-21 13:39:24 -04:00
fp-context.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-device-private.h device: Implement suspend/resume methods 2021-08-09 16:08:21 +02:00
fp-device.c synaptics: Implement suspend/resume methods 2021-08-09 16:08:27 +02:00
fp-device.h device: Implement suspend/resume methods 2021-08-09 16:08:21 +02:00
fp-image-device-private.h image-device: Remove cancelling boolean from private data 2020-11-04 14:13:00 +01:00
fp-image-device.c fpi-device: Add FpiDeviceFeature flags to FpDeviceClass 2021-04-12 22:14:06 +02:00
fp-image-device.h fp-image-device: Properly include fp-device.h 2020-06-16 22:49:38 +02:00
fp-image.c image: Fix warning about uninitialized variable 2020-12-08 13:33:30 +01:00
fp-image.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-print-private.h cleanup: Use FPI prefix for all the internal enum types 2019-12-17 14:38:19 +01:00
fp-print.c print: Fix pspec of print type to match real default 2021-07-01 13:19:03 +02:00
fp-print.h fp-print: Delete not-defined anymore functions 2020-12-09 10:26:58 +01:00
fpi-assembling.c assembling: Fix copying only partial tile on overhang 2021-06-23 22:33:07 +02:00
fpi-assembling.h fpi-assemping: Do not include unneeded headers and do not use absolute search paths 2021-03-03 19:40:49 +01:00
fpi-byte-reader.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-reader.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-utils.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-writer.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-writer.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-compat.h compat: Add GFlagsClass autopointer 2020-12-08 13:27:50 +01:00
fpi-context.h compat: Add compatibility defines for older GLib 2020-02-10 11:40:40 +01:00
fpi-device.c device: Implement suspend/resume methods 2021-08-09 16:08:21 +02:00
fpi-device.h device: Implement suspend/resume methods 2021-08-09 16:08:21 +02:00
fpi-image-device.c fpi-image-device: Allow overriding of enroll stages 2021-04-06 18:51:50 -04:00
fpi-image-device.h image-device: Redefine internal states and valid transitions 2020-11-04 14:13:00 +01:00
fpi-image.c libfprint: Fix a few issues with the documentation 2020-05-11 20:51:29 +02:00
fpi-image.h lib: re-add partial image flag 2020-06-04 09:34:31 -07:00
fpi-log.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-minutiae.h cleanup: Don't make nbis depend on libfprint built-sources 2019-12-04 18:50:46 +01:00
fpi-print.c fpi-print: Improve debug on print score 2020-06-16 22:49:18 +02:00
fpi-print.h print: Add helpers to generate a unique print ID containing metadata 2020-04-20 16:43:52 +02:00
fpi-spi-transfer.c spi: Fix pointer cast on 32bit architectures 2021-07-06 20:56:16 +00:00
fpi-spi-transfer.h spi-transfer: Add SPI transfer helper routines 2021-04-08 16:52:20 +00:00
fpi-ssm.c ssm: Remove delayed action GCancellable integration 2021-04-28 22:16:37 +02:00
fpi-ssm.h ssm: Remove delayed action GCancellable integration 2021-04-28 22:16:37 +02:00
fpi-usb-transfer.c usb-transfer: Use fpi_device_add_timeout instead of g_idle_add 2021-04-28 22:16:37 +02:00
fpi-usb-transfer.h usb: Annotate access to USB buffers 2020-10-07 13:22:18 +02:00
fprint-list-supported-devices.c fprint-list: Add SPI devices to supported list 2021-06-25 12:31:52 +02:00
fprint-list-udev-hwdb.c egistec: Add new driver 2021-07-08 13:42:22 +02:00
fprint-list-udev-rules.c list-udev-rules: Add udev rule generation for SPI 2021-06-22 19:13:48 +00:00
fprint.h Uncrustify everything except for nbis 2019-11-20 20:38:06 +01:00
libfprint.ver fprint: Move drivers to private internal library 2019-12-12 19:03:57 +01:00
meson.build egistec: Add new driver 2021-07-08 13:42:22 +02:00