From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380987; b=h//ngx0S8BwlKQH6Tr5TnnSKRJNEQPZsD7/wBsZ0EhSFiiCr3DGjoXbBmqUK4dwXhSI2 LljaRE12eox5tPseH+/Az6fxXa3a699UEevirpVqfvrda/12Jqq3rF8dYTU86+IrywFM0 Ula7b6lBb2ZyrjUBaCZ8cpnkUZ8CL2WYCeK41UgcP6PKJ+/fN3f1va7JTUpRxMpsVLDJN A7BgxlMdsj6YkcV7TewloPmP8wS5Fi5Lm8IfF1j4rku4b0k/c7EfwDybhgQefx3hfkv4c Xkmo/z4EWdy43bPwuTy5ncDpLR0aPo9VcJhGnoVYDhXdnj4CprKOYKIpMkGyiAwuwyw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380987; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=S4NtfdL+motV+7d3u1BpfAiYJ+Zs+4XqMi7kRC4kimY=; b=CDlcOsnpO6rYnJV7F7yIBNQ8KeB1LHAY8iaDUQlVUEjvQf2+1wd8PQGIG45R3jMOiFFs CpTbQl+yNXJmVVjpe0s4H+AdMHlPWnp3Ofk9StnRqsyny+8s3gqVDsJWyHN3FoVJsQN+k m2i0iUmvGHT+zUdM08PUEi3o+UeWco9JzBy8D3Mx8O7meKVh/CpnWOsvbW4zI+4+n8zoF 6rtYOagrJD9jr7jfW2E4fIc+cum6iKyJDSfQOrq1tUjsOUYRkT5SwSJewvH+ixncmmKou DKgIyzFXcRz0idUzvHsxGhRcybZ17fNpZ5X+b8+lMPzs0/TnL5A3GOn9vMtB33TXtoA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F8XM+Hza; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1132606A332; Fri, 4 Dec 2026 10:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F8XM+Hza Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C92A1F000C2; Fri, 4 Dec 2026 10:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380987; bh=S4NtfdL+motV+7d3u1BpfAiYJ+Zs+4XqMi7kRC4kimY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F8XM+HzadEPvz74Sd9V/Js7Wj8DgyPGJxnMgonnXQ0hGg6IB2EyGc/fHeeSG7qlSo hVOTVm8BlJASSyyHBkb5LcprHiGe+L8YrHOx+H/tAsW28lPNfTi4gQw1jUUGAbFxQr 3PAoSj1G3sdfOb2Y4t9QEFVcDHqKNq5ktsTozj4s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Sergei Kuznetsov , Dmitry Torokhov Subject: [PATCH 7.3 509/742] Input: xpad - add GameSir G7 Pro support Date: Fri, 4 Dec 2026 19:06:13 +0900 Message-ID: <20261204100648.661953016@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sergei Kuznetsov commit d1eb0afa9140c740ff29985f9b89b1926b1b502d upstream. Add the GameSir G7 Pro (0x3537:0x109c) in Xbox mode, connected through its 2.4G dongle. The controller uses the GIP protocol and was already bound through the GameSir vendor match, but showed up as "Generic X-Box pad" and its Share button was not reported. Set MAP_SHARE_BUTTON so the Share button is reported as KEY_RECORD. Signed-off-by: Sergei Kuznetsov Link: https://patch.msgid.link/20261023121314.8024-1-kernel@phnx47.net Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -409,6 +409,7 @@ static const struct xpad_device { { 0x3537, 0x100f, "GameSir Nova 2 Lite", 0, XTYPE_XBOX360 }, { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE }, { 0x3537, 0x1040, "GameSir Nova Lite", 0, XTYPE_XBOX360 }, + { 0x3537, 0x109c, "GameSir G7 Pro", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, { 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 }, { 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },