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=1794049441; b=1bzNs7tGVzryvFqAoYsR8PyZQjfyyyRqgZQsdvG2q+ukn1jdJYpdCypMyq8UWjo7zk7I zxvmMArQeL0Ki3dfTN1LcxmXZ1cCh5DW5gq21pvoZazPW5VKbOVkhWzB+G0Na49ionJL8 Gj9zmeQEgTeGX6+Hr4orFlwUjNAlga72OY5MZTv8w+KYOJVCtFYM/dPW6UAt+xwcyOUhB QkMqiXScZblw39JsfQctRwJlJBSIhV/x0c3jk4PW6K2LOvvCBlCKlm1anOZskCyRNSjdB KYObP5HoCQdf/Q8PslJS1+lzwmiEhniraQFEurRls+cUIVbjUHiK7ypkF+P8sjMH3BA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794049441; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ayUfhHKBbBDKs23Kvc5tFxosDJ/VfH66sP9hWMmjNgg=; b=vNv+FiLOuUgeSDDjv7MiFcCsVNEQ7nV1kIJu6H8fmQosQ8RFfFMwGCZ2r7TuqQTyyVse sh85o1UK2eT5tJBK8axQqMauOsuxjVpjB2M6w17PYev5DCUZDx0dIQJllSGaKGmRyWR4z +taLAEwFpATsFTFo6XftYqlvnZd+jwan6eGvaTd3+6Cse6341DGUjO+w0VX6DilB2zu5S tzxvfuKklHgz3aikSD3CHeSnmcfUnZ9dtEYXb3jbwEfwM1pVBkcbM9DP3fn8pb1BQ+yER wuJTBUgoLAv2IcFiKvkbLWpFP5DgIFdiEnYyVykjIJWj9DxjRXzDvOAgJxPtLI49zXA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=J2DniSnW; 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 B5FEB606A32D for ; Sat, 7 Nov 2026 11:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=J2DniSnW Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB5FF1F0089F; Sat, 7 Nov 2026 11:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794049440; bh=ayUfhHKBbBDKs23Kvc5tFxosDJ/VfH66sP9hWMmjNgg=; h=From:To:Cc:Subject:Date; b=J2DniSnWyZ3/7gAQw/OkF7qRGorxcO8gQS40Jks5hIR//tjIBkReKaMwdbuW8f/Gd O6Bf6eeEruIcTEvJsIIgqw+/dMdijqEXi3/EoUf05IKm9rBMPChGRyWWjhelHJlGwN drVBCzWiF55cJVXam92fC5E9sGT6C6eGYrib9bttXe8yOEg9EQQpVOg38lE/kclZgy iOislYVC0WcjSAgedM+k7UFj0y81DOx2QZVWL6wl0jLztOti+QRE/jcSusuTHqhN0i Eg7YmM9XRYC9o7OnUs4Xo7fotLt+54gDqDgdQewJ09ug4Aw34cr8TzF3yuBh5YVVu6 KGWSFe2arylrg== From: Sasha Levin To: aliresool567@gmail.com, gregkh@linuxfoundation.org Cc: stable@vger.kernel.org Subject: FAILED: patch "[PATCH] USB: quirks: add USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE for GameSir G7 SE" failed to apply to 5.15-stable tree Date: Sat, 7 Nov 2026 06:03:58 -0500 Message-ID: <20261107060358-failed-5.15-40224df29729@kernel.org> X-Mailer: git-send-email 2.53.0 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 40224df29729618ecd88c5c0077e71b1e82c7a3a # git commit -s git send-email --to '' --in-reply-to '20261107060358-failed-5.15-40224df29729@kernel.org' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 40224df29729618ecd88c5c0077e71b1e82c7a3a Mon Sep 17 00:00:00 2001 From: Ali Resool Tuama Date: Fri, 2 Oct 2026 20:42:12 +0300 Subject: [PATCH] USB: quirks: add USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE for GameSir G7 SE The GameSir G7 SE wired controller first enumerates as 3537:10a0 and then re-enumerates in a mode it picks from how the host enumerated it. When the configuration descriptor is fetched the Linux way, 9 bytes followed by the full 80, the controller disconnects about 1 ms after its string descriptors have been read, before SET_CONFIGURATION, and comes back as 3537:1082, a generic HID gamepad without force feedback. When the configuration descriptor is fetched in one 255-byte request, as Windows does, it comes back as 3537:1010 in Xbox One (GIP) mode, which xpad already supports, including rumble. Skipping the device qualifier requests (USB_QUIRK_DEVICE_QUALIFIER) makes no difference; the configuration descriptor request size alone decides the mode. Add USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE for the 10a0 identity, as is already done for the ShanWan Wireless Gamepad. Cc: stable Assisted-by: claude-opus-5-5 Signed-off-by: Ali Resool Tuama Link: https://patch.msgid.link/20261002-master-v2-1-24b05d8792b5@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index b5b577f0b931c..a4bcbe9c913cf 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -612,6 +612,9 @@ static const struct usb_device_id usb_quirk_list[] = { /* ezcap401 - BOS descriptor fetch hangs at SuperSpeed Plus */ { USB_DEVICE(0x32ed, 0x0401), .driver_info = USB_QUIRK_NO_BOS }, + /* GameSir G7 SE */ + { USB_DEVICE(0x3537, 0x10a0), .driver_info = USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE }, + /* DELL USB GEN2 */ { USB_DEVICE(0x413c, 0xb062), .driver_info = USB_QUIRK_NO_LPM | USB_QUIRK_RESET_RESUME }, -- 2.53.0