Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp590473pxb; Tue, 5 Apr 2022 15:09:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx75qDhfUNRWsRtDQz5ys5b4zUMFzH80IAB8uFyL1B8URx/6WZxH8pNgSbbDqOi5cHSCLfB X-Received: by 2002:a17:902:c408:b0:156:96d1:1744 with SMTP id k8-20020a170902c40800b0015696d11744mr5555179plk.134.1649196574927; Tue, 05 Apr 2022 15:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649196574; cv=none; d=google.com; s=arc-20160816; b=wWSEzYE24Hz3j42XbnklhEwYov+KHYt0IcSt68b7RAvT6L+mjUmqy3dj05eTzqydDi M+mOp5tuOW6mAm5SkncCSqB0A1WfutQX8+LXriquCj7LwKBcfhdB4NDP39okHfJdJnkH mmIeSWalWndOE59mfrR/9s8tfkURXpVY/q+ilG+SaZyId2UeB3UEJsnSrXg+D59ZM/NI jI+pv83BHJEVj4rfa/3fKFqmbEmKLk1VeKhNU+/cOvAz/EQiW423PCDaoUHM8j86c0OA h6dDqt5tfI1Mpaq/n4o7CnDiwEiphsDhoaxKJSV6UFNZyXrrHS9Atm90Sm3iXbjql8o4 73+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gNYWWAExGbBM0RKsX64K5CmNeUI3UA88rZCgwqHRaZs=; b=Ypsc4T1AHawZ7LpAxElkYgn/WLfR97fNi+baKHXuXz2WIW5S6BcKtt9Ao2h+ZAB1A/ Je+6A3rTvnRdqazF/b6/1oYfoj2PK7EqPSZog3Mu87W0lV0TbWbYPzSIKrKG3tXmHOND JucFqHQpu0xxHpkkLt62MAKyF50tY5D1fmx1jWmWzWuQR4FTRFjZZdYBS07mCEvZOO7N WHhAL6JdVN8KsiCqi9F0hVFlZF8uMMtp2WROouWnMVBagirHhkcJYmgljrPFPSzzLEfK Z9Ad30FX5/CVzP8sF2xkA2hNmEDvSVqI4QaRsUyHhIPo94zuLX0EbDrOrMHaUNavkwcK VVAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iN6d3vvZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d1-20020a056a0010c100b004fa3a8dffd5si14715363pfu.140.2022.04.05.15.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iN6d3vvZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C88DD10BBC8; Tue, 5 Apr 2022 14:53:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380201AbiDEOQS (ORCPT + 99 others); Tue, 5 Apr 2022 10:16:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238790AbiDEJcs (ORCPT ); Tue, 5 Apr 2022 05:32:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3255F66; Tue, 5 Apr 2022 02:20:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9ABAA6144D; Tue, 5 Apr 2022 09:20:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4193C385A0; Tue, 5 Apr 2022 09:20:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150407; bh=xGJ+ArF/bMzVzpHzzWR2mQad4zARlA/iBKKkcu48jJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iN6d3vvZln0p3sb7nCg4zIerqhgmHG+g7IB1JUc1IE1qVJRfVC1738iSeV0Keency dEk0FmsE8iC5FjIZiJndw23bIvOhZGqdH5mr9YMV3ooO+RGssLeFNxdGH0zDdiHfNH EwAOIa13SKolOd+hA+CbTTMmpnRP4+aoz3CetPgY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Michael=20H=C3=BCbner?= , Jiri Kosina , Sasha Levin Subject: [PATCH 5.15 009/913] HID: Add support for open wheel and no attachment to T300 Date: Tue, 5 Apr 2022 09:17:51 +0200 Message-Id: <20220405070340.092325466@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Hübner [ Upstream commit 0a5a587501b54e8c6d86960b047d4491fd40dcf2 ] Different add ons to the wheel base report different models. Having no wheel mounted to the base and using the open wheel attachment is added here. Signed-off-by: Michael Hübner Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-thrustmaster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hid/hid-thrustmaster.c b/drivers/hid/hid-thrustmaster.c index afdd778a10f0..a28c3e575650 100644 --- a/drivers/hid/hid-thrustmaster.c +++ b/drivers/hid/hid-thrustmaster.c @@ -64,7 +64,9 @@ struct tm_wheel_info { */ static const struct tm_wheel_info tm_wheels_infos[] = { {0x0306, 0x0006, "Thrustmaster T150RS"}, + {0x0200, 0x0005, "Thrustmaster T300RS (Missing Attachment)"}, {0x0206, 0x0005, "Thrustmaster T300RS"}, + {0x0209, 0x0005, "Thrustmaster T300RS (Open Wheel Attachment)"}, {0x0204, 0x0005, "Thrustmaster T300 Ferrari Alcantara Edition"}, {0x0002, 0x0002, "Thrustmaster T500RS"} //{0x0407, 0x0001, "Thrustmaster TMX"} -- 2.34.1