From patchwork Mon Dec 14 12:50:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiko Odaki X-Patchwork-Id: 7844351 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 537CA9F1C2 for ; Mon, 14 Dec 2015 12:58:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 669262037F for ; Mon, 14 Dec 2015 12:58:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE89720260 for ; Mon, 14 Dec 2015 12:58:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932262AbbLNM6L (ORCPT ); Mon, 14 Dec 2015 07:58:11 -0500 Received: from mailgw03.hosei.ac.jp ([133.25.1.23]:49936 "EHLO mailgw03.hosei.ac.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932272AbbLNM6K (ORCPT ); Mon, 14 Dec 2015 07:58:10 -0500 X-Greylist: delayed 443 seconds by postgrey-1.27 at vger.kernel.org; Mon, 14 Dec 2015 07:58:10 EST Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mailgw03.hosei.ac.jp (Postfix) with ESMTP id C9355B911C1 for ; Mon, 14 Dec 2015 21:50:47 +0900 (JST) Authentication-Results: mailgw03.hosei.ac.jp; sender-id=none header.from=akihiko.odaki.4i@stu.hosei.ac.jp; spf=none smtp.mfrom=akihiko.odaki.4i@stu.hosei.ac.jp Received: by padhk6 with SMTP id hk6so63396180pad.2 for ; Mon, 14 Dec 2015 04:50:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mdWlqG95l6VvdXSGgVOSSPDBg6EtHhRvEEt1tjrPZf8=; b=nFtlUYPpCLzF/6YJby6A2hitbjtQtRbvGtYpvVYbIvKJ+kEF9Pczz+vY9rWM7FLMYt WcKluMUF1al440pxcyG+rxyNjOciCDCAQgJc8UDAsEfC8KmfRuEpncLPiv9HD5F1nv1o ELRPs54ScvNNTqfkk749Df1Ckc3K/30x26iH9ILUkhiuN40cN7n78YpXwX+yCNVLEmVv e3YN7OYhiFeKVcdnN4KyAuk8cgp1NiwQdUIV8lC4WdSeGfW3aAHCPM3O43UkYk0MdhYp eEYuvfYubHDameHdBVG9KZeMmiL8PBsLKyvSu7BpfiHWFWjXPSEP8LBgLGg+18kjlq6v uNBA== X-Gm-Message-State: ALoCoQmxPhb8E+UPNF8+5m/TiPiTkDLXyoFPS/XfnyFaF70/6uDbcFA951svcQWUYO8k6h2FE7xuwHM8SkirAQ8n/ea64B0I/nncRtcz0v2cqbKWtQ8Ckkqk9kYYKbUgYol+1PU2ACu3IHOFPThk+bj757HAbhxaIA== X-Received: by 10.66.142.168 with SMTP id rx8mr45124500pab.16.1450097447362; Mon, 14 Dec 2015 04:50:47 -0800 (PST) X-Received: by 10.66.142.168 with SMTP id rx8mr45124491pab.16.1450097447297; Mon, 14 Dec 2015 04:50:47 -0800 (PST) Received: from localhost.localdomain (fp76f0a99c.chbd104.ap.nuro.jp. [118.240.169.156]) by smtp.gmail.com with ESMTPSA id xr8sm42905752pab.26.2015.12.14.04.50.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 04:50:46 -0800 (PST) From: Akihiko Odaki To: jikos@kernel.org Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Akihiko Odaki Subject: [PATCH 2/2] HID: Add new Japanese Surface 3 Pro Type Cover Date: Mon, 14 Dec 2015 21:50:29 +0900 Message-Id: <1450097429-4959-2-git-send-email-akihiko.odaki.4i@stu.hosei.ac.jp> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1450097429-4959-1-git-send-email-akihiko.odaki.4i@stu.hosei.ac.jp> References: <1450097429-4959-1-git-send-email-akihiko.odaki.4i@stu.hosei.ac.jp> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for the new Japanese version of Microsoft Surface 3 Pro Type Cover. Signed-off-by: Akihiko Odaki --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-multitouch.c | 3 +++ drivers/hid/usbhid/hid-quirks.c | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 8b78a7f..a12e392 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -683,6 +683,7 @@ #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 0x07dc #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2 0x07e2 #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP 0x07dd +#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2_JP 0x07e3 #define USB_DEVICE_ID_MS_TYPE_COVER_3 0x07de #define USB_DEVICE_ID_MS_POWER_COVER 0x07da diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index dfc2698..b5e040d 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1342,6 +1342,9 @@ static const struct hid_device_id mt_devices[] = { USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP) }, { .driver_data = MT_CLS_EXPORT_ALL_INPUTS, MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, + USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2_JP) }, + { .driver_data = MT_CLS_EXPORT_ALL_INPUTS, + MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_3) }, { .driver_data = MT_CLS_EXPORT_ALL_INPUTS, MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 7dd0953..50a57d0 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -91,6 +91,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2_JP, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_3, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL, HID_QUIRK_NO_INIT_REPORTS },