Comment 46 for bug 1887190

Revision history for this message
Coiby Xu (coiby) wrote :

Sorry I made another mistake. hid_rmi is specifically for the Synaptics RMI4 touchpads. We use let hid_elan handle this device. The vendor&product id should be added to elan_devices in drivers/hid/hid-elan.c. Can you give the following patch a try?

diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c
index 45c4f888b7c4..0cf427a94897 100644
--- a/drivers/hid/hid-elan.c
+++ b/drivers/hid/hid-elan.c
@@ -525,6 +525,7 @@ static const struct hid_device_id elan_devices[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_HP_X2_10_COVER),
          .driver_data = ELAN_HAS_LED },
        { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_TOSHIBA_CLICK_L9W) },
+ { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, 0x3140) },
        { }
 }