From e43137c76020f650fa4aae905f4a3e0feee79b75 Mon Sep 17 00:00:00 2001 From: Harshith Goka Date: Thu, 12 Feb 2026 03:37:05 +0900 Subject: [PATCH] feat: Add support for Goodix device 0x27C6:0x6984 It includes autosuspend configuration. --- 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 68e063d5..373b9079 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -248,6 +248,7 @@ usb:v27C6p6512* usb:v27C6p6890* usb:v27C6p689A* usb:v27C6p66A9* +usb:v27C6p6984* ID_AUTOSUSPEND=1 ID_PERSIST=0 diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c index 7ddbe412..b2c7920d 100644 --- a/libfprint/drivers/goodixmoc/goodix.c +++ b/libfprint/drivers/goodixmoc/goodix.c @@ -1439,6 +1439,7 @@ gx_fp_probe (FpDevice *device) case 0x6A94: case 0x659A: case 0x6890: + case 0x6984: self->max_enroll_stage = 12; break; @@ -1701,6 +1702,7 @@ static const FpIdEntry id_table[] = { { .vid = 0x27c6, .pid = 0x6890, }, { .vid = 0x27c6, .pid = 0x689A, }, { .vid = 0x27c6, .pid = 0x66A9, }, + { .vid = 0x27c6, .pid = 0x6984, }, { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ };