herman lin
df67c08a97
elanmoc: Add new PID 0xCB0
2025-12-16 16:20:35 +08:00
herman lin
0202368f17
elanmoc: Add new PID 0x0CA8
2025-12-06 01:21:04 +00:00
Marco Trevisan (Treviño)
c2988ae33d
drivers: Do not use Fp-prefix for driver-specific types
...
It's a libfprint specific prefix, so let's avoid confusion.
2025-12-06 01:09:38 +00:00
Egor Ignatov
042365dbec
elanmoc: Add new PID 0x0C98
...
Tested-on: Lenovo IdeaPad 5 2-in-1 16AHP9
Signed-off-by: Egor Ignatov <egori@altlinux.org >
2025-02-11 20:54:24 +00:00
herman lin
e1b6d8a461
elanmoc: Add new PID 0x0C9D and 0x0CA3
2025-02-10 13:49:05 +08:00
herman lin
b6061c0af8
elanmoc: Add new PID 0x0C9F
2024-08-08 14:08:19 +08:00
Marco Trevisan (Treviño)
90c4afded4
cleanup: Use non-const pointers for non constant cases
...
We had various cases in which we were using const pointers for
non constant data, and in fact we were allocating and free'ing
them.
So let's handle all these case properly, so that we won't have
newer GLib complaining at us!
2024-02-19 22:14:14 +01:00
hermanlin
d37b255a11
elanmoc: add PID 0x0C99
2023-07-10 11:17:27 +08:00
Marco Trevisan (Treviño)
171e65f73f
libfprint: Use g_memdup2 everywhere
...
It's just safer when available.
2022-09-27 17:10:33 +02:00
hermanlin
beac7f934d
elanmoc: Fixed unreachable code
...
ISSUE=503
Signed-off-by: hermanlin <herman.lin@emc.com.tw >
2022-08-26 18:44:22 +08:00
Johnny Li
fb63c39750
elanmoc: add PID 0x0c8c & 0x0c8d
2022-07-25 14:11:37 +08:00
hermanlin
24e7e1f100
elanmoc: Make sure sensor in the right mode at identity
...
Signed-off-by: hermanlin <herman.lin@emc.com.tw >
2022-07-11 15:39:11 +00:00
ArronYen
7899bf4240
elanmoc: add PID 0x0c88
2022-06-20 14:03:05 +08:00
ArronYen
2b760dfa38
elanmoc: add PID 0x0c82
2022-03-02 10:43:20 +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
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
hermanlin
4edfa48608
elanmoc: Fix the identify/verify error reporting in identify_status_report
2021-08-10 16:40:03 +08:00
hermanlin
1a5df96751
elanmoc: Return the correct error when the storage is full
2021-08-10 16:34:37 +08:00
hermanlin
62448492af
elanmoc: Adjustments to protocol change (passing an empty user ID)
2021-08-10 16:22:54 +08:00
Benjamin Berg
a2d950044d
device: Add simple temperature model for devices
...
This temperature model has three states:
* COLD
* WARM
* HOT
Device drivers can define the time it requires for the device to get HOT
and COLD. The underlying model assumes an exponential warming and
cooling process and enforces a cool-off time after the device has
reached the HOT state. This cool down period is however shorter than the
specified time in the driver.
2021-08-09 16:08:17 +02:00
hermanlin
42676dd300
elanmoc: Add elanmoc driver
...
Signed-off-by: hermanlin <herman.lin@emc.com.tw >
2021-07-07 13:35:59 +02:00