Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B70C737E317 for ; Sun, 22 Mar 2026 22:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774219838; cv=none; b=lgbdmGKL7NB6jHorABz5EWQtgEW4CrXDEsvsJ1uK5S/tUG5h44TDjVcC/45AC4zbaNGApjYw28qIAB28YY6v2DpPaf0VFZJ6xB7IhzPp36reOShJ/OH1/7HwlMmJSoISOR2PLSCaw56WEd7ZkOh6sN/a5dj5ICU6dgMonZqaIDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774219838; c=relaxed/simple; bh=NKt2CmEWcZXfwziTA/rm+SpSsbUmPomDYqEGhX+nbPo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CnhEYT/A6WrwxVNIZdamioHb5iB/fiAlhpg4x9HrMLyXof4JOflE2Qy44tqbwGQqYlMFe6NZjRYoo4zLgRcCRL/oYWmSDmNpD2xGCOgaZa4YRGKOJmrJtqaFtGW4zU/fv1mbcw5v4YIbBgocLUOyok5YHWGMOChnxaK9v3KuToI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=jphein.com; spf=pass smtp.mailfrom=jphein.com; dkim=pass (2048-bit key) header.d=jphein.com header.i=@jphein.com header.b=qHpxKKTn; arc=none smtp.client-ip=74.125.82.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=jphein.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jphein.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=jphein.com header.i=@jphein.com header.b="qHpxKKTn" Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-2b4520f6b32so4453352eec.0 for ; Sun, 22 Mar 2026 15:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jphein.com; s=google; t=1774219836; x=1774824636; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wBcqWFVY3mntUXBUlKC2Ful/A4x09kKb7ZTmoHge9Jw=; b=qHpxKKTny7Ty4lMXmjMeLHOcAmQ54z37ZpyZaiOBrbR7v9fvjRLJR05E4FHZhO9/R0 +7bJ3f7y054KkeEhXV0V1siJ8URhrInJCHZfDKoNyGXubwXj4Xf52HpQrBcGsEy5bLrK 6HZIxCcpojx8tr9j8vLyEbskyN1c07N7wZi4feDnCJHgocX5fprW79d8+lolGU2gX9dI z+WM32wkRRCwYFoW1jxqzrQemAI2w5pW2J1Ez1ThGWah+Gn4gxu0p4TDUWg5Fe4EhA+M xR+2pkM1aPfnffQv9VvxxNoZ79Ec+Q79VtDZaWM0tqS7nJ24oqqATCF7GXh/QFzqPJ2L 1Dng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774219836; x=1774824636; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wBcqWFVY3mntUXBUlKC2Ful/A4x09kKb7ZTmoHge9Jw=; b=N3eJYqMnhYTuEBTOe7dG+/s9Y+fIYfXA/8an6kwaX6vHP7CafQ66lmn65g7O34ndkI fFEc3w/pDXchuN3ualSeNfbqCuR28BJ1JbJNSuPl5o2Tafik7y8KfOoE6+W8bRRprVzz 4yE3mOuX/DuFwoWW7Q8f1DtR8NURYpPRmOw9jkwTQCW/1x777tY+5RmC+inqorYFqMq7 VCk00V/FATwqMsB39GYiR5MK0L6QZYFAyXVd5lEekLvwGxomZqD4riDzUYPz8HMckxRh 4si2+cfgXCxt78wdyMhF/wVFcfanK2J0qNBsb4FzR+2jRhG6iC2xmD8JHRtbLWuJF08g 6cDw== X-Gm-Message-State: AOJu0YzwtgWNwIrb6aPjqgENwX6IYuF1oom84bmETIyV/tN8CSjXBsrS 62KmnJdWALSAEeaR6iZTCcZasI7z24GBwjB4eSdObeyiEZ75/BeA/rR3CwacTZQt1A== X-Gm-Gg: ATEYQzwNRL7pPpmOc8rsTjY3fzREZspAYEC3K9GzEWnV4dhfdrdmZSZpPASoQ8z/x80 uC2sr9Y+bbnMi1agf24H+fwO6ISONLfXxaAyzCSfQSPdS+mz7hBZB3f/kbkjLehwcYnoiEts6bm WUPo8kYpIR65rJKV19hdEOo3v4O31wrTMvs4RqX7XfXva2pXNNvryFm99/kls8by3jJ/5u+4gfJ VIUIKzGm/ekXVcOa477BgEyudL06flXm9zsl7+bHXzTSfPKMS0p2tbBYt5KXCl2H9JwvzLnIxvc BywtiMh7rt9/pNFg8/3mZ0jwV4FjfNsKQqm9YMnsprYejhS0//9BWay8CxIkMmknbw2cihP5Lq0 efssKjc6akKU4KaGEFLnLBS9DBre0qFCY0vAMO2/D/+FHEEAdp6VdTX5EkL1TtlDpfm23bsgCk0 53qWcj2ADh X-Received: by 2002:a05:7301:1406:b0:2c1:3f85:756 with SMTP id 5a478bee46e88-2c13f850ae6mr38940eec.11.1774219835785; Sun, 22 Mar 2026 15:50:35 -0700 (PDT) Received: from katana.lan ([108.74.4.89]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2c10b31ebd5sm10928052eec.27.2026.03.22.15.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2026 15:50:35 -0700 (PDT) From: JP Hein To: Laurent Pinchart , Hans de Goede , Greg Kroah-Hartman Cc: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, stable@vger.kernel.org, JP Hein Subject: [PATCH v4 1/3] USB: core: add NO_LPM quirk for Razer Kiyo Pro webcam Date: Sun, 22 Mar 2026 15:50:10 -0700 Message-ID: <20260322225012.1817920-2-jp@jphein.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260322225012.1817920-1-jp@jphein.com> References: <20260322225012.1817920-1-jp@jphein.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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@vger.kernel.org Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2061177 Signed-off-by: JP Hein --- drivers/usb/core/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 9e7e49712..7c4038a1e 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -480,6 +480,8 @@ static const struct usb_device_id usb_quirk_list[] = { /* 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 }, -- 2.43.0