libfprint/libfprint/drivers/synaptics
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
..
bmkt.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
bmkt_message.c Uncrustify with newer version 2020-06-02 11:56:19 +00:00
bmkt_message.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
bmkt_response.h synaptics: Add clear_storage() and remove list() 2021-04-29 11:49:27 +00:00
sensor.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
synaptics.c synaptics: Implement suspend/resume methods 2021-08-09 16:08:27 +02:00
synaptics.h synaptics: Implement suspend/resume methods 2021-08-09 16:08:27 +02:00