Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86: dell-wmi: Add WMI event 0x0012 0x0003 to the list

It looks like that on Dell Latitude E6440 is WMI event 0x0012 0x0003 sent
when display changes brightness. When it happens kernel prints
"dell_wmi: Unknown WMI event type 0x12" message into dmesg.

So ignore it for now to not spam dmesg.

Signed-off-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20220827133040.15932-1-pali@kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Pali Rohár and committed by
Hans de Goede
6dd9eb95 3e891e93

+3
+3
drivers/platform/x86/dell/dell-wmi-base.c
··· 344 344 * They are events with extended data 345 345 */ 346 346 static const struct key_entry dell_wmi_keymap_type_0012[] = { 347 + /* Backlight brightness change event */ 348 + { KE_IGNORE, 0x0003, { KEY_RESERVED } }, 349 + 347 350 /* Ultra-performance mode switch request */ 348 351 { KE_IGNORE, 0x000d, { KEY_RESERVED } }, 349 352