linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org,
	linux-hotplug@vger.kernel.org, "Matthew Garrett" <mjg@redhat.com>,
	linux-kernel@vger.kernel.org, "Pali Rohár" <pali.rohar@gmail.com>
Subject: [PATCH 0/2] dell-wmi: Add support for Fn key combinations
Date: Sat, 17 May 2014 16:43:35 +0200	[thread overview]
Message-ID: <1400337817-14473-1-git-send-email-pali.rohar@gmail.com> (raw)
In-Reply-To: <201405171639.45722@pali>

This patch series add support for Fn key combinations to dell-wmi driver.
I tested this patch series on laptop Dell Latitude E6440.

Here is Bios DMI table which contains scancode to keycode mapping:

Handle 0xB200, DMI type 178, 80 bytes
OEM-specific Type
        Header and Data:
                B2 50 00 B2 07 01 0C 00 08 01 0A 00 09 01 0B 00
                0A 01 12 00 3B 00 20 00 42 00 18 00 48 00 14 00
                50 00 13 00 10 00 FF 00 11 00 FF 00 12 00 FF 00
                13 00 FF 00 14 00 FF 00 1E 00 FF 00 1F 00 FF 00
                20 00 FF 00 21 00 FF 00 22 00 FF 00 4D 00 16 00
        Strings:

As you can see, more different keys are mapped to one keycode 0xFF.

Pali Rohár (2):
  Input: Add keycodes for some missing Fn key combinations
  dell-wmi: Add support for Fn key combinations

 drivers/platform/x86/dell-wmi.c |   27 ++++++++++++++++++++++++++-
 include/uapi/linux/input.h      |    6 ++++++
 2 files changed, 32 insertions(+), 1 deletion(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

       reply	other threads:[~2014-05-17 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201405171639.45722@pali>
2014-05-17 14:43 ` Pali Rohár [this message]
2014-05-17 14:43   ` [PATCH 1/2] Input: Add keycodes for some missing Fn key combinations Pali Rohár
2014-05-17 20:30     ` Dmitry Torokhov
2014-05-17 20:38       ` Pali Rohár
2014-05-17 21:32         ` Dmitry Torokhov
2014-05-17 14:43   ` [PATCH 2/2] dell-wmi: Add support for " Pali Rohár

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=1400337817-14473-1-git-send-email-pali.rohar@gmail.com \
    --to=pali.rohar@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /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 NNTP newsgroup(s).