Skip to content

Commit 363236d

Browse files
acelanJiri Kosina
authored andcommitted
HID: ignore non-functional sensor in HP 5MP Camera
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) <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a5a056c commit 363236d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,7 @@
10951095
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001 0x3001
10961096
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3003 0x3003
10971097
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008 0x3008
1098+
#define USB_DEVICE_ID_QUANTA_HP_5MP_CAMERA_5473 0x5473
10981099

10991100
#define I2C_VENDOR_ID_RAYDIUM 0x2386
11001101
#define I2C_PRODUCT_ID_RAYDIUM_4B33 0x4b33

drivers/hid/hid-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ static const struct hid_device_id hid_ignore_list[] = {
891891
{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DPAD) },
892892
#endif
893893
{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },
894+
{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_HP_5MP_CAMERA_5473) },
894895
{ }
895896
};
896897

0 commit comments

Comments
 (0)