I have a ThinkPad Yoga 11e, which is a convertible notebook/tablet device. Prior to a recent kernel update, it worked just fine as a plain laptop, and there was no support for the tablet fcuntionality.

After upgrading to 4.13.5-200, the laptop is no longer usable.

- There appears to be support for setting the screen orientation based on the accelerometer.  Unfortunately, the orientation is 90° out of sync.

- The device is stuck in "tablet" mode, which means that the keyboard and mouse are disabled.  The touch screen works and I can get an on-screen keyboard, but I'd like to use the actual keyboard.

It looks like the screen orientation issue can be solved by a simple patch to the udev hwdb [1].  However, I'm less certain why the device thinks it's in tablet mode.  In the kernel logs, I see:

  [    8.875546] thinkpad_acpi: Tablet mode switch found (type: MHKG), currently in laptop mode

...which is exactly what I saw in previous kernels (and in any case would not seem to be the source of getting stuck in tablet mode).

While it would be super awesome to have the laptop/tablet conversion working, I would prefer "just act like a laptop" over "just act like a tablet". Where should I be looking for clues?


[1] https://github.com/systemd/systemd/pull/7174

--
Lars Kellogg-Stedman <lars@redhat.com>