]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: ignore non-functional sensor in HP 5MP Camera
authorChia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Wed, 15 Jan 2025 07:00:20 +0000 (15:00 +0800)
committerJiri Kosina <jkosina@suse.com>
Mon, 3 Feb 2025 10:16:31 +0000 (11:16 +0100)
commit363236d709e75610b628c2a4337ccbe42e454b6d
treef2706f6f17024e97555fcc7d15bd2039a393de98
parenta5a056c8d2ba60017dffb914bdf92c5562defc48
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) <acelan.kao@canonical.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c