diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index 9c82d383..b0804b66 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -184,6 +184,7 @@ usb:v2808pA78A* # Supported by libfprint driver fpcmoc usb:v10A5pFFE0* usb:v10A5pA305* +usb:v10A5pA306* usb:v10A5pDA04* usb:v10A5pD805* usb:v10A5pD205* diff --git a/libfprint/drivers/fpcmoc/fpc.c b/libfprint/drivers/fpcmoc/fpc.c index e2e89e38..b67c4ff2 100644 --- a/libfprint/drivers/fpcmoc/fpc.c +++ b/libfprint/drivers/fpcmoc/fpc.c @@ -65,6 +65,7 @@ typedef struct static const FpIdEntry id_table[] = { { .vid = 0x10A5, .pid = 0xFFE0, }, { .vid = 0x10A5, .pid = 0xA305, }, + { .vid = 0x10A5, .pid = 0xA306, }, { .vid = 0x10A5, .pid = 0xDA04, }, { .vid = 0x10A5, .pid = 0xD805, }, { .vid = 0x10A5, .pid = 0xD205, }, @@ -1638,6 +1639,7 @@ fpc_dev_probe (FpDevice *device) { case 0xFFE0: case 0xA305: + case 0xA306: case 0xD805: case 0xDA04: case 0xD205: diff --git a/tests/fpcmoc/device b/tests/fpcmoc/device index 32194633..2334ca42 100644 --- a/tests/fpcmoc/device +++ b/tests/fpcmoc/device @@ -3,7 +3,7 @@ N: bus/usb/001/019=1201000200000040A510E0FF10000102000109021900010104A0320904000 E: DEVNAME=/dev/bus/usb/001/019 E: DEVTYPE=usb_device E: DRIVER=usb -E: PRODUCT=10a5/ffe0/10 +E: PRODUCT=10a5/a306/10 E: TYPE=0/0/0 E: BUSNUM=001 E: DEVNUM=019 @@ -13,11 +13,11 @@ E: SUBSYSTEM=usb E: ID_VENDOR=FPC E: ID_VENDOR_ENC=FPC E: ID_VENDOR_ID=10a5 -E: ID_MODEL=FPC_L:0001_FW:127010 -E: ID_MODEL_ENC=FPC\x20L:0001\x20FW:127010 -E: ID_MODEL_ID=ffe0 +E: ID_MODEL=FPC_L:0001_FW:222709 +E: ID_MODEL_ENC=FPC\x20L:0001\x20FW:222709 +E: ID_MODEL_ID=a306 E: ID_REVISION=0010 -E: ID_SERIAL=FPC_FPC_L:0001_FW:127010 +E: ID_SERIAL=FPC_FPC_L:0001_FW:222709 E: ID_BUS=usb E: ID_USB_INTERFACES=:ffffff: E: ID_PATH=pci-0000:00:14.0-usb-0:1 @@ -45,7 +45,7 @@ A: devnum=19\n A: devpath=1\n L: driver=../../../../../bus/usb/drivers/usb L: firmware_node=../../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1c/device:1d/device:1e -A: idProduct=ffe0\n +A: idProduct=a306\n A: idVendor=10a5\n A: ltm_capable=no\n A: manufacturer=FPC\n @@ -74,7 +74,7 @@ A: power/wakeup_expire_count=\n A: power/wakeup_last_time_ms=\n A: power/wakeup_max_time_ms=\n A: power/wakeup_total_time_ms=\n -A: product=FPC L:0001 FW:127010\n +A: product=FPC L:0001 FW:222709\n A: quirks=0x0\n A: removable=removable\n A: rx_lanes=1\n