From patchwork Wed Jan 6 14:08:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kristian Evensen X-Patchwork-Id: 7968451 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 1DA279F1C0 for ; Wed, 6 Jan 2016 14:09:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E92D2012D for ; Wed, 6 Jan 2016 14:09:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5CF7720125 for ; Wed, 6 Jan 2016 14:09:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbcAFOJL (ORCPT ); Wed, 6 Jan 2016 09:09:11 -0500 Received: from mail-lb0-f194.google.com ([209.85.217.194]:34613 "EHLO mail-lb0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751863AbcAFOJK (ORCPT ); Wed, 6 Jan 2016 09:09:10 -0500 Received: by mail-lb0-f194.google.com with SMTP id jk7so15969191lbc.1; Wed, 06 Jan 2016 06:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FNVw+MkOIfFS5+2zBVijrZtrBr2zfM9rDcYGhDdmFEA=; b=asJmvehAsKnKKm/jn/D24aMzgzsa2FThPa/z7xMB2pGRSewM8c+iHURJTIa3dQwUID BVQUX9EfWOkAAHZHc7pfoYrCDKTbBXBv4TzI78+HNq8eM1uZwdJuLqnfvFtkdPbwtVSn orH+M+UGBa8Rt9ZxYPudrtoc0Ziw29QcKk+1K2+0tXSzyKaLOtBoxYQ7EwH79Q5zHik6 d5S2sGqyDj7Ef6a+tE6wR4TuJVX9ZAy3dHOh1YfN/8t263GS+bNaRplBF00vXGrv9qGo vV4qGPrYo0Xkwsb7UIDj24Ezr86j1i6dyHrrzKDR778cvt3A4zqXn1VcB7Hg/t1yzILc tFaA== X-Received: by 10.112.141.97 with SMTP id rn1mr15962353lbb.80.1452089348630; Wed, 06 Jan 2016 06:09:08 -0800 (PST) Received: from localhost.localdomain ([128.39.36.93]) by smtp.gmail.com with ESMTPSA id rp10sm555825lbb.13.2016.01.06.06.09.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jan 2016 06:09:07 -0800 (PST) From: Kristian Evensen X-Google-Original-From: Kristian Evensen To: jikos@kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: Kristian Evensen Subject: [PATCH] usb: hid: Add new PID for Microchip Pick16F1454 Date: Wed, 6 Jan 2016 15:08:53 +0100 Message-Id: <1452089333-32671-1-git-send-email-kristian.evensen@gmail.com> X-Mailer: git-send-email 2.5.0 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Kristian Evensen There seems to be a new version of the Microchip Pick16F1454 with a different PID (0xf2f7). This device should also be ignored by the HID driver. The PID was observed with the second version of the Yepkit Ykush USB hub. Signed-off-by: Kristian Evensen --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index c6f7a69..ab3b86c 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2408,6 +2408,7 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT1) }, { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT2) }, { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454_V2) }, { HID_USB_DEVICE(USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR, USB_DEVICE_ID_N_S_HARMONY) }, { HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100) }, { HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 20) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 8b78a7f..16d3077 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -664,6 +664,7 @@ #define USB_DEVICE_ID_PICOLCD 0xc002 #define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002 #define USB_DEVICE_ID_PICK16F1454 0x0042 +#define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7 #define USB_VENDOR_ID_MICROSOFT 0x045e #define USB_DEVICE_ID_SIDEWINDER_GV 0x003b