Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2096779ybl; Thu, 30 Jan 2020 11:17:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwe4XJjYYqce1dOxgAMsFx5rjJC9ZkxA249/c5yq0Ux+N4TPfzQ3jHljxru6rdViJintorm X-Received: by 2002:a9d:664a:: with SMTP id q10mr4528425otm.298.1580411871179; Thu, 30 Jan 2020 11:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580411871; cv=none; d=google.com; s=arc-20160816; b=lTrQF8DhQmKUwzAKAS5fGpOH3N3rCwzsXwcjV8AkBQ2GXaAnnum5IQAdSStDo5qCHO HSHgtYfUigmBMKeEB82flab3YOUGwdecT9USKl0Z4bXhKadB7LF5WDp77xSojKrkHnYS QQPYh5tHShPxLQCHnhZQ/VQh2LRr59aPtHcYSn9cOWP0ZJycA9lCLDC5toZ7Dyy37zwq PwZJqW5H0H1Zn3S5Z65Eb4Sc1CMSUCeEhUmvKous/5Kyps7cxKeutUUczD65Jz3s46Xr BStyuCakw/ascXFjLvjgTMMF9G62oYl+lFA7oHgrXelhn1eshcXRVlcPz1R4eSWmsRdZ 74Hw== 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=Fv3TesMz9ktEI/FmS2cGi2JXdjrUeqLmgcl4Oj50r+I=; b=yTPMZA0BhNQtsf0cAfuSxOTgzyVK9AjHl5uMK7WUbccAhj7N3bUHbbm/2bpV4E2fdM YcITvvqIxfhPNOHsUMJjAkYeCJKB7kGeApmhC0RPMjCXOULXHf9d/DxmmarkdUxqd/FM ruQ4bKiNQuTTwf671If2C74mSRonvFC0rZAM2XkHBq+RKaHkFJ1MGFTV6vAexe5Ff/Sd 0d3iIrwPmsYwhoJZ92B4l/8VS3acYjx3mEb2mJi3TDeGIVCEeejrlejsHQnWnOWFaExr MJLgYj/a35fihgvD5N05YbEBEOf2WZLvx/1QioFo3vPMQMfmDMlFPZSTxUu7GVN/+JoQ d6GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SuvvnjNK; 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 p6si3109729oig.88.2020.01.30.11.17.38; Thu, 30 Jan 2020 11:17:51 -0800 (PST) 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=SuvvnjNK; 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 S1730712AbgA3Snw (ORCPT + 99 others); Thu, 30 Jan 2020 13:43:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:52714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbgA3Snt (ORCPT ); Thu, 30 Jan 2020 13:43:49 -0500 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 CA7D2205F4; Thu, 30 Jan 2020 18:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409829; bh=QrIRFR5BDeHKxUKPoxxijJvarHNmzFxXj5fuaJhHN+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SuvvnjNKIgdrHltzPxlMMUW+peFeCzqmF8g7SNABa3rgDJmlRZhmOHiY6rVKHlDqw 4tmTEXpbuxS6OFYfBcYbaLARIjoPn7qsIkVtVeWaLV9VGD3SKwix7nQH48fEmPCuqw NccDKv62mqEAt5p/765antW3eyGGT/PNk6pfmkYQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Jiri Kosina , Sasha Levin Subject: [PATCH 5.4 047/110] HID: ite: Add USB id match for Acer SW5-012 keyboard dock Date: Thu, 30 Jan 2020 19:38:23 +0100 Message-Id: <20200130183620.823078535@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@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 From: Hans de Goede [ Upstream commit 8f18eca9ebc57d6b150237033f6439242907e0ba ] The Acer SW5-012 2-in-1 keyboard dock uses a Synaptics S91028 touchpad which is connected to an ITE 8595 USB keyboard controller chip. This keyboard has the same quirk for its rfkill / airplane mode hotkey as other keyboards with the ITE 8595 chip, it only sends a single release event when pressed and released, it never sends a press event. This commit adds this keyboards USB id to the hid-ite id-table, fixing the rfkill key not working on this keyboard. Signed-off-by: Hans de Goede Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-ite.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 2888817261999..27795eac93e35 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1099,6 +1099,7 @@ #define USB_DEVICE_ID_SYNAPTICS_LTS2 0x1d10 #define USB_DEVICE_ID_SYNAPTICS_HD 0x0ac3 #define USB_DEVICE_ID_SYNAPTICS_QUAD_HD 0x1ac3 +#define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012 0x2968 #define USB_DEVICE_ID_SYNAPTICS_TP_V103 0x5710 #define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5 0x81a7 diff --git a/drivers/hid/hid-ite.c b/drivers/hid/hid-ite.c index a45f2352618d3..c436e12feb233 100644 --- a/drivers/hid/hid-ite.c +++ b/drivers/hid/hid-ite.c @@ -40,6 +40,9 @@ static int ite_event(struct hid_device *hdev, struct hid_field *field, static const struct hid_device_id ite_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_ITE, USB_DEVICE_ID_ITE8595) }, { HID_USB_DEVICE(USB_VENDOR_ID_258A, USB_DEVICE_ID_258A_6A88) }, + /* ITE8595 USB kbd ctlr, with Synaptics touchpad connected to it. */ + { HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, + USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012) }, { } }; MODULE_DEVICE_TABLE(hid, ite_devices); -- 2.20.1