From patchwork Sat Jan 7 11:10:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Hasler X-Patchwork-Id: 9502977 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 94228606E1 for ; Sat, 7 Jan 2017 11:10:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 837AC28452 for ; Sat, 7 Jan 2017 11:10:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 749A628461; Sat, 7 Jan 2017 11:10:45 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 1B13A28452 for ; Sat, 7 Jan 2017 11:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032197AbdAGLKo (ORCPT ); Sat, 7 Jan 2017 06:10:44 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36527 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031972AbdAGLKn (ORCPT ); Sat, 7 Jan 2017 06:10:43 -0500 Received: by mail-wm0-f67.google.com with SMTP id m203so10417338wma.3 for ; Sat, 07 Jan 2017 03:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :in-reply-to:user-agent; bh=84K66Mu4mwE9aFjcViHUy9anQuyLSzkRfnpjqMucoIk=; b=mKSQu/JhTBx++oDORpSI07rGzOJjYuN+9aEUOZRS2RKbz4JJ5BfMsQdJauSvsELdfS mGp5aNY+svYZVfjodknmAkmL2Zm5OQVIPniEdFal5WVPPSMEujNbKGdoWtTfR+vqeQKw sbsOajGvRUQZyc/FFxzV/kAvmCDgFE5ORT77jIYu1VASHBKQCn/LobGElL+isKeL/o3o k/e5HFEchm1DMRi5m1oer/DfKjrfTP6+hcJ0lwUgjKRJ5IEZkgidNoPT7u7GoBJNvQWG ehz8StmfcqkZco2ap6WcVdPF2MUfazl5B/JaAX5NWztPtYAQb3PN3heOxztuc6zQ/gOK JL/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:in-reply-to:user-agent; bh=84K66Mu4mwE9aFjcViHUy9anQuyLSzkRfnpjqMucoIk=; b=JvizSq4uLVQarRBus1B9vu33EE+f9JjmP4opUdU2BeYIyRCDb0WcsaxAdijD/wASjL +/QW14AzNXZH5+D1oS2TVFtIt/Svs3JckXMFVkpS9es2SyUvO21A/3s9iPBZYxO27Hjh V4DlUBeQmcYH3ef8H7cqYUwrF6irgznbhJpkv7I0PYfET9Jo6S/lAHQiL5CWzIvdaAUy t3cmOeCdsy7gkG6ZRhG1xiCjqSFYcvSpwYkAzEqwZatKK91g8yuR/TuRKpW4M7z+3cF8 8viaNELLpE3ON3ceYcZIrHuF3OkDQmtx8/ltgBqXfziqghkiSorQnS1S83z5zHr5gYYQ niRQ== X-Gm-Message-State: AIkVDXIXyCqoJhL5ggXE/K+rSju6TGq2aqbBKqCBGbvxzDvzcgx8557PVvBOHGJ2fOWr4w== X-Received: by 10.223.130.232 with SMTP id 95mr5462684wrc.34.1483787442258; Sat, 07 Jan 2017 03:10:42 -0800 (PST) Received: from arch-desktop ([2a02:908:670:9d40:728b:cdff:fe7f:6af7]) by smtp.gmail.com with ESMTPSA id t194sm9540549wmd.1.2017.01.07.03.10.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jan 2017 03:10:41 -0800 (PST) Date: Sat, 7 Jan 2017 12:10:37 +0100 From: Marcel Hasler To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org Subject: [PATCH 1/2] hid: Add a new device ID for updated Mayflash/Dragonrise GameCube adapter. Message-ID: <20170107111037.GA17413@arch-desktop> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170107110926.GA14173@arch-desktop> User-Agent: Mutt/1.7.2 (2016-11-26) 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 The Mayflash GameCube adapter has received a firmware update which, among other things, changes the device's PID. It also fixes enumeration, therefore the updated firmware no longer requires HID_QUIRK_MULTI_INPUT. Signed-off-by: Marcel Hasler --- drivers/hid/hid-ids.h | 3 ++- drivers/hid/usbhid/hid-quirks.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 54bd22dc1411..23cb33c36663 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -320,7 +320,8 @@ #define USB_DEVICE_ID_DRAGONRISE_WIIU 0x1800 #define USB_DEVICE_ID_DRAGONRISE_PS3 0x1801 #define USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR 0x1803 -#define USB_DEVICE_ID_DRAGONRISE_GAMECUBE 0x1843 +#define USB_DEVICE_ID_DRAGONRISE_GAMECUBE1 0x1843 +#define USB_DEVICE_ID_DRAGONRISE_GAMECUBE2 0x1844 #define USB_VENDOR_ID_DWAV 0x0eef #define USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER 0x0001 diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index e9d6cc7cdfc5..54b641efd939 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -84,7 +84,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_WIIU, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_PS3, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR, HID_QUIRK_MULTI_INPUT }, - { USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE, HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE1, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_ELAN, HID_ANY_ID, HID_QUIRK_ALWAYS_POLL }, { USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2700, HID_QUIRK_NOGET }, { USB_VENDOR_ID_FORMOSA, USB_DEVICE_ID_FORMOSA_IR_RECEIVER, HID_QUIRK_NO_INIT_REPORTS },