diff -Nru libfprint-1.94.5+tod1/debian/changelog libfprint-1.94.5+tod1/debian/changelog --- libfprint-1.94.5+tod1/debian/changelog 2023-04-12 10:45:01.000000000 +0200 +++ libfprint-1.94.5+tod1/debian/changelog 2023-09-28 18:58:56.000000000 +0200 @@ -1,3 +1,10 @@ +libfprint (1:1.94.5+tod1-0ubuntu2.1) lunar; urgency=medium + + * debian/patches/elanmoc-add-PID-0x0c99.patch: + - Add support for PID 0c99 elan fingerprint device (LP: #2031872) + + -- Yao Wei (魏銘廷) Thu, 28 Sep 2023 18:58:56 +0200 + libfprint (1:1.94.5+tod1-0ubuntu2) lunar; urgency=medium * debian/patches/git_tests_fix.patch: diff -Nru libfprint-1.94.5+tod1/debian/patches/elanmoc-add-PID-0x0c99.patch libfprint-1.94.5+tod1/debian/patches/elanmoc-add-PID-0x0c99.patch --- libfprint-1.94.5+tod1/debian/patches/elanmoc-add-PID-0x0c99.patch 1970-01-01 01:00:00.000000000 +0100 +++ libfprint-1.94.5+tod1/debian/patches/elanmoc-add-PID-0x0c99.patch 2023-09-28 18:58:33.000000000 +0200 @@ -0,0 +1,48 @@ +From d37b255a11795f7e498997ed4a36a8c8bd2df408 Mon Sep 17 00:00:00 2001 +From: hermanlin +Date: Mon, 10 Jul 2023 11:17:27 +0800 +Subject: [PATCH] elanmoc: add PID 0x0C99 + +--- + data/autosuspend.hwdb | 1 + + libfprint/drivers/elanmoc/elanmoc.c | 5 +++++ + 2 files changed, 6 insertions(+) + +diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb +index 39ace7b9..e26030fa 100644 +--- a/data/autosuspend.hwdb ++++ b/data/autosuspend.hwdb +@@ -149,6 +149,7 @@ usb:v04F3p0C82* + usb:v04F3p0C88* + usb:v04F3p0C8C* + usb:v04F3p0C8D* ++usb:v04F3p0C99* + ID_AUTOSUSPEND=1 + ID_PERSIST=0 + +diff --git a/libfprint/drivers/elanmoc/elanmoc.c b/libfprint/drivers/elanmoc/elanmoc.c +index 471189fd..0261bfff 100644 +--- a/libfprint/drivers/elanmoc/elanmoc.c ++++ b/libfprint/drivers/elanmoc/elanmoc.c +@@ -31,6 +31,7 @@ static const FpIdEntry id_table[] = { + { .vid = 0x04f3, .pid = 0x0c88, }, + { .vid = 0x04f3, .pid = 0x0c8c, }, + { .vid = 0x04f3, .pid = 0x0c8d, }, ++ { .vid = 0x04f3, .pid = 0x0c99, }, + { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ + }; + +@@ -1086,6 +1087,10 @@ elanmoc_open (FpDevice *device) + self->max_moc_enroll_time = 11; + break; + ++ case 0x0c99: ++ self->max_moc_enroll_time = 14; ++ break; ++ + case 0x0c8d: + self->max_moc_enroll_time = 17; + break; +-- +GitLab + diff -Nru libfprint-1.94.5+tod1/debian/patches/series libfprint-1.94.5+tod1/debian/patches/series --- libfprint-1.94.5+tod1/debian/patches/series 2023-04-12 10:45:01.000000000 +0200 +++ libfprint-1.94.5+tod1/debian/patches/series 2023-09-28 18:58:33.000000000 +0200 @@ -1 +1,2 @@ git_tests_fix.patch +elanmoc-add-PID-0x0c99.patch