The patch in http://comments.gmane.org/gmane.linux.kernel/2058487 is not
in upstream yet, and it ignores HKEY event 0x60c0, but userspace will
not know it occurs.

It is not clear what is preferred for your needs, but it is possible to
translate this HKEY event to a pre-defined scancode as below (kernel:
include/uapi/linux/input-event-codes.h). That's how thinkpad-acpi does
for many other events.

#define KEY_ROTATE_DISPLAY      153     /* Display orientation for e.g.
tablets */

I do not have a thinkpad with me, and I will modify thinkpad-acpi.c for
you to test.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1644670

Title:
  cannot use tablet mode lid sensor on yoga 460

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644047 for
  machine logs.

  
  I see a message like this in syslog when I put this laptop into tablet mode 
(lid all the way backwards) from 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795214

  [80192.862047] thinkpad_acpi: unknown possible thermal alarm or keyboard 
event received
  [80192.862053] thinkpad_acpi: unhandled HKEY event 0x60c0
  [80192.862055] thinkpad_acpi: please report the conditions when this event 
happened to ibm-acpi-de...@lists.sourceforge.net
  [80194.976875] thinkpad_acpi: unknown possible thermal alarm or keyboard 
event received
  [80194.976885] thinkpad_acpi: unhandled HKEY event 0x60c0
  [80194.976889] thinkpad_acpi: please report the conditions when this event 
happened to ibm-acpi-de...@lists.sourceforge.net

  Happens on current kernel in 16.10, and also 4.9 as per the previous
  stated launchpad bug.

  
  possible solution ?:
  http://comments.gmane.org/gmane.linux.kernel/2058487

  
  We need this to be handled by whatever input dev node so unity8 can react to 
when the lid it is put into tablet mode.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644670/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to