Skip to content

Commit c06bc35

Browse files
mschiu77Benjamin Tissoires
authored andcommitted
HID: quirks: Add another Chicony HP 5MP Cameras to hid_ignore_list
Another Chicony Electronics HP 5MP Camera with USB ID 04F2:B882 reports a HID sensor interface that is not actually implemented. Add the device to the HID ignore list so the bogus sensor is never exposed to userspace. Then the system won't hang when runtime PM tries to wake the unresponsive device. Signed-off-by: Chris Chiu <chris.chiu@canonical.com> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
1 parent a9a9179 commit c06bc35

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@
317317
#define USB_DEVICE_ID_CHICONY_ACER_SWITCH12 0x1421
318318
#define USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA 0xb824
319319
#define USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA2 0xb82c
320+
#define USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA3 0xb882
320321

321322
#define USB_VENDOR_ID_CHUNGHWAT 0x2247
322323
#define USB_DEVICE_ID_CHUNGHWAT_MULTITOUCH 0x0001

drivers/hid/hid-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ static const struct hid_device_id hid_ignore_list[] = {
769769
{ HID_USB_DEVICE(USB_VENDOR_ID_BERKSHIRE, USB_DEVICE_ID_BERKSHIRE_PCWD) },
770770
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA) },
771771
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA2) },
772+
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_HP_5MP_CAMERA3) },
772773
{ HID_USB_DEVICE(USB_VENDOR_ID_CIDC, 0x0103) },
773774
{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI470X) },
774775
{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI4713) },

0 commit comments

Comments
 (0)