From patchwork Sat Feb 13 20:41:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 8300831 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1F8CBC02AA for ; Sat, 13 Feb 2016 20:42:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B85F20435 for ; Sat, 13 Feb 2016 20:42:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54A182042C for ; Sat, 13 Feb 2016 20:41:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751307AbcBMUl6 (ORCPT ); Sat, 13 Feb 2016 15:41:58 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37290 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbcBMUl6 (ORCPT ); Sat, 13 Feb 2016 15:41:58 -0500 Received: by mail-wm0-f47.google.com with SMTP id g62so61627878wme.0 for ; Sat, 13 Feb 2016 12:41:57 -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=EjRUt/jj4rAjBQgnYsRpe3NKDQHR+IfBH0j9ma0/hCE=; b=mjSXh/X7m/orBP3OYRj4SbuxMHolyYnplOOIfFFEwdq/OP2AkBjVRSDSGAiYeBK6N4 seInJIESZxuPHD7q5x76ekhPRKbJx+KhQ1uxS8HyDPmnajes4lOwzS2fQvQoMw6CSOi5 kBq01zl0OjvPPXkZGy6mOurWjSHeYzLNTMAPSnnM+J4dsjQLxY3EB2JiUC5gSda7s5lq OF5BPtBPkrDJHTlTn5PzOTmyTJDh71TuhO2Bh/jhI6XxqplbwhVT19UnHMO/96xVJWOj qCRh4QCxN8Dgvc1lGMxrkkJtRdJSRPkD205nLkUdgJAnO0NykLVgjvCO41cuanZfW27t OjXg== 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; bh=EjRUt/jj4rAjBQgnYsRpe3NKDQHR+IfBH0j9ma0/hCE=; b=Phl2fbUJOdGPqfGn5AINSp57c9A9jWDVh6oWgSW+2+9YFfk2uvqXw9WR1mvbRwf1kt dd71LgFc7Jwk735hMvVIpxVGXOxpopoCxwAKlpEZmTXpplQzCU+Qz/GKSoniVqjeP9gc UKr0eTGFtUZRndu4Qwh/D+h93u5xMGtHEtw2h8Y2mUmb7u6NQ34jAqlZqZmnTDDl++M3 v0eKhc/ljc/bYtK6YcEc8Qf2vzhM34mQewKgK707px03dfN2vfN0hQcDpezSBu+YJ/xO 4ljvD6cvEL3Upb/C2zXIYyZ2UGktNqNoDq30AgKH0x803qvOklJHGxUZt6I27L9T69bQ 00FQ== X-Gm-Message-State: AG10YOTruMjqGpE3GX2xCui65G/wi9PdbtBM7FEuSlTsH7F9wvwXG9EnCRF7Bamxl0R0Wg== X-Received: by 10.194.57.138 with SMTP id i10mr8282119wjq.104.1455396117015; Sat, 13 Feb 2016 12:41:57 -0800 (PST) Received: from localhost.localdomain ([5.20.220.27]) by smtp.gmail.com with ESMTPSA id r10sm17818668wjz.24.2016.02.13.12.41.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Feb 2016 12:41:56 -0800 (PST) From: Grazvydas Ignotas To: linux-input@vger.kernel.org Cc: Jiri Kosina , Grazvydas Ignotas , Vitaly Katraew Subject: [PATCH] HID: logitech: fix Dual Action gamepad support Date: Sat, 13 Feb 2016 22:41:51 +0200 Message-Id: <1455396111-2511-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 2.7.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 The patch that added Logitech Dual Action gamepad support forgot to update the special driver list for the device. This caused the logitech driver not to probe unless kernel module load order was favorable. Update the special driver list to fix it. Thanks to Simon Wood for the idea. Cc: Vitaly Katraew Fixes: 56d0c8b7c8fb ("HID: add support for Logitech Dual Action gamepads") Signed-off-by: Grazvydas Ignotas --- drivers/hid/hid-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index c6f7a69..f16155f5 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1897,6 +1897,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_ELITE_KBD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CORDLESS_DESKTOP_LX500) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_EXTREME_3D) }, + { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DUAL_ACTION) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WHEEL) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD_CORD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD) },