From 3e23738bac260c4a84f0bc1d4415ed8e6e927894 Mon Sep 17 00:00:00 2001 From: Din Tort Date: Sat, 28 Feb 2026 16:10:54 +0100 Subject: [PATCH] Skip Logitech webcams (PID 0x0800 to 0x09FF) to prevent them from locking up during hidpp checks #3145 - format comment --- lib/hidapi/hidapi_impl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hidapi/hidapi_impl.py b/lib/hidapi/hidapi_impl.py index 74c44b63..ee8c238a 100644 --- a/lib/hidapi/hidapi_impl.py +++ b/lib/hidapi/hidapi_impl.py @@ -253,7 +253,8 @@ def _match( logger.info(f"Skipping unlikely device {device['path']} ({bus_id}/{vid:04X}/{pid:04X})") return None - # Skip Logitech webcams to prevent them from locking up during hidpp checks (product IDs range for webcams from docs/usb.ids.txt) + # Skip Logitech webcams to prevent them from locking up during hidpp checks + # (product IDs range for webcams from docs/usb.ids.txt) if vid == LOGITECH_VENDOR_ID and 0x0800 <= pid <= 0x09ff: logger.info(f"Skipping Logitech webcam {device['path']} ({bus_id}/{vid:04X}/{pid:04X})") return None