Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451095 > unrolled thread

[PATCH] dell-wmi: Ignore WMI event 0xe00e

Started byPali Rohár <pali.rohar@gmail.com>
First post2016-07-27 09:40 +0200
Last post2016-07-27 19:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] dell-wmi: Ignore WMI event 0xe00e Pali Rohár <pali.rohar@gmail.com> - 2016-07-27 09:40 +0200
    Re: [PATCH] dell-wmi: Ignore WMI event 0xe00e Darren Hart <dvhart@infradead.org> - 2016-07-27 19:20 +0200

#1451095 — [PATCH] dell-wmi: Ignore WMI event 0xe00e

FromPali Rohár <pali.rohar@gmail.com>
Date2016-07-27 09:40 +0200
Subject[PATCH] dell-wmi: Ignore WMI event 0xe00e
Message-ID<rZrBE-4PS-33@gated-at.bofh.it>
WMI event 0xe00e is received when battery was removed or inserted.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
---
 drivers/platform/x86/dell-wmi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index d2bc092..da2fe18 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -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 } },
-- 
1.7.10.4

[toc] | [next] | [standalone]


#1451423

FromDarren Hart <dvhart@infradead.org>
Date2016-07-27 19:20 +0200
Message-ID<rZAEV-2gP-9@gated-at.bofh.it>
In reply to#1451095
On Wed, Jul 27, 2016 at 09:34:42AM +0200, Pali Rohár wrote:
> WMI event 0xe00e is received when battery was removed or inserted.
> 
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>

Queued for 4.8, thanks.

> ---
>  drivers/platform/x86/dell-wmi.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
> index d2bc092..da2fe18 100644
> --- a/drivers/platform/x86/dell-wmi.c
> +++ b/drivers/platform/x86/dell-wmi.c
> @@ -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 } },
> -- 
> 1.7.10.4
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web