Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2097541ybl; Thu, 30 Jan 2020 11:18:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwzjKPEf6t3LdcTFiQx+jVDZfh+n1AvShwSE8UodX5qfKIA23JiG5TYqdiRsyFHXZwKYN1i X-Received: by 2002:a05:6830:1d5b:: with SMTP id p27mr4518524oth.263.1580411918360; Thu, 30 Jan 2020 11:18:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580411918; cv=none; d=google.com; s=arc-20160816; b=kQxPTywRcW+uuY2OtvErFZxZKpQCH2d2oS5VhyU1Qm8zPtLXrIfFP02LqBP/CfHi+T V+83D+GKBs748qGhxqrmOAMD6HDjQiZsbteIKTuAkvA3kcQxgckkr5vXPxKOaHLeiamY lS4Pn7ka3fCoYSvtyCPqKghlgMTXYr0DjsBqU6KFSFrepaOpjcLI2ccTpp1q/bwcu/y3 H8/S2q6cAnyl4Smf/RJfr2vBses2qEHSKwAHgYvI0Chyv1mS3iWJv4wYenojAYpkEfNX 5WWPtknoebB34ga3V+lZR15FsAOz3SV/nw6NkzXjmGyYmr/MEhC1Qp9ujXqF24f/8LsJ 8dHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nQk3X327ASfmKmNprTLVzN0AgybabKheZ07QzkJrjq8=; b=G9yJpD1R620/Y+Eo0t6fyDDdNfcX60808dMn4agW4MVDVqmpUL8oXqrfaVskZFC59c AGl2WKl3LU5bGRQMCe+uHvqPKFvhNbenjAV4HKiIiSx3RzhSORY1x+L6hqPvJUsdo/IP PJJBC6XZbapTDapcc9MQV2H5Ivg1ITXBZfBdsxwxKBLB/N38fB7pNdGcXQkoH2GkW1zq Pf14bFYbwbPgPOf6Ta7v8jyb9lnMu37ifR4OvTA4r7qm5otT161H7roZ4FRa6c9igemf ddPPhALxuiCZoZcFJefrb+n9ymaOuRTX2iQjcq1uwNgyaZRCfNjoE7U5QL5gL2k4BsC5 aqfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="O5d/wq6W"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s128si3060862oig.204.2020.01.30.11.18.25; Thu, 30 Jan 2020 11:18:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="O5d/wq6W"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730692AbgA3Sns (ORCPT + 99 others); Thu, 30 Jan 2020 13:43:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:52622 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730669AbgA3Snr (ORCPT ); Thu, 30 Jan 2020 13:43:47 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 615D820702; Thu, 30 Jan 2020 18:43:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409826; bh=ODhOgXBkgDKqiZWuJ6tXJ5epKpG4Qzm8ZTpAoglS7Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O5d/wq6WGry1oRwEyotxFpJtWEsHIsE2GGMUSuHzQSZlVLCETp3ZjQcwCy6y9Cet1 BKCAQHcnGeNyHmvdj8Eikxl9y7YHUcf0RO7nT2yOvELNDSXTNzcFQXYiwBYIlaTfSj VFPnS3rrD/wCDiVG0TOVgKDEXDYCaHKwkiqIB8ho= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Priit Laes , Jiri Kosina , Sasha Levin Subject: [PATCH 5.4 046/110] HID: Add quirk for Xin-Mo Dual Controller Date: Thu, 30 Jan 2020 19:38:22 +0100 Message-Id: <20200130183620.751905019@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Priit Laes [ Upstream commit c62f7cd8ed066a93a243643ebf57ca99f754388e ] Without the quirk, joystick shows up as single controller for both first and second player pads/pins. Signed-off-by: Priit Laes Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index 9a35af1e26623..fa58a7cbb3ff2 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -174,6 +174,7 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE), HID_QUIRK_MULTI_INPUT }, { 0 } }; -- 2.20.1