From 22683ec4902afaaa62b9fbcaadfeff29ab8e8b6d Mon Sep 17 00:00:00 2001 From: "wagner.oliveira" Date: Fri, 27 Jan 2023 18:23:55 -0500 Subject: [PATCH] Fix AES4000 wrong IDs (swapped pid/vid) --- data/autosuspend.hwdb | 2 +- libfprint/drivers/aes4000.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index d476f7e1..858b481b 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -67,7 +67,7 @@ usb:v08FFp5731* ID_PERSIST=0 # Supported by libfprint driver aes4000 -usb:v5501p08FF* +usb:v08FFp5501* ID_AUTOSUSPEND=1 ID_PERSIST=0 diff --git a/libfprint/drivers/aes4000.c b/libfprint/drivers/aes4000.c index e5770b9e..d810b3e4 100644 --- a/libfprint/drivers/aes4000.c +++ b/libfprint/drivers/aes4000.c @@ -124,7 +124,7 @@ G_DEFINE_TYPE (FpiDeviceAes4000, fpi_device_aes4000, FPI_TYPE_DEVICE_AES3K); static const FpIdEntry id_table[] = { - { .pid = 0x08ff, .vid = 0x5501 }, + { .vid = 0x08ff, .pid = 0x5501 }, { .vid = 0, .pid = 0, .driver_data = 0 }, };