From patchwork Tue Feb 19 17:58:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gerecke, Jason" X-Patchwork-Id: 10820541 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 189D613BF for ; Tue, 19 Feb 2019 17:59:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06DB82C4E8 for ; Tue, 19 Feb 2019 17:59:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAFD72C8DE; Tue, 19 Feb 2019 17:59:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D0CD2C4E8 for ; Tue, 19 Feb 2019 17:59:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726078AbfBSR7A (ORCPT ); Tue, 19 Feb 2019 12:59:00 -0500 Received: from mail-eopbgr80073.outbound.protection.outlook.com ([40.107.8.73]:37968 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725807AbfBSR7A (ORCPT ); Tue, 19 Feb 2019 12:59:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wacomaad.onmicrosoft.com; s=selector1-wacom-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zIf2X7GKlcICvkprAWuYzijgVNThHmPCNPUjAnwT5Ks=; b=n2+APKolvMsjMZAtt0QVY22aGoXbBrrm1psd3twKtuCWi0Fq8cFX0pU6y346dbX4gC7jwil5X8jAEqwYuyB+W3W3R4YxCcELLz9uGHqIl4LrsxPt+RXdeYXAwjMryOp9QvaOyg0u0LYr4XayJM4Ly23jY9Gb0OQb9Jo3ylNMTTo= Received: from VI1PR0701MB2863.eurprd07.prod.outlook.com (10.173.71.146) by VI1PR0701MB2573.eurprd07.prod.outlook.com (10.173.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.11; Tue, 19 Feb 2019 17:58:56 +0000 Received: from VI1PR0701MB2863.eurprd07.prod.outlook.com ([fe80::54af:73b0:c619:1fea]) by VI1PR0701MB2863.eurprd07.prod.outlook.com ([fe80::54af:73b0:c619:1fea%2]) with mapi id 15.20.1643.008; Tue, 19 Feb 2019 17:58:56 +0000 From: "Gerecke, Jason" To: "linux-input@vger.kernel.org" CC: Ping Cheng , Aaron Skomra , Jason Gerecke , "Gerecke, Jason" Subject: [PATCH] HID: wacom: Add support for Pro Pen slim Thread-Topic: [PATCH] HID: wacom: Add support for Pro Pen slim Thread-Index: AQHUyHzIe88BtSvMDUqvqiVjYAi8ZQ== Date: Tue, 19 Feb 2019 17:58:56 +0000 Message-ID: <20190219175819.4995-1-jason.gerecke@wacom.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR10CA0055.namprd10.prod.outlook.com (2603:10b6:300:2c::17) To VI1PR0701MB2863.eurprd07.prod.outlook.com (2603:10a6:800:85::18) x-originating-ip: [50.225.60.4] x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 30f5ad6a-0499-46ba-6893-08d69693ea8e x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:VI1PR0701MB2573; x-ms-traffictypediagnostic: VI1PR0701MB2573: x-microsoft-exchange-diagnostics: =?iso-8859-1?q?1=3BVI1PR0701MB2573=3B23=3A?= =?iso-8859-1?q?Sxj3GAv36xb7MFeGVAl6tn/ATAlR/YE9/s0/ruxOhjCSY6ZIJ4UEX8sjLZpv?= =?iso-8859-1?q?oFhLD/y0SN7bESLAO6lu5OvvYtKqHszY6AV2zLBJ4I/ld3MG9OQwpAXV26/b?= =?iso-8859-1?q?btCrHWQQO5S2kwwTxn375sKpRtm3EGSCqc/3Iruy1sl0rXYel53K1+N4s3zf?= =?iso-8859-1?q?oy5ZXCfz8H4GBB5mk/EQcNQKYYTe1Gdq2Hf22yDNUMwvSne7YcLZnszKOCcQ?= =?iso-8859-1?q?3+OunFjvMUO0M830HDzZMg473hHZp2WtT0zhkbcWCMkLZuCk+d5lWqADplZ5?= =?iso-8859-1?q?EKwD/oagbL3m7CxPaK4cE4zz5kK4vplY2jbzPE9l9Vr6nT1P0YPGjG+n+nW7?= =?iso-8859-1?q?I2d718OFG/TqNLYcJqYqVVqgKEqWbFEfVGuGkMoUWmQdg0gzlTAaXRoEcDFK?= =?iso-8859-1?q?9XRrphhyqipuQztI84A8bhIq4Dc46+Sx7JfnoSv63oWz7N1rOKkGQ5IsXcLN?= =?iso-8859-1?q?4RA4PIGnFDVtOIy/V7UHAaIm3+wp7yq+QzdxA19NfnjMifN1jCxtFqvLshn3?= =?iso-8859-1?q?FgtTWRcqPCSMAM+RBnUu0nDRNZj0mGWEMIieb4H62O9fwND8WAPlvZbWcJJt?= =?iso-8859-1?q?QocxNiC0tTC2XXxn9SnWZHOwospiLwiWeIvOUbfc2ikoGuEtt45QnblQg3Vd?= =?iso-8859-1?q?AVuf0pcwzBJtcpFxfbaI6iz5WcaQwI+0WPoneKxpe6KzHaPZxkrGgl8xrCnr?= =?iso-8859-1?q?Wuc4YxrqBoDU+a25vkB0M9/AnpbNbRTioTHkD82wVrLElb7Xc0xst5NmktBs?= =?iso-8859-1?q?S2D9mOcFgK2d6RPBFvZ9c7HGR8Kyn5b3yW41TtkWErVM2fS7VMUBy1nl/LNp?= =?iso-8859-1?q?IF9/gAQ9CBDmKpxjhPUipmnvW5z1hAlFXoD4qKG1NPdLnw8G6x7ZRBbtYjb9?= =?iso-8859-1?q?SzQQZmjLm5UqFBWknSU/0kYoYyJGlnURWOQ2rJTcbXAR5lh55SyOStADdUX0?= =?iso-8859-1?q?8EfoRPx8zUqTkdnVo7m/fg+GU+5wN9gWB+Y08PbbZxSy87PvjIMmE7FFETow?= =?iso-8859-1?q?qEltGmStf9F2K7IfQMKdOmy7baYDzDvz0VMu0XMCU6+bF8kRipuXOgGcV3gA?= =?iso-8859-1?q?s0Khl11HSwUMhr4K0JVWT4NTkblsez7bBrzFkT4EnEZhafNZ4LN1PXJ/8oCq?= =?iso-8859-1?q?hgg6vyxN5s1ykbKGWO33CH/F9ISw+aaqtGUOjHS0b8XWAXe+s/FqXSLIy7NS?= =?iso-8859-1?q?ptL4U9pNQo5Csv56pu5HhWokW4d5BFrvGJhjo1p92IlH6VTioRdIyyd0FG1t?= =?iso-8859-1?q?+z+zVAPbCPUgkSb3tFKm?= x-microsoft-antispam-prvs: x-forefront-prvs: 09538D3531 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(39860400002)(376002)(396003)(136003)(189003)(199004)(1076003)(486006)(2906002)(66066001)(52116002)(6346003)(81166006)(81156014)(6506007)(386003)(8936002)(50226002)(8676002)(54906003)(102836004)(99286004)(72206003)(6916009)(53936002)(14454004)(476003)(71200400001)(71190400001)(256004)(478600001)(97736004)(86362001)(5660300002)(25786009)(4326008)(105586002)(3846002)(107886003)(6116002)(106356001)(68736007)(2616005)(5640700003)(186003)(305945005)(6512007)(2501003)(26005)(2351001)(316002)(7736002)(6486002)(6436002)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0701MB2573;H:VI1PR0701MB2863.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: wacom.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jason.Gerecke@wacom.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ZDb2sPekaw689hUSwwu4b8Bf4bM3y2geLjJpkNGR+ZJxLZy18cDmgG7aczAP1FpOS4Yt4wdrWomFg422UTDvhpzXqJcYdRkmah2OgfJ2en35MjcPqNFonuK1Aooi+3aNFhIFWP6pIbQe1zYywKRFpHuxXPOItbKzOGxyS7MB/pSHIwZwErG8AmJ5LXn0dZezGwish6GUVIMGZ5qBi3ZlaQ7g3EVlPRPUq3QJ/aIyS0lKHL8A46LiyJSFlQlaWgdSkiUTce98ee2PTISTdMq6IV4J3gGEd+ptWs77r16elEhKGmjgAVmLMP+5nZcn2C5hDGn7DA/DKeYThbkEOxkZXAyZNdJFlTsepfqdcCXUFnZhm9/UUS9xdVMbL9btcdD4Y/l5QpZAgYpokzylO847qaK06/gxwI1lmnb9jg7H8Ls= MIME-Version: 1.0 X-OriginatorOrg: wacom.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30f5ad6a-0499-46ba-6893-08d69693ea8e X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2019 17:58:54.5582 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 9655a91b-107e-4537-834e-d15e84872626 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2573 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gerecke Wacom has introduced a new pen compatible with its MobileStudio Pro and other tablets. Although adding it to the tool ID tablet is not strictly necessary unrecognized pens are reported as BTN_TOOL_PEN already, unless the tablet sends the "eraser" bit, when BTN_TOOL_RUBBER is used instead), we'll keep it updated anyway. Signed-off-by: Jason Gerecke --- drivers/hid/wacom_wac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 5ecda99bf431..747730d32ab6 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -626,6 +626,7 @@ static int wacom_intuos_get_tool_type(int tool_id) case 0x8e2: /* IntuosHT2 pen */ case 0x022: case 0x10804: /* Intuos4/5 13HD/24HD Art Pen */ + case 0x10842: /* MobileStudio Pro Pro Pen slim */ case 0x14802: /* Intuos4/5 13HD/24HD Classic Pen */ case 0x16802: /* Cintiq 13HD Pro Pen */ case 0x18802: /* DTH2242 Pen */ @@ -667,6 +668,7 @@ static int wacom_intuos_get_tool_type(int tool_id) case 0x1480a: /* Intuos4/5 13HD/24HD Classic Pen Eraser */ case 0x1090a: /* Intuos4/5 13HD/24HD Airbrush Eraser */ case 0x1080c: /* Intuos4/5 13HD/24HD Art Pen Eraser */ + case 0x1084a: /* MobileStudio Pro Pro Pen slim Eraser */ case 0x1680a: /* Cintiq 13HD Pro Pen Eraser */ case 0x1880a: /* DTH2242 Eraser */ case 0x1080a: /* Intuos4/5 13HD/24HD General Pen Eraser */