Skip to content

Commit 2bafa1e

Browse files
Jeffrey HugoJiri Kosina
authored andcommitted
HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
Similar to commit edfc372 ("HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working"), the Lenovo Miix 630 has a combo keyboard/touchpad device with vid:pid of 04F3:0400, which is shared with Elan touchpads. The combo on the Miix 630 has an ACPI id of QTEC0001, which is not claimed by the elan_i2c driver, so key on that similar to what was done for the Toshiba Click Mini. Signed-off-by: Jeffrey Hugo <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent fd35759 commit 2bafa1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/hid/hid-quirks.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ static const struct hid_device_id hid_ignore_list[] = {
715715
{ HID_USB_DEVICE(USB_VENDOR_ID_DEALEXTREAME, USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701) },
716716
{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE) },
717717
{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20) },
718-
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, 0x0400) },
719718
{ HID_USB_DEVICE(USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5) },
720719
{ HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC5UH) },
721720
{ HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC4UM) },
@@ -996,6 +995,10 @@ bool hid_ignore(struct hid_device *hdev)
996995
if (hdev->product == 0x0401 &&
997996
strncmp(hdev->name, "ELAN0800", 8) != 0)
998997
return true;
998+
/* Same with product id 0x0400 */
999+
if (hdev->product == 0x0400 &&
1000+
strncmp(hdev->name, "QTEC0001", 8) != 0)
1001+
return true;
9991002
break;
10001003
}
10011004

0 commit comments

Comments
 (0)