debian/patches: Add support for new elan, goodix and synaptics drivers

Most of the drivers only need to list new product IDs to work with new
devices, and including other changes that new devices may require.

LP: #1945296
LP: #1945298
This commit is contained in:
Marco Trevisan (Treviño)
2021-10-11 05:15:56 -04:00
parent c9bb40364e
commit 4058a81829
16 changed files with 811 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
From: Benjamin Berg <bberg@redhat.com>
Date: Wed, 28 Apr 2021 15:47:18 +0200
Subject: elan: Add PID 0c63
Users are reporting that the sensor works fine.
Closes: #357
---
data/autosuspend.hwdb | 1 +
libfprint/drivers/elan.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
index 8aad795..afc86f4 100644
--- a/data/autosuspend.hwdb
+++ b/data/autosuspend.hwdb
@@ -122,6 +122,7 @@ usb:v04F3p0C3D*
usb:v04F3p0C42*
usb:v04F3p0C4D*
usb:v04F3p0C4F*
+usb:v04F3p0C63*
ID_AUTOSUSPEND=1
# Supported by libfprint driver etes603
diff --git a/libfprint/drivers/elan.h b/libfprint/drivers/elan.h
index b6a0fc1..00afe79 100644
--- a/libfprint/drivers/elan.h
+++ b/libfprint/drivers/elan.h
@@ -217,6 +217,7 @@ static const FpIdEntry elan_id_table[] = {
{.vid = ELAN_VEND_ID, .pid = 0x0c42, .driver_data = ELAN_0C42},
{.vid = ELAN_VEND_ID, .pid = 0x0c4d, .driver_data = ELAN_ALL_DEV},
{.vid = ELAN_VEND_ID, .pid = 0x0c4f, .driver_data = ELAN_ALL_DEV},
+ {.vid = ELAN_VEND_ID, .pid = 0x0c63, .driver_data = ELAN_ALL_DEV},
{.vid = 0, .pid = 0, .driver_data = 0},
};