From 0d7d3ce522d5f2761e54bfc99b5aebf091252d91 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 7 Apr 2026 18:34:11 +0800 Subject: [PATCH] focal: Add PID 5158 Signed-off-by: Daniel Schaefer --- data/autosuspend.hwdb | 1 + libfprint/drivers/focaltech_moc/focaltech_moc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index fe682714..3de7603a 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -188,6 +188,7 @@ usb:v2808pA78A* usb:v2808p1579* usb:v2808p077A* usb:v2808p079A* +usb:v2808p5158* 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 8bd93e4b..0cac7237 100644 --- a/libfprint/drivers/focaltech_moc/focaltech_moc.c +++ b/libfprint/drivers/focaltech_moc/focaltech_moc.c @@ -37,6 +37,7 @@ static const FpIdEntry id_table[] = { { .vid = 0x2808, .pid = 0x1579, }, { .vid = 0x2808, .pid = 0x077A, }, { .vid = 0x2808, .pid = 0x079A, }, + { .vid = 0x2808, .pid = 0x5158, }, { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ };