From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E87523A16A0; Wed, 8 Apr 2026 18:24:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775672652; cv=none; b=ZE55OCwQksiNSF6hQetgpNGdtGCOCaseN4EZP4lTcf0jwjJxOJVRUGVDhi19cR7XbFo95WxfykNXG9dKnPb4EsCNDHhdfUnz/rcLnYScx1R7OuXiiAvwmQ8DL+8pIivwbYykLbND7/10Za0pyK4g/dhLDLsdhVyLxje60kJCslU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775672652; c=relaxed/simple; bh=TV/IoixF+WciDy18SnMwcpulKHSQi7O5YQ+CSSNAG9Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DFX3wzEJNZcbYTnhSabJZdPMpc/4dcW96z+JBaVaZd2IuXzRrP55H+DoTAVNZp6nqu/tWZ9xR2OjE6g99/t28A71E326Z2yf3S0+V3II5lRL41F6+ivYG3UxRP3M10uBDnGsw/O0f4FED4UopaCktd8k3qkapp8j+MVwhRAvMmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XLzqZ9O6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XLzqZ9O6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EA13C19421; Wed, 8 Apr 2026 18:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775672651; bh=TV/IoixF+WciDy18SnMwcpulKHSQi7O5YQ+CSSNAG9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XLzqZ9O60hSrNq5BGoEpIRZclEVyN41m2ukmZnl3jERUoE8RpXwz/Jtd1RErztBUq nkd67k7R2KFo9gbLpZpKiNiumSLL9h6iVaApVtk3zDkVTaCComsUcQ1MZZNbjjRZF8 fMd/LZhOm72leJjhr0yCwkhVzCFf4I+R1FxaLWq4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , JP Hein Subject: [PATCH 6.6 089/160] USB: core: add NO_LPM quirk for Razer Kiyo Pro webcam Date: Wed, 8 Apr 2026 20:02:56 +0200 Message-ID: <20260408175916.518307986@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260408175913.177092714@linuxfoundation.org> References: <20260408175913.177092714@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: JP Hein commit 8b7a42ecdcdeb55580d9345412f7f8fc5aca3f6c upstream. The Razer Kiyo Pro (1532:0e05) is a USB 3.0 UVC webcam whose firmware does not handle USB Link Power Management transitions reliably. When LPM is active, the device can enter a state where it fails to respond to control transfers, producing EPIPE (-32) errors on UVC probe control SET_CUR requests. In the worst case, the stalled endpoint triggers an xHCI stop-endpoint command that times out, causing the host controller to be declared dead and every USB device on the bus to be disconnected. This has been reported as Ubuntu Launchpad Bug #2061177. The failure mode is: 1. UVC probe control SET_CUR returns -32 (EPIPE) 2. xHCI host not responding to stop endpoint command 3. xHCI host controller not responding, assume dead 4. All USB devices on the affected xHCI controller disconnect Disabling LPM prevents the firmware from entering the problematic low- power states that precede the stall. This is the same approach used for other webcams with similar firmware issues (e.g., Logitech HD Webcam C270). Cc: stable Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2061177 Signed-off-by: JP Hein Link: https://patch.msgid.link/20260331003806.212565-2-jp@jphein.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -490,6 +490,8 @@ static const struct usb_device_id usb_qu /* Razer - Razer Blade Keyboard */ { USB_DEVICE(0x1532, 0x0116), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + /* Razer - Razer Kiyo Pro Webcam */ + { USB_DEVICE(0x1532, 0x0e05), .driver_info = USB_QUIRK_NO_LPM }, /* Lenovo ThinkPad OneLink+ Dock twin hub controllers (VIA Labs VL812) */ { USB_DEVICE(0x17ef, 0x1018), .driver_info = USB_QUIRK_RESET_RESUME },