Commit 4d169334 authored by Yuluo Qiu's avatar Yuluo Qiu Committed by Greg Kroah-Hartman
Browse files

ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop



[ Upstream commit 143176a4 ]

The Colorful X15 AT 23 ACPI video-bus device report spurious
ACPI_VIDEO_NOTIFY_CYCLE events resulting in spurious KEY_SWITCHVIDEOMODE
events being reported to userspace (and causing trouble there) when
an external screen plugged in.

Add a quirk setting the report_key_events mask to
REPORT_BRIGHTNESS_KEY_EVENTS so that the ACPI_VIDEO_NOTIFY_CYCLE
events will be ignored, while still reporting brightness up/down
hotkey-presses to userspace normally.

Signed-off-by: default avatarYuluo Qiu <qyl27@outlook.com>
Co-developed-by: default avatarCeleste Liu <CoelacanthusHex@gmail.com>
Signed-off-by: default avatarCeleste Liu <CoelacanthusHex@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 53ab2323
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment