Skip to contentSkip to conversation

dell-wmi: Ignore WMI event 0xe00e

PATCH Applied Pali Rohár 2 participants 2 messages Jul 27, 2016 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dell-wmi: Ignore WMI event 0xe00e

WMI event 0xe00e is received when battery was removed or inserted.

---
 drivers/platform/x86/dell-wmi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/dell-wmi.c +2 -2
index d2bc092..da2fe18 100644
@@ -110,8 +110,8 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = {
 	/* BIOS error detected */
 	{ KE_IGNORE, 0xe00d, { KEY_RESERVED } },
 
-	/* Unknown, defined in ACPI DSDT */
-	/* { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, */
+	/* Battery was removed or inserted */
+	{ KE_IGNORE, 0xe00e, { KEY_RESERVED } },
 
 	/* Wifi Catcher */
 	{ KE_KEY,    0xe011, { KEY_PROG2 } },
Signature · 1 line
1.7.10.4
Applied
#1 lore raw
Quoted 3 lines · Pali Rohár

WMI event 0xe00e is received when battery was removed or inserted.

Queued for 4.8, thanks.

Quoted 23 lines
---
 drivers/platform/x86/dell-wmi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/dell-wmi.c +2 -2
index d2bc092..da2fe18 100644
@@ -110,8 +110,8 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = {
 	/* BIOS error detected */
 	{ KE_IGNORE, 0xe00d, { KEY_RESERVED } },
 
-	/* Unknown, defined in ACPI DSDT */
-	/* { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, */
+	/* Battery was removed or inserted */
+	{ KE_IGNORE, 0xe00e, { KEY_RESERVED } },
 
 	/* Wifi Catcher */
 	{ KE_KEY,    0xe011, { KEY_PROG2 } },
Signature · 1 line
1.7.10.4
Signature · 2 lines
Darren Hart
Intel Open Source Technology Center