mincrmatt12 / elan-spi-fingerprint

prototype linux driver for elantech spi-based fingerprint sensors
38 stars 4 forks source link

ASUS VivoBook S14 S433EA #9

Open vaibhavhathwar opened 2 years ago

vaibhavhathwar commented 2 years ago

Requesting driver support for ASUS VivoBook S14 S433EA

ACPI ID - ELAN7001 HID ID - 04F3:3128

mincrmatt12 commented 2 years ago

Please try the mincrmatt12/elanspi-fix-cancel branch on upstream libfprint with the following entry added to the id_table in the libfprint/drivers/elanspi.h file:

diff --git a/libfprint/drivers/elanspi.h b/libfprint/drivers/elanspi.h
index c9e17b8..e86ddc1 100644
--- a/libfprint/drivers/elanspi.h
+++ b/libfprint/drivers/elanspi.h
@@ -318,6 +318,7 @@ static const FpIdEntry elanspi_id_table[] = {
   {.udev_types = ELANSPI_UDEV_TYPES, .spi_acpi_id = "ELAN7001", .hid_id = {.vid = ELANSPI_TP_VID, .pid = 0x30b2}, .driver_data = ELANSPI_NO_ROTATE},
   {.udev_types = ELANSPI_UDEV_TYPES, .spi_acpi_id = "ELAN70A1", .hid_id = {.vid = ELANSPI_TP_VID, .pid = 0x30b2}, .driver_data = ELANSPI_NO_ROTATE},
   {.udev_types = ELANSPI_UDEV_TYPES, .spi_acpi_id = "ELAN7001", .hid_id = {.vid = ELANSPI_TP_VID, .pid = 0x309f}, .driver_data = ELANSPI_180_ROTATE},
+  {.udev_types = ELANSPI_UDEV_TYPES, .spi_acpi_id = "ELAN7001", .hid_id = {.vid = ELANSPI_TP_VID, .pid = 0x3128}, .driver_data = ELANSPI_90RIGHT_ROTATE},
   {.udev_types = 0}
 };