Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1703046ybi; Wed, 17 Jul 2019 20:25:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtp5jj50bSbxeX+ub9zcLLJUaVikU88XWUV58ZYtHQFfan6/zSpfs5AiW+v7ktHUE7tb4N X-Received: by 2002:a17:90a:258b:: with SMTP id k11mr46360336pje.110.1563420326994; Wed, 17 Jul 2019 20:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563420326; cv=none; d=google.com; s=arc-20160816; b=RwA+sH48I2p5NQmf0M6bTXXenSMOaFUCpe4b4lq+GYkJgS8AbE2aWDKveWtUc46Yv3 g+qWqUDN8N05CkWm4kZuF0wgXF6B6LU4bN7enx09Glwzw9QKgvdp2yWqv9vNtxqhcdXv qhQBQxc3Pvvy1xRr0QCN46C6HWCJ+zr8s+kuR64iZtIYhhzHRQNK3Xt8/ti97aPw62Bv VdwLM6bG3jYT81eexgG1Q54zwKmcDa6KorH4TpwX7g5749A0ucWTbfEeqopTflNiEJmJ ZN6jrwP8/cVmUONHAFXMn1/cdBtquwYfR+inzrgmcw9UDvBO25SmfFJ4ie1dc6dyUDiZ nJzQ== 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=3rjsKUBafyec4ASObUK+5gr4p2ztFfgztJvEiNk4Mt4=; b=EJw5HkOWswMLJ6vFCN/eRHif/c0dF1vL/lQtG+zsHEYTU1WwoZHEnluGST23x2SsKi SRgWXiEEV3ZgKhKxMHOEZCsrP9eViKNp11Z3K9ZUWdPPn4N8rhb7WlaF9dROq5piXpWb RN6gMZlO7dBMpVcwKT1DAUuU1+iayjkEbGCw1vV3Qmd2uW3uvmXO4RVK95HZ9fLHXvUO wgmw5AcgM375XldLdeJap0uK2EkXiYw4EctyoylLEBsmRWZmn1dY4GIGXo2kMTUPuiXT 9fNHRAMAR61+ZQBOtzinOhUAqA94AFVUDz+c61xpY/2nZpp4wCanEcnQVvjcWhCRnjeu 4wcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IRxxxKlj; 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 w9si880081pjv.67.2019.07.17.20.25.11; Wed, 17 Jul 2019 20:25:26 -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=IRxxxKlj; 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 S2390731AbfGRDI0 (ORCPT + 99 others); Wed, 17 Jul 2019 23:08:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:40296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390715AbfGRDIX (ORCPT ); Wed, 17 Jul 2019 23:08:23 -0400 Received: from localhost (115.42.148.210.bf.2iij.net [210.148.42.115]) (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 DEED42077C; Thu, 18 Jul 2019 03:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563419302; bh=QyIkETiSk0+AQfqQMDBR1e3aoZ+23XmB8DjtpCueYgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IRxxxKlj9DHTlU2VsheRVJvWbFJEFlB9dXGE2DLH0Jpp6H3H/LbWjZM8l+kmKplPA PionffycqLqBhm/KJ5C4o3P4mF+dPJSd0x1dTFue9SEysrfbbXtDBjnmcz5b66EkHG TtvBEp6RbxAoNkjWiiLmGkZ2XPqcoGHocEZq1Oq0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Jiri Kosina , Sasha Levin Subject: [PATCH 4.19 25/47] HID: multitouch: Add pointstick support for ALPS Touchpad Date: Thu, 18 Jul 2019 12:01:39 +0900 Message-Id: <20190718030050.859172951@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190718030045.780672747@linuxfoundation.org> References: <20190718030045.780672747@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 0a95fc733da375de0688d0f1fd3a2869a1c1d499 ] There's a new ALPS touchpad/pointstick combo device that requires MT_CLS_WIN_8_DUAL to make its pointsitck work as a mouse. The device can be found on HP ZBook 17 G5. Signed-off-by: Kai-Heng Feng Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-multitouch.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 97b4ecab7c12..50b3c0d89c9c 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -82,6 +82,7 @@ #define HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP 0x1220 #define HID_DEVICE_ID_ALPS_U1 0x1215 #define HID_DEVICE_ID_ALPS_T4_BTNLESS 0x120C +#define HID_DEVICE_ID_ALPS_1222 0x1222 #define USB_VENDOR_ID_AMI 0x046b diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 184e49036e1d..f9167d0e095c 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1788,6 +1788,10 @@ static const struct hid_device_id mt_devices[] = { HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8, USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP) }, + { .driver_data = MT_CLS_WIN_8_DUAL, + HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8, + USB_VENDOR_ID_ALPS_JP, + HID_DEVICE_ID_ALPS_1222) }, /* Lenovo X1 TAB Gen 2 */ { .driver_data = MT_CLS_WIN_8_DUAL, -- 2.20.1