Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp657553pxb; Tue, 5 Apr 2022 17:35:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIXoIzWQ9YuDbAOsLP3JXeYG3lDfkzXapKKaBJPxx1ObQvVgHiCEi7Is4zipo57sJtZfN4 X-Received: by 2002:a17:90a:fc91:b0:1ca:ad65:fa98 with SMTP id ci17-20020a17090afc9100b001caad65fa98mr7147907pjb.232.1649205344744; Tue, 05 Apr 2022 17:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649205344; cv=none; d=google.com; s=arc-20160816; b=gZSgMekQGVYKcbdI8E59gvhsEjIyfjk0OuapVrmiUJJRIKtAj+Z7+y4Unk+zsO9xLH G7MTzWrrY2pp1SmeDfdooAdeGgtywIk11xkL+QhUPCEQ1mtvPRMKCSBxU1iQoUJOvbw/ 2IjzqsvlATdBrLUxHhY0FPiKHfDG4cKS7i0uYVoT9kZtaekBQ59sM1DMCzNfpLPRy6f5 5VMJsy5/Nt0RisSAw3tuwyBob7i2xkigAqs8Dxak91zoyDQO2XDS72r8xSSkZ2x+hFtY 9P8BswwRIHgiugmEOk3xmhh2e3dIIjC9Vqq+ilPwLtfHe8p2nAWLRnRTuofoQXEYmyao lnzQ== 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=wGWmBEfgcilEqfhU5WpXUMZ8Sdf5HLBZsVRZtQSCGzA=; b=Mr05tmPAhPGno87PYZ/Z/ebb4Z0sKcGb39xTpgZxRKxm97ZmK38TCQRzAxn7v8qY3K 7g8dzhNNtFgFt275LZ/xFgeFiVp4Z7vV/Z0wyScklA3Ww5jq5xWZlTctX6NC5JFeKRwR Cj29YWcdpNbLoIIeePu7a04dqwzxXk1e3ssQpx2ci0EixKoNLm4VHN9niyoxaAmovbht W7FEZJtzHny4UAUXUCYSO8Nej+gwd9ZXc6XcSsBN+/1Zo90hjhp5ckkW+t7i89i+GeZu /RYGE6X1NPE8PbCRg3pbyFHVi4ntkOgBDzlDNEeDwr9zxcRP39GinRSGC4xZx5lNyYeb BF/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u9YDojFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170902eccd00b00156b62d6cf6si5766890plh.493.2022.04.05.17.35.27; Tue, 05 Apr 2022 17:35:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u9YDojFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241247AbiDEK41 (ORCPT + 99 others); Tue, 5 Apr 2022 06:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242107AbiDEIgp (ORCPT ); Tue, 5 Apr 2022 04:36:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EEF9186CD; Tue, 5 Apr 2022 01:32:22 -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 55B5E60B0E; Tue, 5 Apr 2022 08:32:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62A5EC385A0; Tue, 5 Apr 2022 08:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147541; bh=tSoeaE+WjF/2U0/bRU+xgk2xTbobXqV74Tlrj1zdDgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u9YDojFQmk4QpWjUNv5TlW5hvkHWGIUoAcWydr2/i51dG2HHMASF060lV8oZ8187C 24K01145MO7h2mBV8RMSsJc17YI40EwCpFF6hAOlerwFg9lRAEfFgv9V+a+MTEjvFl i3guvNxSxBLx9AVnVnlTgSsW6AVIPuTX8rvCLaYY= 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.16 0008/1017] HID: Add support for open wheel and no attachment to T300 Date: Tue, 5 Apr 2022 09:15:21 +0200 Message-Id: <20220405070354.418014590@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 9da4240530dd..c3e6d69fdfbd 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