From 1859a1e5d1e10da6baac25772ea4af5d5f927d7e Mon Sep 17 00:00:00 2001 From: wangyong Date: Wed, 11 Dec 2024 14:31:25 +0800 Subject: [PATCH] add new pid: 0xa99a, 0xa57a, 0xa78a --- data/autosuspend.hwdb | 3 +++ libfprint/drivers/focaltech_moc/focaltech_moc.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index e0f51047..c8fdca70 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -175,6 +175,9 @@ usb:v1C7Ap0603* usb:v2808p9E48* usb:v2808pD979* usb:v2808pA959* +usb:v2808pA99A* +usb:v2808pA57A* +usb:v2808pA78A* ID_AUTOSUSPEND=1 ID_PERSIST=0 diff --git a/libfprint/drivers/focaltech_moc/focaltech_moc.c b/libfprint/drivers/focaltech_moc/focaltech_moc.c index 9872c7c7..17f5363f 100644 --- a/libfprint/drivers/focaltech_moc/focaltech_moc.c +++ b/libfprint/drivers/focaltech_moc/focaltech_moc.c @@ -30,6 +30,9 @@ static const FpIdEntry id_table[] = { { .vid = 0x2808, .pid = 0x9e48, }, { .vid = 0x2808, .pid = 0xd979, }, { .vid = 0x2808, .pid = 0xa959, }, + { .vid = 0x2808, .pid = 0xa99a, }, + { .vid = 0x2808, .pid = 0xa57a, }, + { .vid = 0x2808, .pid = 0xa78a, }, { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ };