mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
4058a81829
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
56 lines
1.8 KiB
Diff
56 lines
1.8 KiB
Diff
From: Benjamin Berg <bberg@redhat.com>
|
|
Date: Wed, 28 Apr 2021 15:43:14 +0200
|
|
Subject: elan: Add PID 0c4f
|
|
|
|
Users are reporting that the sensor works fine.
|
|
---
|
|
data/autosuspend.hwdb | 2 +-
|
|
libfprint/drivers/elan.h | 1 +
|
|
libfprint/fprint-list-udev-hwdb.c | 1 -
|
|
3 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
|
|
index b763f80..8aad795 100644
|
|
--- a/data/autosuspend.hwdb
|
|
+++ b/data/autosuspend.hwdb
|
|
@@ -121,6 +121,7 @@ usb:v04F3p0C33*
|
|
usb:v04F3p0C3D*
|
|
usb:v04F3p0C42*
|
|
usb:v04F3p0C4D*
|
|
+usb:v04F3p0C4F*
|
|
ID_AUTOSUSPEND=1
|
|
|
|
# Supported by libfprint driver etes603
|
|
@@ -209,7 +210,6 @@ usb:v04F3p036B*
|
|
usb:v04F3p0C00*
|
|
usb:v04F3p0C4B*
|
|
usb:v04F3p0C4C*
|
|
-usb:v04F3p0C4F*
|
|
usb:v04F3p0C57*
|
|
usb:v04F3p2706*
|
|
usb:v06CBp0081*
|
|
diff --git a/libfprint/drivers/elan.h b/libfprint/drivers/elan.h
|
|
index 4b93cab..b6a0fc1 100644
|
|
--- a/libfprint/drivers/elan.h
|
|
+++ b/libfprint/drivers/elan.h
|
|
@@ -216,6 +216,7 @@ static const FpIdEntry elan_id_table[] = {
|
|
{.vid = ELAN_VEND_ID, .pid = 0x0c3d, .driver_data = ELAN_ALL_DEV},
|
|
{.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 = 0, .pid = 0, .driver_data = 0},
|
|
};
|
|
|
|
diff --git a/libfprint/fprint-list-udev-hwdb.c b/libfprint/fprint-list-udev-hwdb.c
|
|
index 2a78e81..8f651c0 100644
|
|
--- a/libfprint/fprint-list-udev-hwdb.c
|
|
+++ b/libfprint/fprint-list-udev-hwdb.c
|
|
@@ -33,7 +33,6 @@ static const FpIdEntry whitelist_id_table[] = {
|
|
{ .vid = 0x04f3, .pid = 0x0c00 },
|
|
{ .vid = 0x04f3, .pid = 0x0c4b },
|
|
{ .vid = 0x04f3, .pid = 0x0c4c },
|
|
- { .vid = 0x04f3, .pid = 0x0c4f },
|
|
{ .vid = 0x04f3, .pid = 0x0c57 },
|
|
{ .vid = 0x04f3, .pid = 0x2706 },
|
|
{ .vid = 0x06cb, .pid = 0x0081 },
|