Files
libfprint/debian/patches/elanmoc-add-PID-0x0c88.patch
T
Marco Trevisan (Treviño) 3dd06634d5 elanmoc: Add support for more supported PIDs
And include more tests for specific cases.

LP: #1989314
2022-10-13 13:50:55 +02:00

34 lines
1016 B
Diff

From: ArronYen <arron.yen@emc.com.tw>
Date: Mon, 20 Jun 2022 14:03:05 +0800
Subject: elanmoc: add PID 0x0c88
---
data/autosuspend.hwdb | 1 +
libfprint/drivers/elanmoc/elanmoc.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
index d55ed3e..725c602 100644
--- a/data/autosuspend.hwdb
+++ b/data/autosuspend.hwdb
@@ -145,6 +145,7 @@ usb:v04F3p0C58*
usb:v04F3p0C7D*
usb:v04F3p0C7E*
usb:v04F3p0C82*
+usb:v04F3p0C88*
ID_AUTOSUSPEND=1
ID_PERSIST=0
diff --git a/libfprint/drivers/elanmoc/elanmoc.c b/libfprint/drivers/elanmoc/elanmoc.c
index 3185ee7..ad23e93 100644
--- a/libfprint/drivers/elanmoc/elanmoc.c
+++ b/libfprint/drivers/elanmoc/elanmoc.c
@@ -28,6 +28,7 @@ static const FpIdEntry id_table[] = {
{ .vid = 0x04f3, .pid = 0x0c7d, },
{ .vid = 0x04f3, .pid = 0x0c7e, },
{ .vid = 0x04f3, .pid = 0x0c82, },
+ { .vid = 0x04f3, .pid = 0x0c88, },
{ .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */
};