From d2981fc6a47816d1012469e12482fb6cea9cef7a Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 28 Apr 2021 15:43:14 +0200 Subject: [PATCH] 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 6a2e4cc..51c9663 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:v04F3p0C5E* usb:v04F3p2706* 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 768d51b..1af6814 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 = 0x0c5e }, { .vid = 0x04f3, .pid = 0x2706 },