diff options
author | hermanlin <herman.lin@emc.com.tw> | 2021-10-12 14:02:48 +0800 |
---|---|---|
committer | hermanlin <herman.lin@emc.com.tw> | 2021-10-12 14:02:48 +0800 |
commit | 5d0a3eab5c3defb4b8ff173085beea79c5e97800 (patch) | |
tree | 6ecc9728fe74464db83cf826a8fb8e0f3ea4935b | |
parent | 7efb860381f330b5706b672a4a4b4bf20b706942 (diff) |
elanmoc: add PID 0x0c7d
Signed-off-by: hermanlin <herman.lin@emc.com.tw>
-rw-r--r-- | data/autosuspend.hwdb | 1 | ||||
-rw-r--r-- | libfprint/drivers/elanmoc/elanmoc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index f3ee8fc..b7700a5 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -142,6 +142,7 @@ usb:v04F3p0C58* ID_PERSIST=0 # Supported by libfprint driver elanmoc +usb:v04F3p0C7D* usb:v04F3p0C7E* ID_AUTOSUSPEND=1 ID_PERSIST=0 diff --git a/libfprint/drivers/elanmoc/elanmoc.c b/libfprint/drivers/elanmoc/elanmoc.c index aef386c..69700a0 100644 --- a/libfprint/drivers/elanmoc/elanmoc.c +++ b/libfprint/drivers/elanmoc/elanmoc.c @@ -25,6 +25,7 @@ G_DEFINE_TYPE (FpiDeviceElanmoc, fpi_device_elanmoc, FP_TYPE_DEVICE) static const FpIdEntry id_table[] = { + { .vid = 0x04f3, .pid = 0x0c7d, }, { .vid = 0x04f3, .pid = 0x0c7e, }, { .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */ }; |