]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 3 Dec 2023 03:24:30 +0000 (21:24 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jan 2024 12:38:53 +0000 (12:38 +0000)
commita4f48f77bbe7bbb0ad5b4d16449d917eea2ea8c4
treedf203b985296943008b7abf7bd58de5edae88ec7
parent413bef367ba66c62547ebc159ddecc04f34c849a
HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]

[ Upstream commit a9f68ffe1170ca4bc17ab29067d806a354a026e0 ]

Users have reported problems with recent Lenovo laptops that contain
an IDEA5002 I2C HID device. Reports include fans turning on and
running even at idle and spurious wakeups from suspend.

Presumably in the Windows ecosystem there is an application that
uses the HID device. Maybe that puts it into a lower power state so
it doesn't cause spurious events.

This device doesn't serve any functional purpose in Linux as nothing
interacts with it so blacklist it from being probed. This will
prevent the GPIO driver from setting up the GPIO and the spurious
interrupts and wake events will not occur.

Cc: stable@vger.kernel.org # 6.1
Reported-and-tested-by: Marcus Aram <marcus+oss@oxar.nl>
Reported-and-tested-by: Mark Herbert <mark.herbert42@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2812
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/i2c-hid/i2c-hid-acpi.c