X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH 0/2] Support for T470s hotkeys
@ 2017-02-25 18:20 Christian Kellner
  2017-02-25 18:20 ` [PATCH 1/2] platform/x86: thinkpad_acpi: guard generic hotkey case Christian Kellner
  2017-02-25 18:20 ` [PATCH 2/2] platform/x86: thinkpad_acpi: add mapping for new hotkeys on T470 Christian Kellner
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Kellner @ 2017-02-25 18:20 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh, Darren Hart, Andy Shevchenko,
	ibm-acpi-devel, platform-driver-x86
  Cc: Christian Kellner

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-26 18:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25 18:20 [PATCH 0/2] Support for T470s hotkeys Christian Kellner
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

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