linux/drivers/platform/x86
Alexandru Sorodoc 91b3d6aa07 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
[ Upstream commit 362c1f2ec8 ]

On ASUS GU604V the key 0x7B is issued when the charger is connected or
disconnected, and key 0xC0 is issued when an external display is
connected or disconnected.

This commit maps them to KE_IGNORE to slience kernel messages about
unknown keys, such as:

    kernel: asus_wmi: Unknown key code 0x7b

Signed-off-by: Alexandru Sorodoc <ealex95@gmail.com>
Link: https://lore.kernel.org/r/20230512101517.47416-1-ealex95@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 15:59:12 +02:00
..
dell platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table 2023-02-09 11:26:39 +01:00
hp platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct 2023-05-24 17:36:48 +01:00
intel platform/x86: ISST: Remove 8 socket limit 2023-06-05 09:21:16 +02:00
acer-wireless.c
acer-wmi.c platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017) 2022-12-02 17:41:10 +01:00
acerhdf.c
adv_swbutton.c
amd-pmc.c platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN 2023-02-22 12:57:05 +01:00
amilo-rfkill.c
apple-gmux.c
asus-laptop.c
asus-nb-wmi.c platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0 2023-06-21 15:59:12 +02:00
asus-wireless.c
asus-wmi.c platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr() 2022-12-02 17:41:10 +01:00
asus-wmi.h
classmate-laptop.c
compal-laptop.c
dual_accel_detect.h
eeepc-laptop.c
eeepc-wmi.c
firmware_attributes_class.c
firmware_attributes_class.h
fujitsu-laptop.c
fujitsu-tablet.c
gigabyte-wmi.c platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE 2023-04-26 13:51:51 +02:00
gpd-pocket-fan.c
hdaps.c
huawei-wmi.c platform/x86: huawei-wmi: fix return value calculation 2022-12-31 13:14:02 +01:00
i2c-multi-instantiate.c
ibm_rtl.c
ideapad-laptop.c platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[] 2023-01-18 11:48:51 +01:00
intel_ips.c
intel_ips.h
intel_scu_ipc.c platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register() 2022-12-31 13:14:05 +01:00
intel_scu_ipcutil.c
intel_scu_pcidrv.c platform/x86: intel_scu_pcidrv: Add back PCI ID for Medfield 2023-06-09 10:32:20 +02:00
intel_scu_pltdrv.c
intel_scu_wdt.c
Kconfig platform/x86: Move existing HP drivers to a new hp subdir 2023-05-24 17:36:48 +01:00
lg-laptop.c
Makefile platform/x86: Move existing HP drivers to a new hp subdir 2023-05-24 17:36:48 +01:00
meraki-mx100.c
mlx-platform.c
msi-laptop.c platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading 2022-10-26 12:35:40 +02:00
msi-wmi.c
mxm-wmi.c platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() 2022-12-31 13:14:05 +01:00
panasonic-laptop.c platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses 2022-07-07 17:53:34 +02:00
pcengines-apuv2.c
peaq-wmi.c
pmc_atom.c platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask 2022-09-08 12:28:01 +02:00
samsung-laptop.c platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative 2022-04-27 14:38:55 +02:00
samsung-q10.c
sony-laptop.c platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe 2023-01-18 11:48:51 +01:00
system76_acpi.c
think-lmi.c platform/x86: think-lmi: Clean up display of current_value on Thinkstation 2023-04-13 16:48:19 +02:00
think-lmi.h
thinkpad_acpi.c
topstar-laptop.c
toshiba_acpi.c
toshiba_bluetooth.c
toshiba_haps.c
toshiba-wmi.c
touchscreen_dmi.c platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i 2023-05-17 11:50:22 +02:00
uv_sysfs.c
wireless-hotkey.c
wmi-bmof.c
wmi.c platform/x86: wmi: Fix driver->notify() vs ->probe() race 2022-07-12 16:34:53 +02:00
xiaomi-wmi.c
xo1-rfkill.c
xo15-ebook.c