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 D80172980CB; Tue, 25 Mar 2025 12:26:59 +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=1742905619; cv=none; b=VKBqF6dcoQwYRPhbcVeNoPYgtvD3bDCJdj16yyiwTdbrauI+jALODFlBya+nNkSWMSF9SsMMhUjdbNnnCZ6ubyRWWNdKUPta3cnItpt3Q/XknNdn/GL0FrR2hD/ZxSbA72IoKXaVHIwaOcho8QAiAAlO/Ky2VWxqt4gW+vRVUI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742905619; c=relaxed/simple; bh=KoQd8C8/O9CUsZHT1YbRjBJG7DRGI1Zpa5EZWsyLy10=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QpMjUUqUdeGgQBKpUPxgCfQsGbl8z1Hzp9aWso/tfxJ24+gqNW+nFtqbM8J5C1Hwfgx6AnfVLodMOhb0MCfD5eoosorRqjRcVF+dqFaK2TySglaYAh2sSCYNy6UO9XWIdhASYqFeBTlmJhjPD4ReY+PKHrvX8Wat3swZfnPs4Yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=doCYwD4v; 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="doCYwD4v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71F5DC4CEE9; Tue, 25 Mar 2025 12:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742905619; bh=KoQd8C8/O9CUsZHT1YbRjBJG7DRGI1Zpa5EZWsyLy10=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=doCYwD4vA240//tEZo0bVX01iATEfwyYF2AnOFaBTWSWz+doQNzz8/owS+85SSgn+ 9OtuHb3VCJytBCd/v9xWBo9zZ7y0dKWuqgakkn+k4SsDRn3I8LZrHvfQPE9mHxpssl On85SCU8BtY70bD5RQfUJzIhwnOYY9HvxumsgD0k= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, "Chia-Lin Kao (AceLan)" , Srinivas Pandruvada , Jiri Kosina , Sasha Levin Subject: [PATCH 6.1 043/198] HID: ignore non-functional sensor in HP 5MP Camera Date: Tue, 25 Mar 2025 08:20:05 -0400 Message-ID: <20250325122157.767235380@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325122156.633329074@linuxfoundation.org> References: <20250325122156.633329074@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev 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: Chia-Lin Kao (AceLan) [ Upstream commit 363236d709e75610b628c2a4337ccbe42e454b6d ] The HP 5MP Camera (USB ID 0408:5473) reports a HID sensor interface that is not actually implemented. Attempting to access this non-functional sensor via iio_info causes system hangs as runtime PM tries to wake up an unresponsive sensor. [453] hid-sensor-hub 0003:0408:5473.0003: Report latency attributes: ffffffff:ffffffff [453] hid-sensor-hub 0003:0408:5473.0003: common attributes: 5:1, 2:1, 3:1 ffffffff:ffffffff Add this device to the HID ignore list since the sensor interface is non-functional by design and should not be exposed to userspace. Signed-off-by: Chia-Lin Kao (AceLan) Acked-by: Srinivas Pandruvada Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index d8c5e24e7d44c..29b8c96ce9f4d 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1072,6 +1072,7 @@ #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001 0x3001 #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3003 0x3003 #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008 0x3008 +#define USB_DEVICE_ID_QUANTA_HP_5MP_CAMERA_5473 0x5473 #define I2C_VENDOR_ID_RAYDIUM 0x2386 #define I2C_PRODUCT_ID_RAYDIUM_4B33 0x4b33 diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index debc49272a5c0..875c44e5cf6c2 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -882,6 +882,7 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DPAD) }, #endif { HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) }, + { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_HP_5MP_CAMERA_5473) }, { } }; -- 2.39.5