diff -Nru libfprint-1.90.7+git20210222+tod1/debian/changelog libfprint-1.90.7+git20210222+tod1/debian/changelog --- libfprint-1.90.7+git20210222+tod1/debian/changelog 2021-12-15 03:33:34.000000000 +0800 +++ libfprint-1.90.7+git20210222+tod1/debian/changelog 2022-02-25 13:44:51.000000000 +0800 @@ -1,3 +1,9 @@ +libfprint (1:1.90.7+git20210222+tod1-0ubuntu4~21.10.3) impish; urgency=medium + + * debian/patches: Add support for new synaptics ID. (LP: #1962277) + + -- Andy Chi Fri, 25 Feb 2022 13:44:51 +0800 + libfprint (1:1.90.7+git20210222+tod1-0ubuntu4~21.10.2) impish; urgency=medium [ Andy Chi ] diff -Nru libfprint-1.90.7+git20210222+tod1/debian/patches/series libfprint-1.90.7+git20210222+tod1/debian/patches/series --- libfprint-1.90.7+git20210222+tod1/debian/patches/series 2021-12-15 03:33:34.000000000 +0800 +++ libfprint-1.90.7+git20210222+tod1/debian/patches/series 2022-02-25 13:44:51.000000000 +0800 @@ -15,3 +15,5 @@ elan-Add-PID-0x0c58.patch goodixmoc-Fix-template-struct-for-required-length-calcula.patch goodixmoc-add-PID-63CC.patch +synaptics-add-new-PID-0xF0-and-0x103.patch +synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch diff -Nru libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch --- libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch 1970-01-01 08:00:00.000000000 +0800 +++ libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0x0123-0x0126-and-0x0129.patch 2022-02-25 13:44:51.000000000 +0800 @@ -0,0 +1,38 @@ +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/data/autosuspend.hwdb +=================================================================== +--- libfprint.orig/data/autosuspend.hwdb ++++ libfprint/data/autosuspend.hwdb +@@ -160,6 +160,9 @@ usb:v06CBp00E7* + usb:v06CBp0100* + usb:v06CBp00F0* + usb:v06CBp0103* ++usb:v06CBp0123* ++usb:v06CBp0126* ++usb:v06CBp0129* + ID_AUTOSUSPEND=1 + + # Supported by libfprint driver upeksonly +Index: libfprint/libfprint/drivers/synaptics/synaptics.c +=================================================================== +--- libfprint.orig/libfprint/drivers/synaptics/synaptics.c ++++ libfprint/libfprint/drivers/synaptics/synaptics.c +@@ -42,6 +42,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.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch --- libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch 1970-01-01 08:00:00.000000000 +0800 +++ libfprint-1.90.7+git20210222+tod1/debian/patches/synaptics-add-new-PID-0xF0-and-0x103.patch 2022-02-25 13:44:51.000000000 +0800 @@ -0,0 +1,36 @@ +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/data/autosuspend.hwdb +=================================================================== +--- libfprint.orig/data/autosuspend.hwdb ++++ libfprint/data/autosuspend.hwdb +@@ -158,6 +158,8 @@ usb:v06CBp00C2* + usb:v06CBp00C9* + usb:v06CBp00E7* + usb:v06CBp0100* ++usb:v06CBp00F0* ++usb:v06CBp0103* + ID_AUTOSUSPEND=1 + + # Supported by libfprint driver upeksonly +Index: libfprint/libfprint/drivers/synaptics/synaptics.c +=================================================================== +--- libfprint.orig/libfprint/drivers/synaptics/synaptics.c ++++ libfprint/libfprint/drivers/synaptics/synaptics.c +@@ -40,6 +40,8 @@ static const FpIdEntry id_table[] = { + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00C9, }, + { .vid = SYNAPTICS_VENDOR_ID, .pid = 0x00E7, }, + { .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 */ + }; +