X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH 1/1] asus-nb-wmi: ignore ALS notification key code
@ 2013-05-23  4:17 Viktar Vauchkevich
  0 siblings, 0 replies; only message in thread
From: Viktar Vauchkevich @ 2013-05-23  4:17 UTC (permalink / raw)
  To: Corentin Chary; +Cc: acpi4asus-user, platform-driver-x86

Ignore Ambient Light Sensor notification key code 0xC6 found in ASUS UX31a.
When the illuminance changes dmesg shows:
[10814.939979] asus_wmi: Unknown key c6 pressed

Signed-off-by: Viktar Vauchkevich <victorenator@gmail.com>
---
 drivers/platform/x86/asus-nb-wmi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-
wmi.c
index 8fcb41e..7340566 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -256,6 +256,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
 	{ KE_KEY, 0xB5, { KEY_CALC } },
 	{ KE_KEY, 0xC4, { KEY_KBDILLUMUP } },
 	{ KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } },
+	{ KE_IGNORE, 0xC6, },  /* Ambient Light Sensor notification */
 	{ KE_END, 0},
 };
 
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-23  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23  4:17 [PATCH 1/1] asus-nb-wmi: ignore ALS notification key code Viktar Vauchkevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox