LKML Archive mirror
 help / color / mirror / Atom feed
From: Seth Forshee <seth.forshee@canonical.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org
Cc: Azael Avalos <coproscefalo@gmail.com>,
	Thomas Renninger <trenn@suse.de>,
	linux-kernel@vger.kernel.org,
	Seth Forshee <seth.forshee@canonical.com>
Subject: [PATCH 2/3] toshiba_acpi: Support additional hotkey scancodes
Date: Mon,  5 Mar 2012 21:30:32 -0600	[thread overview]
Message-ID: <1331004633-11862-3-git-send-email-seth.forshee@canonical.com> (raw)
In-Reply-To: <1331004633-11862-1-git-send-email-seth.forshee@canonical.com>

From: Azael Avalos <coproscefalo@gmail.com>

These scancodes are used by many of the models now supported with
the addition of TOS1900 device support.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 drivers/platform/x86/toshiba_acpi.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index f49330a..621b207 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -152,6 +152,8 @@ static const struct key_entry toshiba_acpi_keymap[] __devinitconst = {
 	{ KE_KEY, 0x101, { KEY_MUTE } },
 	{ KE_KEY, 0x102, { KEY_ZOOMOUT } },
 	{ KE_KEY, 0x103, { KEY_ZOOMIN } },
+	{ KE_KEY, 0x12c, { KEY_KBDILLUMTOGGLE } },
+	{ KE_KEY, 0x139, { KEY_ZOOMRESET } },
 	{ KE_KEY, 0x13b, { KEY_COFFEE } },
 	{ KE_KEY, 0x13c, { KEY_BATTERY } },
 	{ KE_KEY, 0x13d, { KEY_SLEEP } },
@@ -160,7 +162,7 @@ static const struct key_entry toshiba_acpi_keymap[] __devinitconst = {
 	{ KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } },
 	{ KE_KEY, 0x141, { KEY_BRIGHTNESSUP } },
 	{ KE_KEY, 0x142, { KEY_WLAN } },
-	{ KE_KEY, 0x143, { KEY_PROG1 } },
+	{ KE_KEY, 0x143, { KEY_TOUCHPAD_TOGGLE } },
 	{ KE_KEY, 0x17f, { KEY_FN } },
 	{ KE_KEY, 0xb05, { KEY_PROG2 } },
 	{ KE_KEY, 0xb06, { KEY_WWW } },
@@ -170,6 +172,7 @@ static const struct key_entry toshiba_acpi_keymap[] __devinitconst = {
 	{ KE_KEY, 0xb32, { KEY_NEXTSONG } },
 	{ KE_KEY, 0xb33, { KEY_PLAYPAUSE } },
 	{ KE_KEY, 0xb5a, { KEY_MEDIA } },
+	{ KE_IGNORE, 0x1430, { KEY_RESERVED } },
 	{ KE_END, 0 },
 };
 
-- 
1.7.9


  parent reply	other threads:[~2012-03-06  3:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 19:44 [PATCH v3 0/4] toshiba_acpi: Expanded hotkey support Seth Forshee
2012-01-18 19:44 ` [PATCH v3 1/4] ACPI: EC: Add ec_get_handle() Seth Forshee
2012-01-18 19:44 ` [PATCH v3 2/4] toshiba_acpi: Support alternate hotkey interfaces Seth Forshee
2012-01-18 19:44 ` [PATCH v3 3/4] toshiba_acpi: Support additional hotkey scancodes Seth Forshee
2012-01-18 19:44 ` [PATCH v3 4/4] toshiba_acpi: Refuse to load on machines with buggy INFO implementations Seth Forshee
2012-02-06 15:06 ` [PATCH v3 0/4] toshiba_acpi: Expanded hotkey support Seth Forshee
2012-02-06 15:15   ` Matthew Garrett
2012-02-10 16:56     ` Seth Forshee
2012-02-22 21:43       ` Seth Forshee
2012-03-05 22:04     ` Seth Forshee
2012-03-05 23:01       ` Randy Dunlap
2012-03-05 23:34         ` Seth Forshee
2012-03-06  0:55           ` Randy Dunlap
2012-03-06  3:20             ` Seth Forshee
2012-03-06  3:30       ` [PATCH v4 0/3] " Seth Forshee
2012-03-06  3:30         ` [PATCH v4 1/3] toshiba_acpi: Support alternate hotkey interfaces Seth Forshee
2012-03-06  3:30         ` Seth Forshee [this message]
2012-03-06  3:30         ` [PATCH 3/3] toshiba_acpi: Refuse to load on machines with buggy INFO implementations Seth Forshee
2012-03-09 18:06         ` [PATCH v4 0/3] Expanded hotkey support Seth Forshee
2012-03-12 14:06         ` Matthew Garrett
2012-03-15 15:51           ` Seth Forshee
2012-03-15 16:10             ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331004633-11862-3-git-send-email-seth.forshee@canonical.com \
    --to=seth.forshee@canonical.com \
    --cc=coproscefalo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=trenn@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).