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 A458B33F5A4; Wed, 8 Apr 2026 18:16:02 +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=1775672162; cv=none; b=FQyDOGbGZwN+uxb1t2S7+QYnso3HZh86UzI25OHSmH6HlhpFeptzQvCKnjhtDCA4iLKjEHtLeyDocA8IXbYD2icbPe36JBXuDYhF2jgLW2sYyWU9JWaOuYxhJcbD6t7iZHKBiBjFV1aYeGWkCrGjjjZUOEL5xqKD5Oy8TPB0Qmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775672162; c=relaxed/simple; bh=ubW+gtu3Mn/AtUA7XkWaCufTZRqPJOpjGqd/efcN25g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fh7GWQZ5GtnUCai7vnt6kBg9ZWqiJmMQeOndS5mHQhlt9gYtNBe1TaWy7JfpjNF9WDjZMp09pVesPneISIFJKtMHf4jYvaJhxncReOWIvuo5aT1VEboyBllZ4NAFxd1pm+CWeX02b+1ZMh4V5iCHMAYYFSnfnVuBxvNPbZjSIt4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uJ3pAYlt; 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="uJ3pAYlt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E28C6C19421; Wed, 8 Apr 2026 18:16:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775672162; bh=ubW+gtu3Mn/AtUA7XkWaCufTZRqPJOpjGqd/efcN25g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uJ3pAYltWl2178lIK3j6pop+cQ2KxELZzwZ2xpcImiUlt0d0sRCjWHyF8hRtGUKcv tOp9+620eiU+5QcNqDM7fs2LYHnYStTbdDktx4oDKUslOTxcCE6AVje3EY8Fu4puXU YUdLWNI6fkS9EfaCDGhlF3yliHOLBzLfx5oqGcKE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , JP Hein Subject: [PATCH 6.1 213/312] USB: core: add NO_LPM quirk for Razer Kiyo Pro webcam Date: Wed, 8 Apr 2026 20:02:10 +0200 Message-ID: <20260408175941.713986297@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260408175933.715315542@linuxfoundation.org> References: <20260408175933.715315542@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.1-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 },