Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4467263img; Tue, 26 Mar 2019 09:57:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJHGsBgerEoxoX9XTuI2EZGbtQatCHGvreQzSySXkjyzSsaqEztp8Drz78VfM+jRSzdinh X-Received: by 2002:a17:902:820c:: with SMTP id x12mr20528372pln.199.1553619439617; Tue, 26 Mar 2019 09:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553619439; cv=none; d=google.com; s=arc-20160816; b=MSrWfldOCPXwRbPwfwBeZeKTdy9IS76pbodUZxh4olaCxgOWo22M9CSk0DD0Eu6vrW dFGl5eFrW/PW8cNiDm7+HFKDlvspWp9YAjOSDLIek/6PkmSMoCW80DXt7F5wUYzvUQjn MMnLIf6UT1zPPuPJ9qxM/lilYObvM97l7NhSzGViMWKOSrlUk8E3kKJNSmtGGNiycLoU j9FGBDwR/OzcMDb7/kwCUxybhOXBnjB5+CG8Ny+LKwz5KFalHl7Yt3ARTaKVVn7i9HS1 jU1VHwt2qU6d1u+8b/BTRGDZhaUwNg5afLps23wVdzNG9QqZbMIu7zbSO8vkZFpMpt8r K4sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=z8cXnutfyg4Hwio09am68L70RiRqzsguuMWJ8tGeGUs=; b=DCclDaWKy+lmpNtDxdDuaBbqAvXuYMCsPjbcIx5hTANoEfsy68K/nkXDcQZm/GQgan 0fd0RDcqgj7LLw2ENADd4QKvsyB26GO2Gz0yHUf7tjql5QjPo0H4cmE85ve+cKSXecYk hBSDTBWV9zg6kBccVeNjLNN0Lp3UjBwUvJ6ifUHtfWgRuDGaHOGmXpn3pCP+fX9qR7IL NSUV5DzH9qT/Lr+A8ps0BwAj5UlAYztbC3Ycft6r5HsfRgu1VAgoDD77aYuV/c1t3Z+/ 6wO5C0CA+GfCCYXMfu2pHl74QYGcqkqoieVh/o9DziPl1kx/ZPzHli4E2W56O00Mc+fE faGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=otOL9Mov; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d35si17684058pla.48.2019.03.26.09.57.04; Tue, 26 Mar 2019 09:57:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=otOL9Mov; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731686AbfCZQ4H (ORCPT + 99 others); Tue, 26 Mar 2019 12:56:07 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33640 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfCZQ4H (ORCPT ); Tue, 26 Mar 2019 12:56:07 -0400 Received: by mail-pl1-f194.google.com with SMTP id bg8so1905524plb.0; Tue, 26 Mar 2019 09:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=z8cXnutfyg4Hwio09am68L70RiRqzsguuMWJ8tGeGUs=; b=otOL9MovmFWHsmzOibEaV6aJOA5IVev5xZgc2pgWhm9/tDvW/43GLG3jL6Brn6iEI/ +PWbWex4BZg2W1lXVLVP/nTu7XS4HmBFJNxxMngncNjYNvltRsfq0/SnheRJfphXy2/J WgIIrriEJ7mgxRbqMGZ8gVVFUHnAQJlbkE3+wQq0ADMp3nIXHTd0Q9vZ6KDJdEmOM7x1 OtA2pSLtCtK4iYTXXzncQdypqc++YJXXye04RhpGiDpl1zvkjephBXzP7HenjfUj0GDB 7t1lK4cv7n0KxhZGnzjn0XWTC56pmJrECgC/hadR3qjMMuqhNQVuvecqKh8n9bfH7UeC d2ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=z8cXnutfyg4Hwio09am68L70RiRqzsguuMWJ8tGeGUs=; b=sIR6639l4qllh7LedXIkpvmRqH6xc4SotghyKOjwZ3keWVHdKwhNTTknQwtykXZVME BXxxqdy+fAh3CV44b021XipiFRxN91DHUindxS6O5LyV3zS6w9N2k+i8cWCXVstouGGO e1UdyY/GbdEFu+gSNxAfmv2QFLo466Yq3pfRljLPaNWPgROdDAqnKXgdDeK0tcW91uYi WQCYt14/cwYZqIyIUi6Y8481c0Fqswb5unj/6nDkk0nmQs8GfLdhNDoTYMskjIYMGjgN OPo04vnHnV6P03hWW2ViD8qg1r3+UvkUYkGiKNrKMxMokqpWK4U6ydVQ72OqiQYCbU1Q fy1g== X-Gm-Message-State: APjAAAVHHOEiZ6tVu1M3IO/mxdQ6wBDG3AtM4W0TPCqcB+0VTznHHE02 bfMfv8fJNJvNPfMjqDcHwjk= X-Received: by 2002:a17:902:9a98:: with SMTP id w24mr31815705plp.247.1553619366722; Tue, 26 Mar 2019 09:56:06 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id z128sm40016066pfz.107.2019.03.26.09.56.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 09:56:06 -0700 (PDT) From: Jeffrey Hugo To: jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, bjorn.andersson@linaro.org, lee.jones@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH] HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630 Date: Tue, 26 Mar 2019 09:55:54 -0700 Message-Id: <20190326165554.17266-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to commit edfc3722cfef ("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 --- drivers/hid/hid-quirks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index 1148d8c0816a..77ffba48cc73 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -715,7 +715,6 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_DEALEXTREAME, USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701) }, { HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE) }, { HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20) }, - { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, 0x0400) }, { HID_USB_DEVICE(USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5) }, { HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC5UH) }, { HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC4UM) }, @@ -996,6 +995,10 @@ bool hid_ignore(struct hid_device *hdev) if (hdev->product == 0x0401 && strncmp(hdev->name, "ELAN0800", 8) != 0) return true; + /* Same with product id 0x0400 */ + if (hdev->product == 0x0400 && + strncmp(hdev->name, "QTEC0001", 8) != 0) + return true; break; } -- 2.17.1