Skip to content

Commit 9249c32

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add quirk for the Dell Vostro 3350
The Dell Vostro 3350 ACPI video-bus device reports spurious ACPI_VIDEO_NOTIFY_CYCLE events resulting in spurious KEY_SWITCHVIDEOMODE events being reported to userspace (and causing trouble there). 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. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1911763 Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5e69282 commit 9249c32

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/acpi/acpi_video.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,15 @@ static const struct dmi_system_id video_dmi_table[] = {
540540
DMI_MATCH(DMI_PRODUCT_NAME, "Vostro V131"),
541541
},
542542
},
543+
{
544+
.callback = video_set_report_key_events,
545+
.driver_data = (void *)((uintptr_t)REPORT_BRIGHTNESS_KEY_EVENTS),
546+
.ident = "Dell Vostro 3350",
547+
.matches = {
548+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
549+
DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 3350"),
550+
},
551+
},
543552
/*
544553
* Some machines change the brightness themselves when a brightness
545554
* hotkey gets pressed, despite us telling them not to. In this case

0 commit comments

Comments
 (0)