diff -Nru libfprint-1.90.2+tod1/debian/changelog libfprint-1.90.2+tod1/debian/changelog --- libfprint-1.90.2+tod1/debian/changelog 2021-12-15 03:18:39.000000000 +0800 +++ libfprint-1.90.2+tod1/debian/changelog 2022-02-22 19:29:31.000000000 +0800 @@ -1,3 +1,9 @@ +libfprint (1:1.90.2+tod1-0ubuntu1~20.04.7) focal; urgency=medium + + * debian/patches: Add support for new synaptics ID. (LP: #1962277) + + -- Andy Chi Tue, 22 Feb 2022 19:29:31 +0800 + libfprint (1:1.90.2+tod1-0ubuntu1~20.04.6) focal; urgency=medium [ Andy Chi ] diff -Nru libfprint-1.90.2+tod1/debian/patches/series libfprint-1.90.2+tod1/debian/patches/series --- libfprint-1.90.2+tod1/debian/patches/series 2021-12-15 03:18:39.000000000 +0800 +++ libfprint-1.90.2+tod1/debian/patches/series 2022-02-22 19:29:31.000000000 +0800 @@ -57,3 +57,6 @@ elan-Add-PID-0x0c58.patch goodixmoc-Fix-template-struct-for-required-length-calcula.patch goodixmoc-add-PID-63CC.patch +synaptics-add-new-PID-0x100-and-remove-PID-0xE7.patch +synaptics-add-new-PID-0xF0-and-0x103.patch +synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch diff -Nru libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch --- libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch 1970-01-01 08:00:00.000000000 +0800 +++ libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch 2022-02-22 19:29:31.000000000 +0800 @@ -0,0 +1,24 @@ +From 128d809227bbef1d3bd8e7c7e1f9b68a335db252 Mon Sep 17 00:00:00 2001 +From: Aris Lin +Date: Fri, 17 Sep 2021 15:03:51 +0800 +Subject: [PATCH] synaptics: add new PID 0x0123, 0x0126, and 0x0129 + +--- + data/autosuspend.hwdb | 3 +++ + libfprint/drivers/synaptics/synaptics.c | 3 +++ + 2 files changed, 6 insertions(+) + +Index: libfprint/libfprint/drivers/synaptics/synaptics.c +=================================================================== +--- libfprint.orig/libfprint/drivers/synaptics/synaptics.c ++++ libfprint/libfprint/drivers/synaptics/synaptics.c +@@ -38,6 +38,9 @@ static const FpIdEntry id_table[] = { + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0100, }, + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00F0, }, + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0103, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0123, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0126, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0129, }, + { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ + }; + diff -Nru libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x100-and-remove-PID-0xE7.patch libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x100-and-remove-PID-0xE7.patch --- libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x100-and-remove-PID-0xE7.patch 1970-01-01 08:00:00.000000000 +0800 +++ libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0x100-and-remove-PID-0xE7.patch 2022-02-22 19:29:31.000000000 +0800 @@ -0,0 +1,37 @@ +From 3fb8860dc487568518d69e9074135041296d1e75 Mon Sep 17 00:00:00 2001 +From: Aris Lin +Date: Thu, 18 Mar 2021 18:29:10 +0800 +Subject: [PATCH] synaptics: add new PID 0x100 and remove PID 0xE7 + +--- + data/autosuspend.hwdb | 2 +- + libfprint/drivers/synaptics/synaptics.c | 16 ++++++++-------- + 2 files changed, 9 insertions(+), 9 deletions(-) + +Index: libfprint/libfprint/drivers/synaptics/synaptics.c +=================================================================== +--- libfprint.orig/libfprint/drivers/synaptics/synaptics.c ++++ libfprint/libfprint/drivers/synaptics/synaptics.c +@@ -28,14 +28,14 @@ + G_DEFINE_TYPE (FpiDeviceSynaptics, fpi_device_synaptics, FP_TYPE_DEVICE) + + static const FpIdEntry id_table[] = { +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xBD, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xE9, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xDF, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xF9, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xFC, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xC2, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xC9, }, +- { .vid = SYNAPTICS_VENDOR_ID, .pid = 0xE7, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00BD, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00E9, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00DF, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00F9, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00FC, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00C2, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00C9, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0100, }, + { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ + }; + diff -Nru libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch --- libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch 1970-01-01 08:00:00.000000000 +0800 +++ libfprint-1.90.2+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch 2022-02-22 19:29:31.000000000 +0800 @@ -0,0 +1,23 @@ +From 4d5e2775b23a65b6b7b41eb98fa5b2c68a805f33 Mon Sep 17 00:00:00 2001 +From: Aris Lin +Date: Wed, 5 May 2021 15:11:21 +0800 +Subject: [PATCH] synaptics: add new PID 0xF0 and 0x103 + +--- + data/autosuspend.hwdb | 2 ++ + libfprint/drivers/synaptics/synaptics.c | 2 ++ + 2 files changed, 4 insertions(+) + +Index: libfprint/libfprint/drivers/synaptics/synaptics.c +=================================================================== +--- libfprint.orig/libfprint/drivers/synaptics/synaptics.c ++++ libfprint/libfprint/drivers/synaptics/synaptics.c +@@ -36,6 +36,8 @@ static const FpIdEntry id_table[] = { + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00C2, }, + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00C9, }, + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0100, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00F0, }, ++ { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x0103, }, + { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ + }; +