diff options
author | Yuluo Qiu <qyl27@outlook.com> | 2023-11-26 21:59:13 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-06 20:59:49 +0100 |
commit | 143176a46bdd3bfbe9ba2462bf94458e80d65ebf (patch) | |
tree | 4756249fd8a2e1e0576644e6a363dc75ac5e12c8 /fs/debugfs | |
parent | 2c9f398ef19ebc6540aa15dea851c22e162bb83b (diff) |
ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
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: Yuluo Qiu <qyl27@outlook.com>
Co-developed-by: Celeste Liu <CoelacanthusHex@gmail.com>
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions