[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1300914823-9440-1-git-send-email-seth.forshee@canonical.com>
Date: Wed, 23 Mar 2011 16:13:41 -0500
From: Seth Forshee <seth.forshee@...onical.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] sparse-keymap: Emit events useful for key debugging
A number of ACPI/WMI drivers use sparse-keymap for hotkeys. Some of the
most common hotkey problems are new keys with perviously unused scan
codes and keys that reuse scan codes for different functions than in
previous models. Diagnosis of these key problems can be done easily
from userspace as long as the drivers emit MSC_SCAN events for all keys
and KEY_UNKNOWN key events for unknown scan codes. sparse-keymap does
neither.
The following patches modify sparse-keymap to emit these events,
facilitating easier debugging of malfunctioning keys from userspace.
Thanks,
Seth
Seth Forshee (2):
Input: sparse-keymap - report scancodes with key events
Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes
drivers/input/sparse-keymap.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists