debian/patches: Add support for new elan and goodix PIDs

This commit is contained in:
Marco Trevisan (Treviño)
2021-10-27 00:59:19 +02:00
parent 8ad656ceea
commit dce792b5c4
3 changed files with 81 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
From: boger <boger@goodix.com>
Date: Wed, 20 Oct 2021 20:11:05 +0800
Subject: goodixmoc: add PID 63CC 63CC: Dell Latitude series fingerprint
sensor
Origin: https://gitlab.freedesktop.org/libfprint/libfprint/libfprint/-/commit/5e934a4f
---
data/autosuspend.hwdb | 1 +
libfprint/drivers/goodixmoc/goodix.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
index f3ee8fc..8b1527d 100644
--- a/data/autosuspend.hwdb
+++ b/data/autosuspend.hwdb
@@ -158,6 +158,7 @@ usb:v27C6p60A2*
usb:v27C6p639C*
usb:v27C6p63AC*
usb:v27C6p63BC*
+usb:v27C6p63CC*
usb:v27C6p6496*
usb:v27C6p6584*
usb:v27C6p658C*
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
index eb5e67a..15a8532 100644
--- a/libfprint/drivers/goodixmoc/goodix.c
+++ b/libfprint/drivers/goodixmoc/goodix.c
@@ -1282,6 +1282,7 @@ gx_fp_probe (FpDevice *device)
case 0x639C:
case 0x63AC:
case 0x63BC:
+ case 0x63CC:
case 0x6A94:
self->max_enroll_stage = 12;
break;
@@ -1505,6 +1506,7 @@ static const FpIdEntry id_table[] = {
{ .vid = 0x27c6, .pid = 0x639C, },
{ .vid = 0x27c6, .pid = 0x63AC, },
{ .vid = 0x27c6, .pid = 0x63BC, },
+ { .vid = 0x27c6, .pid = 0x63CC, },
{ .vid = 0x27c6, .pid = 0x6496, },
{ .vid = 0x27c6, .pid = 0x6584, },
{ .vid = 0x27c6, .pid = 0x658C, },