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(-) diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index 2d59e40..3ee0287 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -143,7 +143,7 @@ usb:v06CBp00F9* usb:v06CBp00FC* usb:v06CBp00C2* usb:v06CBp00C9* -usb:v06CBp00E7* +usb:v06CBp0100* ID_AUTOSUSPEND=1 # Supported by libfprint driver upeksonly diff --git a/libfprint/drivers/synaptics/synaptics.c b/libfprint/drivers/synaptics/synaptics.c index 0de54a1..bb113cb 100644 --- a/libfprint/drivers/synaptics/synaptics.c +++ b/libfprint/drivers/synaptics/synaptics.c @@ -31,14 +31,14 @@ static void init_identify_msg (FpDevice *device); static void compose_and_send_identify_msg (FpDevice *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 */ };