add goodix 6512 support

This commit is contained in:
2024-07-09 16:34:27 -05:00
parent 4f101d393e
commit 6f9284c919
2 changed files with 30 additions and 4 deletions

24
goodix-6512.patch Normal file
View File

@@ -0,0 +1,24 @@
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
index d27813b..8fee711 100644
--- a/data/autosuspend.hwdb
+++ b/data/autosuspend.hwdb
@@ -209,6 +209,7 @@ usb:v27C6p6594*
usb:v27C6p659A*
usb:v27C6p659C*
usb:v27C6p6A94*
+usb:v27C6p6512*
ID_AUTOSUSPEND=1
ID_PERSIST=0
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
index 24d491d..9122efb 100644
--- a/libfprint/drivers/goodixmoc/goodix.c
+++ b/libfprint/drivers/goodixmoc/goodix.c
@@ -1636,6 +1636,7 @@ static const FpIdEntry id_table[] = {
{ .vid = 0x27c6, .pid = 0x659A, },
{ .vid = 0x27c6, .pid = 0x659C, },
{ .vid = 0x27c6, .pid = 0x6A94, },
+ { .vid = 0x27c6, .pid = 0x6512, },
{ .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */
};