Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2536252yba; Mon, 6 May 2019 07:39:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRbGTzdPcjRKTQ3Ut0QLY174eTGqFJ9vlM3SJYK6g7RLbeJBRIn1bZ8amLKjTGNqvXpppp X-Received: by 2002:a17:902:e30b:: with SMTP id cg11mr6532505plb.3.1557153576240; Mon, 06 May 2019 07:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557153576; cv=none; d=google.com; s=arc-20160816; b=0L0qXUgDQ69LpMX8qO9eX/3GoXzwpknOLIOd4g7+/tyCpuizKunaWyD2YKucmoQlsB UiWNfvH1XNY5tnhZgcmer+ZG5Jyt9R9yCf2THnpU9aTKbpGJjA/OVuZGzuHVHiwX2/Wx 4tLEvXfzM+Ke5A2ROSTBlgWXudu11V1DzB00w4yCsGxTmv/9i6TXAroHDdrEbqWSBhzF HCRkDlnvaq3RZTMMMXvtKZkkohhgmbhavBGUfhHs8n0HZNXzMNZwscDyqmYyTGS47PP4 DKVDFH3X3Y3ZH3w2ApZ35d4ElHJd6P6FRJxOBz7PVlXEKW4hj/wSIKxCop2VOzM4urW1 uZgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=T/sPf76fDpIS/Ee+rxWoaPt0GY/qXHwftu+1Bkwm5Bg=; b=e+qeDJpvhkkrAcu7R+USZx7BXd3Pad373zSUiNBxZ//cX36wFEY87v0ZE2+idLOaK1 pnnDi86gcTeDjVOea0bzS8XcRsHLoxA1nq5xd+hktzoGrqpEQzbMwOuQ7s7hCpZ0T7Mj zMM48X58ysxK19/S7NOSDDcWiNTmE27F9V3NsCd85xtmfhi6VYxNGJpm7pKEu1r2NLrH NKAF1wDnJfvZQw7TrABgfCjBFK8EDfMFc6jABbg4LTS9sWXT7W6Oe01Fvt0hNAFKVFZT 2BBBTVuq+Tf0nGNWrzKDBj+Un81T4+etMrge56Isg+RquPb9OgMq8K40th1Ta5VVwWva u7Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pW3pc+4v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35si15598390plb.115.2019.05.06.07.39.19; Mon, 06 May 2019 07:39:36 -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=@kernel.org header.s=default header.b=pW3pc+4v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbfEFOgN (ORCPT + 99 others); Mon, 6 May 2019 10:36:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726564AbfEFOgG (ORCPT ); Mon, 6 May 2019 10:36:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4696E204EC; Mon, 6 May 2019 14:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153365; bh=nD6+/xIy6pqXa9KgPPOcUQnBHoKVtX0H5oZGvLHkLbA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pW3pc+4vMvOfaIrFt7+lxOTvyYxsijmb0GhnS8bUCdynji2vHcXyeDIbUY25qdCkU Zg+irWttomtxWvKoY6wfCLK1RzS6S3t+AVKWin6PAU5cL8bmEapPS4GbmjTePuh3IK hQhYR63lhLqhGg1aovl42ybA580VrVoZ9CwY/IfQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jeffrey Hugo , Jiri Kosina , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 044/122] HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630 Date: Mon, 6 May 2019 16:31:42 +0200 Message-Id: <20190506143058.868183112@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 2bafa1e9625400bec4c840a168d70ba52607a58d ] 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 Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin (Microsoft) --- 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 94088c0ed68a..e24790c988c0 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -744,7 +744,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) }, @@ -1025,6 +1024,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.20.1