mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 23:56:48 +07:00
platform/x86: dell-wmi: Ignore new keyboard backlight change event
There's a new wmi event generated by dell-wmi when pressing keyboard backlight hotkey: [ 3285.474172] dell_wmi: Unknown key with type 0x0010 and code 0x003f pressed This event is for notification purpose, let's ignore it. The keyboard backlight hotkey uses another event so it still works without event 0x3f. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
96f984d312
commit
38f250b7d4
@ -267,6 +267,9 @@ static const struct key_entry dell_wmi_keymap_type_0010[] = {
|
||||
/* Fn-lock switched to multimedia keys */
|
||||
{ KE_IGNORE, 0x1, { KEY_RESERVED } },
|
||||
|
||||
/* Keyboard backlight change notification */
|
||||
{ KE_IGNORE, 0x3f, { KEY_RESERVED } },
|
||||
|
||||
/* Mic mute */
|
||||
{ KE_KEY, 0x150, { KEY_MICMUTE } },
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user