X86 platform drivers
 help / color / mirror / Atom feed
From: Christian Kellner <ckellner@redhat.com>
To: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	Darren Hart <dvhart@infradead.org>,
	Andy Shevchenko <andy@infradead.org>,
	ibm-acpi-devel@lists.sourceforge.net,
	platform-driver-x86@vger.kernel.org
Cc: Christian Kellner <ckellner@redhat.com>
Subject: [PATCH 0/2] Support for T470s hotkeys
Date: Sat, 25 Feb 2017 19:20:28 +0100	[thread overview]
Message-ID: <20170225182030.19232-1-ckellner@redhat.com> (raw)

Hi!

On the new Levnovo T470s there are 4 hotkeys that emit currently
unsupported hkey event (0x1311 .. 0x1315). According to the manual
they are 'lanuch user selected fav. application' (0x1311), the
'snipping tool' (0x1312), 'enable/disable bluetooth' (0x1314) and
launch the keyboard settings dialog (0x1315). I tried to map them
to the corresponding input event codes, although I have to say
I am not 100% sure about the user selected fav app (KEY_FAVORITES).

Hans already did a round of review of it (thanks very much!),
comments are of course welcome!

Cheers,
Ck

Christian Kellner (2):
  platform/x86: thinkpad_acpi: guard generic hotkey case
  platform/x86: thinkpad_acpi: add mapping for new hotkeys on T470

 drivers/platform/x86/thinkpad_acpi.c | 97 ++++++++++++++++++++++++++++++------
 1 file changed, 82 insertions(+), 15 deletions(-)

-- 
Dr. Christian J. Kellner
Desktop Hardware Enablement
Red Hat

             reply	other threads:[~2017-02-25 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-25 18:20 Christian Kellner [this message]
2017-02-25 18:20 ` [PATCH 1/2] platform/x86: thinkpad_acpi: guard generic hotkey case Christian Kellner
     [not found]   ` <20170225182030.19232-2-ckellner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-02-26 18:44     ` Henrique de Moraes Holschuh
2017-02-25 18:20 ` [PATCH 2/2] platform/x86: thinkpad_acpi: add mapping for new hotkeys on T470 Christian Kellner
2017-02-26 18:48   ` Henrique de Moraes Holschuh

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=20170225182030.19232-1-ckellner@redhat.com \
    --to=ckellner@redhat.com \
    --cc=andy@infradead.org \
    --cc=dvhart@infradead.org \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=ibm-acpi@hmh.eng.br \
    --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